Time to go back to using Doctrine then :( bye bye nice models.....

Do you think it would be a good idea to update the Quickstart guide
now to not use the Data Mapper pattern and use doctrine instead?


I would strongly disagree with that move. I think ZF has always offered 2 solid solutions to modeling: use our Data classes (Table Row, etc) to build out a proper model, OR use a 3rd Party ORM framework- like Doctrine.

At ZendCon, i've heard more than one person say "This is the way modeling should be done" after seeing matthew's talk on

http://www.slideshare.net/weierophinney/architecting-your-models

If a project doesn't have the resources to model their data like that, or they need to leverage the Doctrine ecosystem to get a project done in time. But in the most ideal world (where resources are not an issue), I too think that this presentation shows how things should be done.

That said, I think the quickstart should show both options, but focus on the Data Mapper, Service Layer stuff.

-ralph

Reply via email to