Agile Web Development for Managers

Monday, June 14, 2004

Propel - PHP5 O/R mapping tool

On weekend I've tried Propel - new Object Persistence tool for PHP5. It is a port of Apache Torque project - object persistence for Java. You know, I really liked Propel. It has very good documentation (clear and explanatory) so I've manage to get it work without major problems.

The tool itself can generate PHP classes, and it saves time. Database schema describes in XML config, the format is simple and easy to learn. Propel supports MySQL, Oracle, PostgreSQL, MSSQL and new SQLite. O/R features just usual, but inheritance support not the best on my point of view (all objects store in a single database table). But overall impression is very good.