News Feed
Sections




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

Tibo Beijen's Blog:
Controlled initialization of domain objects
July 09, 2009 @ 10:06:02

Tibo Beijen takes a look at domain objects in this new post to his blog and how they have them working in a project he's been developing.

In a recent project I've been working on, we have used the 'Domain Model' to describe and design our application. Doing so we decouple persistency logic from the objects that are being passed around and modified throughout our application: The Domain objects.

He talks about challenges associated with the development (issues separating out the business logic) and how they solved it in two ways - reflection and a pattern where the domain object uses itself. Code is also included to help illustrate the problem and these two methods of resolving it.

0 comments voice your opinion now!
businesslogic control initialize object domain


blog comments powered by Disqus

Similar Posts

DevShed: Retrieving Information on Several Objects with Destructors in PHP 5

Giorgio Sironi's Blog: Lazy loading of objects from database

Zend Developer Zone: ZendCon 2010 Podcast - A New Approach to Object Persistence in PHP

Kevin Schroeder's Blog: ZF2 Dependency Injection: Managing Configuration - Part 2

Federico Cargnelutti's Blog: Testing Zend Framework Action Controllers With Mocks


Community Events





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


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

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