Gears v2.0

A PHP class that loads template files, binds variables to a single file or globally without the need for custom placeholders/variables, allows for parent-child hierarchy and parses the template structure.

Recent Thoughts

Databasic 2.1, now with more operator support!

Thursday, July 30th 2009, 5:12pm
Topics: Scripts, PHP & MySQL
Tags: Databasic, Database, Handler, Script, Resource
Views: 552, Comments: 0

I got pretty bored the other day and also noticed this contest over at NetTuts, and thought to myself, "Why not enter Databasic into the contest?". Well that is my plan, but I also wanted to fix some problems and restraints in the current version. The new version supports AND/OR operators in the conditions, as well the column operators (!=, <=, etc) have been rebuilt. With this change the new version is not backwards compatible! Sorry, but it shouldn't be too hard to fix your scripts to work correctly.

Here's a quick example of the new operator support in conditions. The documentation has also been updated to reflect the new version.

$conditions = array(
    'OR' => array(
        array('name' => 'Miles'),
        array('name' => 'Johnson')
    ),
    'status' => 'active',
    'age >=' => 21
);


Download the new 2.1!
View the full change log and features
Related Entries:

No Comments

10 / 2 = ?
Allowed: [code] [b] [i] [u]