Department of Computer and Information Science

 

Computer Science Seminar Series

Building a PHP Framework Using the Model-View-Controller (MVC) Paradigm


3:00 p.m. Wednesday, January 28, 2009

Weir Hall, Room 235

Michael Macias
Undergraduate Student
Computer and Information Science
University of Mississippi


Abstract:

PHP is a popular open source scripting language typically used in Web development. It is considered to be an easy-to-learn, loosely typed language, but with the debut of the Zend Engine 2 in PHP 5, PHP has become a robust and extensible server-side scripting language.

The model-view-controller (MVC) paradigm is a design pattern that helps separate logic from presentation. This pattern is useful by providing a way to easily modify one part of an application without affecting the other parts.

This presentation will illustrate how to create a PHP framework using the MVC paradigm. Other patterns that will be included are the registry, front controller, application controller, and data mapper. Although the demonstration will be done using PHP 5, class diagrams illustrating their inheritance and implementation will be given using the Unified Modeling Language (UML), and therefore, extensive knowledge of PHP 5 or its object model is not required.


[ Home | Site Map ]