Hi James,

 

You surprised me with your answer, I was expecting all out abuse for the
simplicity of the class but I really feel that with all the “heavy”
frameworks that are being used for everything from a basic holding page with
a “subscribe” form field to a full enterprise level application, that in
most cases the level of abstraction being used is needless and results in a
performance decrease and also to some extent results in the dumbing down of
newer developers only using a particular framework.

What ever happened to writhing things to “scratch and itch” or using the
“horses for courses” mentality?

 

Robin

 

  _____  

From: [email protected] [mailto:[email protected]] On Behalf
Of James McGlinn
Sent: 21 May 2009 09:31
To: [email protected]
Subject: [phpug] Re: query abstraction

 

Hi Robin,

 



I have been looking at different database abstraction layers such as propel
or pearDB

 

Propel is an Object-Relational Mapper (ORM) rather than a database
abstraction layer - it uses Creole for database abstraction.

 

PDO itself provides data access abstraction so if that's all you're after
then no, you don't really need anything more.  If you wanted database
abstraction (rewriting SQL or emulating things like autoincrement fields)
you would need more than you've got - that's when PearDB and Creole are
useful.

 


Kind regards,
James McGlinn
__________________________________
CTO
Eventfinder Limited
Suite 106, Heards Building
2 Ruskin Street, Parnell, Auckland 1052
Phone: +649 365 2342
Mobile: +6421 633 234

[email protected]  |  www.eventfinder.co.nz







--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to