Re: [PHP] Recommended ORM for PHP

2008-02-07 Thread Greg Donald
On 2/6/08, Nathan Nobbe [EMAIL PROTECTED] wrote: ruby on rails as one of these obfusticators of fowlers original pattern; I don't see how code generation could ever be worse (slower) than runtime analysis. Sure you have to hit the database once to know what the fields are, but after that your

[PHP] Recommended ORM for PHP

2008-02-06 Thread js
Hi list, When creating a LAMP app, I always start by writing ORM myself. It's fun but it usually takes a long time. Besides, that always results in a toy-system, I mean, that has not so many features, not so efficient non-bug-free. I started to think that now is the time to throw away my

Re: [PHP] Recommended ORM for PHP

2008-02-06 Thread Zoltán Németh
2008. 02. 6, szerda keltezéssel 22.10-kor js ezt írta: Hi list, When creating a LAMP app, I always start by writing ORM myself. It's fun but it usually takes a long time. Besides, that always results in a toy-system, I mean, that has not so many features, not so efficient non-bug-free.

RE: [PHP] Recommended ORM for PHP

2008-02-06 Thread Edward Kay
When creating a LAMP app, I always start by writing ORM myself. It's fun but it usually takes a long time. Besides, that always results in a toy-system, I mean, that has not so many features, not so efficient non-bug-free. I started to think that now is the time to throw away my rubbish

Re: [PHP] Recommended ORM for PHP

2008-02-06 Thread Greg Donald
On 2/6/08, Edward Kay [EMAIL PROTECTED] wrote: It uses code generation to create your ORM for you direct from the DB tables. As it's code generation as opposed to run time analysis (which is what ActiveRecord and the like use), there is no performance hit - it ActiveRecord caches the fields

Re: [PHP] Recommended ORM for PHP

2008-02-06 Thread Larry Garfield
On Wednesday 06 February 2008, Edward Kay wrote: Have a look at Qcodo. http://www.qcodo.com. It uses code generation to create your ORM for you direct from the DB tables. As it's code generation as opposed to run time analysis (which is what ActiveRecord and the like use), there is no

Re: [PHP] Recommended ORM for PHP

2008-02-06 Thread Nathan Nobbe
On Feb 6, 2008 10:59 PM, Larry Garfield [EMAIL PROTECTED] wrote: On Wednesday 06 February 2008, Edward Kay wrote: Have a look at Qcodo. http://www.qcodo.com. It uses code generation to create your ORM for you direct from the DB tables. As it's code generation as opposed to run time

Re: [PHP] Recommended ORM for PHP

2008-02-06 Thread Manuel Lemos
Hello, on 02/07/2008 02:18 AM Nathan Nobbe said the following: well i think its worth a mention that qcodo has an article that distinguishes 'ActiveRecord classes' from the 'ActiveRecord pattern'. http://www.qcodo.com/documentation/article.php/6 what it mainly says is that code generation