PHP Classes
PHP Classes
elePHPant
Icontem

Introduction to The PureMVC PHP Framework - Pure MVC PHP Standard Framework package blog

Recommend this page to a friend!
  All package blogs All package blogs   Pure MVC PHP Standard Framework Pure MVC PHP Standard Framework   Blog Pure MVC PHP Standard Framework package blog   RSS 1.0 feed RSS 2.0 feed   Blog Introduction to The P...  
  Post a comment Post a comment   See comments See comments (1)   Trackbacks (0)  

Author:

Updated on: 2019-11-21

Posted on:

Package: Pure MVC PHP Standard Framework

The PureMVC framework, created by Cliff Hall, has a very narrow goal. That is to help you separate your application’s coding concerns into three discrete tiers: Model, View and Controller.

Read this is a brief article to learn about some of the most important benefits for developers that will use the framework.


 



Introduction

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

Login Immediately with your account on:

FacebookGmail
HotmailStackOverflow
GitHubYahoo


Comments:

1. would like to be a open source contributor - Shuvadeep Chakraborty (2019-11-21 06:57)
would like to be a open source contributor... - 0 replies
Read the whole comment and replies




  Post a comment Post a comment   See comments See comments (1)   Trackbacks (0)  
  All package blogs All package blogs   Pure MVC PHP Standard Framework Pure MVC PHP Standard Framework   Blog Pure MVC PHP Standard Framework package blog   RSS 1.0 feed RSS 2.0 feed   Blog Introduction to The P...