News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Jeremy Zawodny's Blog:
Database Abstraction Layers Must Die!
July 10, 2009 @ 12:03:44

Jeremy Zawodny has shared his opinion on database abstraction layers in PHP applications - they need to die.

Beware of men preaching of false hope. Take, for example, the way some folks feel like they need a database abstraction layer in their applications. [...] So why do folks do it? Because PHP is also a programming language and they feel the need to "dumb it down" or insulate themselves (or others) from the "complexity" of PHP.

He goes on to say that, despite the claims that people make about portability ("it's never that easy") and ease of use, the only real answer is to strip out this layer and use good programming practices to take the database access code out into a separate library that can be replaced quickly and easily.

0 comments voice your opinion now!
bad layer abstraction database opinion


blog comments powered by Disqus

Similar Posts

Knut Urdalen's Blog: ORM the manual way

StackOverflow.com: What PHP framework would you choose for a new application and why?

Artur Ejsmont's Blog: How to structure a Zend Framework application and it's dependencies

Maarten Balliauw's Blog: PHPLinq 0.4.0 released on CodePlex!

DevShed: The Active Record Pattern, Concluded


Community Events











Don't see your event here?
Let us know!


hack database install composer podcast hhvm project security symfony2 language release framework unittest package performance introduction example application component facebook

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework