Re: new keyword combined with other things...
| From: | Nathan Nobbe | Date: | Wed, 08 Dec 2010 19:29:32 +0000 |
| Subject: | Re: new keyword combined with other things... | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-309915@lists.php.net to get a copy of this message | ||
On Wed, Dec 8, 2010 at 12:26 PM, Tommy Pham <tommyhp2@gmail.com> wrote:
> > -----Original Message-----
> > From: David Harkness [mailto:david.h@highgearmedia.com]
> > Sent: Wednesday, December 08, 2010 10:46 AM
> > To: Paul M Foster
> > Cc: php-general@lists.php.net
> > Subject: Re: [PHP] new keyword combined with other things...
> >
> > On Wed, Dec 8, 2010 at 9:31 AM, Paul M Foster
> > <paulf@quillandmouse.com>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