ZenArchitect.NL (Henk van Dijken)

the art of model-driven code generation

Archive for the ‘controller’ tag

Analysis Model – Interface, Entity and Controller

without comments

imageThis is my favorite model pattern for designing an application architecture, probably that will be no surprise to you.

In my view Entity represents the data model.

It doesn’t matter if you are talking about business entities or database tables. Both are representations of the data model.

There is some debate on the nature of Entities, should they be active or passive. An active Entity has its own operations, an passive Entity lacks them. This is where the Controller comes in. A Controller is fully equipped with operations necessary for handling of Entities.

An Interface can be an user interface, service interface or a view.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Written by Henk van Dijken

November 29th, 2009 at 3:28 pm

Posted in Design Patterns

Tagged with , ,