Archive for the ‘controller’ tag
Analysis Model – Interface, Entity and Controller
This 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.















