Quote from: wendy at Dec 21, 2005, 08:03 PM
Anyway, to help directing this conversation to the right direction, I just found a better way to help lazy programmer such as me to built something from scratch...
Do you guys know about POG?
http://www.phpobjectgenerator.com
That’s the link, it is able to generate a class to build object for your data on your DB. All you need is generate the code, change the code being generated to include certain functions that you want, and start using it.
Hope that helps.
Ehmm.. if someone know a better solution, the discussion is still open.
Hmmm, actually Wendy, I am working on a top-secret project that includes a complete database-abstraction and object-relational framework. It’s an experiment, but I have already completed a proof of concept integration and am working on refining and cleaning up the core, redefining the API, and moving all legacy functionality to an optional legacy API file that can be loaded only when needed. It is using technology similar to POG, but based on the Apache Turbine project (a J2EE object-generation framework), called Propel (see
http://propel.phpdb.org/ for more information) to generate PHP 5 (or even PHP 4 with a separate runtime) classes and DB-platform optimized SQL directly from an XML schema definition. And I have eyes on creating a run-time version of the class/SQL-generators so you can define, generate, and test your own classes/tables directly from the MODx manager.
If you have any thoughts, input, or questions regarding what this integration project is all about, please don’t hesitate to ask. Guess I kind of let the cat out of the bag with this one, but I wanted to let everyone in on what I’ve been doing the last two weeks.