<< Back to Achill Online Internet Services - Homepage
Achill Online Internet Services - Developement Homepage
aoisMVC - Model View Controller
The aoisMVC is a simple to install and simple to use, Smarty and PEAR based Model View Controller with build in multi-lingual support
What is a Model View Controller?
Model View Controller (MVC) is an architectural pattern used in software engineering. Successful use of the pattern isolates business logic from user interface considerations, resulting in an application where it is easier to modify either the visual appearance of the application or the underlying business rules without affecting the other. In MVC, the Model represents the information (the data) of the application and the business rules used to manipulate the data, the View corresponds to elements of the user interface such as text, checkbox items, and so forth, and the Controller manages details involving the communication to the model of user actions such as keystrokes and mouse movements.
Model-view-controller. (2008, May 9). In Wikipedia, The Free Encyclopedia. Retrieved 14:41, May 10, 2008, from http://en.wikipedia.org/w/index.php?title=Model-view-controller&oldid=211247805
Features of the aoisMVC - Model View Controller
- fast building of complex web applications
- strict separation of design, business logic and data
- easily manage multi-language web sites
- already running on productive web sites and applications
- pretty good documentation (inline and as phpdocumentor docs)
Used Technologies for the aoisMVC - Model View Controller
- written in PHP Version 5+
- using PEAR, especially the PEAR:MDB2 and PEAR:Translation2 Classes
- best on Apache Webserver using the mod_rewrite extension
- able to manage many databases through the PEAR:MDB2 Class
See Websites driven by aoisMVC - Model View Controller
Download - Setup - Run! ... Shouldn't take you more than 5 minutes'
More information on the aoisMVC - Model View Controller
See the Documentation for the aoisMVC - Model View Controller
TODOs for the aoisMVC - Model View Controller
- At the moment, you need an action class for any group of pages
and a method for any page in one group of pages. TODO: add a standard
Action Class, that handles all group/page calls without a corresponfing
class/method
- At the moment, you need a template for any page. TODO: add a
standard template, to be defined in the config.inc.php such as e.g.
main.main.tpl (would correspond to a redirect to the mainpage if no
template is found)
- At the moment, the url always consists of /class/method, due to the
use of different languages and/or restrictions to the naming of classes,
these do not alway reflect the customers need. TODO: implement a language
dependant mapping for /pagegroup/page => /class/method
- TODO: Add a blank extension include to the Controller for personal
add-ons
- TODO: Find a way of activating or deactivating the use of mod_reweite,
just in case, even if it is not that pretty
- TOD0: Modify the use of language.conf files to give a better control
over static language strings
This Page is optimized for Search Engines and fast loading!
Ressources