 |
Zend Framework, What Database Abstraction Layer? |
May 7, 2008
Today while reading what little traffic arrives to the Zend Framework list, some poor user posted this:
I’ve just gotten access to a clients NetworkSolutions hosting account and
tried uploading an application to it only to find out that despite having
php 5.2.4 it doesn’t have pdo_mysql or mysqli extension installed. Is there
any hope of changing the adapter to something else without having to
rewrite all of my database code?
This post emphasizes the point I made previously about how Zend Framework doesn't have an actual "model" component. If it did then this poor guy's code wouldn't have ever been written to be MySQL specific. If he'd have used a good framework like Ruby on Rails, it's very likely he wouldn't have had to write any SQL at all. I almost never write SQL anymore since I started developing in Rails.
|