login/register

Snip!t from collection of Alan Dix

see all channels for Alan Dix

Snip
summary

Presentation Model
The purpose of MVC is to separate UI from domain logic. ...
Some examples include scrollbar positions and column sor ...
This is sometimes called an Application Model and the pa ...

Model View Controller [Web Application Component Toolkit]
http://www.phpwact.org/pattern/model_view_controller

Categories

/Channels/HCI stuff

[ go to category ]

For Snip

loading snip actions ...

For Page

loading url actions ...

Presentation Model

The purpose of MVC is to separate UI from domain logic. In doing so, an MVC implementation typically develops a set of reusable classes for each of the concerns in the triad. Sometimes, data or behavior that firmly belongs on the user interface side of the division can conveniently be represented using the infrastructure of the model side of the division. Thus objects that would appear at first glance to be in the model are really part of the interface concern, that is the view and controller.

Some examples include scrollbar positions and column sorting.

This is sometimes called an Application Model and the pattern known as MMVC after the idea that there are two separate models.

HTML

<h3><a name="presentation_model" id="presentation_model">Presentation Model</a></h3> <div class="level3"> <p> The purpose of <span class="search_hit">MVC</span> is to separate UI from domain logic. In doing so, an <span class="search_hit">MVC</span> implementation typically develops a set of reusable classes for each of the concerns in the triad. Sometimes, data or behavior that firmly belongs on the user interface side of the division can conveniently be represented using the infrastructure of the model side of the division. Thus objects that would appear at first glance to be in the model are really part of the interface concern, that is the view and controller. </p> <p> Some examples include scrollbar positions and column sorting. </p> <p> This is sometimes called an Application Model and the pattern known as M<span class="search_hit">MVC</span> after the idea that there are two separate models. </p> </div> <h2><a name="view" id="view"></a></h2>