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

Seastian Bergmann's Blog: Object-Relational Behavioral Patterns

Juan Treminio: Unit Testing Tutorial Part V: Mock Methods and Overriding Constructors

PHPMaster.com: Extract Objects from an Access Database with PHP, Part 2

Devis Lucato's Blog: Select: Inversion of Control

Wojciech Sznapka's Blog: Accessing private object property from other object in PHP


Community Events

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


security extension series introduction unittest interview opinion language podcast community symfony laravel voicesoftheelephpant laravel5 version api threedevsandamaybe library release framework

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