News Feed
Sections




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

Nurul Ferdous' Blog:
Here is my 2 cents on Doctrine (ORM)
October 04, 2010 @ 11:20:31

Nurul Ferdous has posted his "two cents" on Doctrine - his thoughts on the good and bad things about the popular ORM tool.

What is Doctrine? Doctrine is a popular ORM for PHP which works with RDBMS via PHP objects. This is built inspired by Hibernate from JAVA. This acts as an abstraction layer between PHP and RDBMS.

In his list of good things about Doctrine are things like its hiding of business logic, automatic CRUD, automatic modification of DQL queries, migrations and unit testing interfaces. On his "bad list" are things like not being able to use foreign keys as an identifier, heavy emphasis on an "id" column, not all data types are in DBAL and the SQL constructs missing in DQL. He also includes a scenario where he definitely not use Doctrine - a specific example from a project he just worked on that pushed the limits of the tool.

0 comments voice your opinion now!
doctrine opinion good bad example project


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: Data Migration and Import Examples

Maarten Balliauw's Blog: Reuse Excel business logic with PHPExcel

PEAR Blog: PEAR2 standards, we would like to know what you think

PseudoCoder.com: How To Really Use Xdebug To Speed Up Your App

Paul Jones: How Is Aura Better Than (er, Different From ;-) Than Symfony and Zend?


Community Events





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


api opinion series introduction podcast voicesoftheelephpant deployment laravel tips library language install list package symfony framework interview community release bugfix

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