News for hackers. Stuff that matters.
Re:The Last PHP PDO Library You Will Ever Need by lux on Friday November 04, 2011 @11:27AM (#3196385)
I'm a fan of a hybrid approach (a few wrapper functions around PDO itself that just abstract the repetitive stuff in PDO but not the SQL, very similar to the post), and very thin ORM too.

I like a basic Model class with a few helpers that I can extend to keep my logic separated from my controllers, but that's about it. Inside any given Model method, SQL is fair game.

There are no comments on this comment yet.