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

Stefan Mischook's Blog: Building Objects Video (Parts 1, 2 & 3)

Jani Hartikainen's Blog: Decoupling models from the database: Data Access Object pattern in PHP

Ken Guest's Blog: Book Review: Object-Oriented Programming with PHP5

Gregory Szorc's Blog: So Many Untapped PHP Features

Manfred Weber's Blog: Sharing complex objects between PHP and Flash - Part II


Community Events

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


release example unittest language extension community framework opinion interview wordpress series laravel5 api podcast introduction voicesoftheelephpant version laravel php7 library

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