Doctrine is probably the closest I have seen to a Rails-like Active Record system.
You can check it out at www.phpdoctrine.com. The documentation needs a bit of work, but it is still a great system On 9/20/06, Chris Hartjes <[EMAIL PROTECTED]> wrote:
On 9/19/06, Peter Hodge <[EMAIL PROTECTED]> wrote: > Does anyone know of a language which has an effective ORM implementation? So > far as I have read, most people consider an ORM to be 'just too difficult' to > make and use. Well, Ruby on Rails has one called ActiveRecord that works quite well. CakePHP has an ORM-based database wrapper as well. Besides, an ORM database implementation isn't tied to a particular language and no language *I* know of has built-in ORM for databases. Heck, you can build one for yourself if you have a copy of Jason Sweat's book on design patterns for PHP. They provide an example and everything. ;) I haven't seen an implementation as good as ActiveRecord in Ruby on Rails though in any other language. -- Chris Hartjes "The greatest inefficiencies come from solving problems you will never have." -- Rasmus Lerdorf @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard
