News Feed
Sections




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

Jim Plush's Blog:
Followup on rethinking Zend Models with DDD - Framework code included
July 17, 2009 @ 10:50:57

Following up on a previous post of his concerning a bit of different thinking around models in Zend Framework applications, Jim Plush is back with this new post about some decisions he's made.

As a follow up to my previous post I'm going to post some live examples of model layer with Zend framework based on Domain Driven Design concepts. I've spent the past few days studying up on domain driven design as well as a lot of Martin Fowler's work in relation to domain modeling and I think I have at least some code to start with that could get some conversations rolling.

Because of the lack of a standardized model layer in the Zend Framework, multiple methods for creating and using them are possible. Jim has created some examples with the Domain pattern to make a basic User class. His example shows how to create a User instance and run several methods on it (like getNickname, setNickname) and how you could pass it into an example web service as a complete object.

0 comments voice your opinion now!
pattern design domain model zendframework


blog comments powered by Disqus

Similar Posts

ProDevTips.com: Writing a CMS/Community with Smarty and the Zend Framework: Part 9

Guilherme Blanco's Blog: register_superglobal("¯name"¯);

Dagfinn Reiersol's Blog: Fake it and raise your IQ

Dave Marshall's Blog: Traits in PHP 5.4 - HelloWorld with Logging Trait

Padraic Brady's Blog: A Domain Specific Language for Behaviour Driven Development (BDD) in PHP


Community Events





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


series laravel interview voicesoftheelephpant opinion tool symfony library community podcast list security release artisanfiles framework introduction language conference composer version

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