On Wed, Dec 8, 2010 at 12:26 PM, Tommy Pham <tommyhp2@xxxxxxxxx> wrote: > > -----Original Message----- > > From: David Harkness [mailto:david.h@xxxxxxxxxxxxxxxxx] > > Sent: Wednesday, December 08, 2010 10:46 AM > > To: Paul M Foster > > Cc: php-general@xxxxxxxxxxxxx > > Subject: Re: new keyword combined with other things... > > > > On Wed, Dec 8, 2010 at 9:31 AM, Paul M Foster > > <paulf@xxxxxxxxxxxxxxxxx>wrote: > > > > > I agree. My advice for SQL is always to learn SQL rather than use a > > > bunch of active record functionality. But I'm sure people think I'm > > > just a curmudgeonly old turd. ;-} > > > > > > > Yes, absolutely learn SQL so you understand what's happening under the > > covers, AND then use a framework to abstract much of it away. I cannot > > speak to ActiveRecord, but ORM frameworks like Hibernate in the Java > > world save countless man-hours of work every day, time that can be spent > > on making better applications. > > > > Last time I checked, there isn't an equivalent of Hibernate for PHP. :) pretty sure doctrine is as close as it gets w/ its DQL -nathan