Zend Framework :: ORM - doctrine / propel over Zend_Db_Table?

It depends on how you have designed your application With the exception of ActiveRecord, ZF provides implementations for three of the four Data Source Architectural patterns in PoEAA If your model objects map very closely to your database structure, then the ZF components might be sufficient for your app If your objects are mapped to/aggregated from multiple tables, a custom DataMapper on top of the ZF DB classes or a full fledged ORM, like Doctine or Propel might be better suited. Only you can decide this.

It depends on how you have designed your application. With the exception of ActiveRecord, ZF provides implementations for three of the four Data Source Architectural patterns in PoEAA. If your model objects map very closely to your database structure, then the ZF components might be sufficient for your app.

If your objects are mapped to/aggregated from multiple tables, a custom DataMapper on top of the ZF DB classes or a full fledged ORM, like Doctine or Propel might be better suited. Only you can decide this.

Thanks Guys for sharing your knowledge & views -DevD – user274383 Mar 25 '10 at 7:08.

A full fledged ORM might also provide some extra functionality that is useful for you. Some might like DQL as used in Doctrine, others maybe would like to avoid writing queries by hand to retrieve objects, and might prefer fluent interfaces like the ModelCriteria Query API in the upcoming Propel 1.5. So basically, it all depends on your own needs, there's no single "best solution" that fits all projects.

I agree. Personally, I want the concrete getter & setter methods that Propel provides. Doctrine's 'virtual' getter/setter methods simply don't suit my preferred style.

I guess that's what I get for working with Java guys for a while ;) – lo_fye May 25 '10 at 15:34.

I would recommend: Doctrine 2.0 - cross platform, ease of use, good performance, good documentation, support for namespaces, powerfull, maybe it will be a part of ZF 2.0 Doctrine 1.2 - cross, platform, ease of use, easy to implement, useful extensions (e. G NestedSet, Taggable, Commentable), good documentation, works with ZF autoloader, CLI tool, YAML, data fixtures.

Doctrine 2.0 is still in alpha stage – Gordon Mar 25 '10 at 7:42.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions