News Feed
Sections




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

Ralph Schindler's Blog:
Database Abstraction Layers Must Live!
July 15, 2009 @ 14:16:20

In response to this older post Ralph Schindler has posted some of his own thoughts on database abstraction layers - they must live!

Interestingly, I can put the vocal proponents of each side of the argument in one of two boxes: a programmer guy box, or a database guy box. For some unknown reason though, they never seem to see eye to eye. [...] Generally speaking of database driven projects, I feel like planning to use a specific vendor up front, knowing its pro's and con's, and tailoring an application to the chosen database's strengths can only help in the long run. Also, I feel that building a database model first before any code, offers many performance and scalability advantages than does code first development.

He notes that, while he agrees on the problems with the "switching databases at any time" problems the other author brings up, he points out that the abstraction layers do have their place. He includes an example of an abstraction layer with the Zend_Db object of the Zend Framework. His sample code shows how it can be used to simplify your interaction with your database.

0 comments voice your opinion now!
zendframework zenddb layer abstraction database


blog comments powered by Disqus

Similar Posts

Lee Davis' Blog: FormFactory - Driving Doctrine 1.2 / 2.x Mappings into Zend_Form objects

Karl Katzke's Blog: PHP: Symfony vs. Zend

Ulf Wendel's Blog: PHP mysqli quickstart is online!

Brian Swan's Blog: Book Review: Easy PHP Websites with the Zend Framework

Aura Blog: A Peek At Aura v2 -- Aura.Sql and ExtendedPdo


Community Events





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


zendserver threedevsandamaybe library podcast language series list deployment tips bugfix developer symfony interview laravel api opinion community framework introduction release

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