Recommended Links

Common For all pages

This section shows you how you can have editable content which is the same throughout the site ( NOTE: It is language specific ) .All the navs below are generated using snippets that are included with the framework, edit this content to see how it was generated

Sub Nav:

Main Nav:

Footer Nav:

Unique Per Page


Views are generally pure HTML mixed with some template variables like {templateVariable}. In this framework I have decided to split the view into 2 sections Templates and Contents {SubNav}

The flow of the page is as follows for a sample URL :

  • At the start of the request the index.php file is hit
  • The index.php file then passes the control to the core of the framework
  • The framework then analyzes the URL and then loads and initializes the controller and then passes control to the function withing the controller.

    NOTE: If you do not pass a controller and a function in the URL it calls the default controller which is 'main' and the default function which is 'index' these can be changed by opening the 'Config.php' file and changing the variables:

    public $defaultController = 'main';
    public $defaultFunction = 'index';

Site Powered by Mac's PHP MVC Framework Framework of the future
Design downloaded from Free website templates, layouts, and tools.