Author: Michael Beck
Last month viewers: 11
Package: Pure MVC PHP Standard Framework
Read this is a brief article to learn about some of the most important benefits for developers that will use the framework.
The PureMVC provides an implementation of the classic MVC design meta-pattern.
The application tiers are represented by three Singletons. As you may know, a Singleton is a class where only one instance may be created.
A fourth Singleton, the Façade, simplifies development by providing a single interface for communications throughout the application.
The Model caches named references to Proxies, which expose an API for manipulating the Data Model, including data retrieved from remote services.
The View primarily caches named references to Mediators, which adapt and steward the View Components that make up the user interface.
The Controller maintains named mappings to Command classes, which are stateless, and only created when needed.
The Façade initializes and caches the Core actors (Model, View and Controller), and provides a single place to access all of their public methods.
You can view the conceptual diagram here. A more detailed overview of the framework is in this document, that goes into a bit more detail, using UML to show the class relationships and interface methods.
You need to be a registered user or login to post a comment
1,590,265 PHP developers registered to the PHP Classes site.
Be One of Us!
Login Immediately with your account on: