Opentopia Directory Encyclopedia Tools

Presentation-abstraction-control

Encyclopedia : P : PR : PRE : Presentation-abstraction-control


Presentation-abstraction-control (PAC) is a software design pattern, somewhat similar to model-view-controller (MVC). PAC is used as a hierarchical structure of agents, each consisting of a triad of presentation, abstraction and control parts. The agents (or triads) communicate with each other only through the control part of each triad. It also differs from MVC in that within each triad, it completely insulates the presentation (view in MVC) and the abstraction (model in MVC), this provides the option to separately multithread the model and view which can give the user experience of very short program start times, as the user interface (presentation) can be shown before the abstraction has fully initialized.

The structure of an application with PAC.

Hierarchical-Model-View-Controller (HMVC)

A subset or variation of PAC under the name Hierarchical-Model-View-Controller (HMVC) was published in an article in JavaWorld Magazine, the authors apparently unaware

of PAC which was published 13 years earlier. The main difference between HMVC and PAC is that HMVC is less strict in that it allows the view and model of each agent to communicate directly, thus bypassing the controller.

See also

, ,

  • PAC*

References

External links

Notes

 


From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.

Search Titles
0123456789
ABCDEFGHIJ
KLMNOPQRST
UVWXYZ?

E-mail this article to:

Personal Message: