Home
Mac's PHP MVC Framework is a open source MVC Framework with an in-built templating engine.
This is a completely new re-write of the entire framework, using some of the more powerful PHP 5 libraries and concepts like PDO, SimpleXML and Reflections. As a result the framework is not backwards compatible to PHP4.
This framework includes an AJAX edit in place content editing tool, you can login using the following info and test it out:
URL: http://macs-framework.sourceforge.net/index.php/main/admin/login
Username: admin
Password: password
-
Pure MVC Architecture
- Using this framework introduces a programmer to the power of developing with an MVC Approach
-
Flat File AJAX Edit In Place Tool / CMS
-
The Framework comes with a simple yet powerful Edit in Place CMS which allows admins to be able to change
not only the content of each page but also change page level and site level properties. The Edit In Place CMS also allows the admin's to create new child pages.
Every page automaticly gets the edit in place functionality, there is no configuration needed
-
The Framework comes with a simple yet powerful Edit in Place CMS which allows admins to be able to change
not only the content of each page but also change page level and site level properties. The Edit In Place CMS also allows the admin's to create new child pages.
-
An Advance, Intelegent and scalable Template Parser Engine
- The template parser was written from the ground up using pure PHP and no additional libraries.
-
Configurable XSS filtering
-
By default the framework filters the '_POST' and '_GET' keys of the $GLOBALS array, but this can be changed through the config.php file
NOTE: Obviously this has a significant performance hit but can easily be changed and turned off if needed through the following Config.php settings
public $enableAutoXSSFilter = true;
public $globalKeysToFilter = array('_POST', '_GET');
-
By default the framework filters the '_POST' and '_GET' keys of the $GLOBALS array, but this can be changed through the config.php file
-
Complete portibility of content
-
No configuration needed while transfering the file structure from 1 location
to another ( This includes moving from one domain to another or from one
folder location to another, this is achieved by an advance and accurate site
URL and site directory autodetection. )
Even when links are saved through the Edit In Place CMS they are automaticly converted into template variables.
-
No configuration needed while transfering the file structure from 1 location
to another ( This includes moving from one domain to another or from one
folder location to another, this is achieved by an advance and accurate site
URL and site directory autodetection. )
-
In built SEF ( Search Engine Friendly ) Capabilities
- Supports Per Page Meta Keywords, Descriptions and Page Titles.
-
By default all URL's are in the format: http://macs-framework.sourceforge.net/index.php/controller/function
and if you have .htaccess support then you can access the same URL as
http://macs-framework.sourceforge.net/controller/function -
Further more you can setup routing rules which allow you to have friendly
Keys instead of the 'controller/function' segment of the URL. you can do
this by opening the /Config.php file and adding a new associative entry
to the '$routingRules' variable i.e
public $routingRules = array('myKey' => 'controller/function');
doing so will allow you to access page: http://macs-framework.sourceforge.net/index.php/controller/function
using: http://macs-framework.sourceforge.net/index.php/myKey
-
The framework comes with an .htaccess file which allows you to get rid of the 'index.php' section of the URL i.e you can access a page using the following format:
http://macs-framework.sourceforge.net/index.php/controller/function ( without the 'index.php' )And if you add a routing rule like the point above, you can access the same page using: http://macs-framework.sourceforge.net/myKey