/basic-php-template-engine

Allow you to create a basic php template engine that will emulate part of the MVC methodology using GET request. Perfect for small sites.

Primary LanguageHTMLMIT LicenseMIT

basic-php-template-engine

Allow you to create a basic php template engine that will emulate part of the MVC methodology using GET request. Perfect for small sites.

SUMMARY

1.Download the repository 2.Update the header and footer php file 3.Create pages, by creating a php file in the mvc/view/pages directory ( for example contactUs.php) 4.[optional] - create a php or/and a js file into the mvc/model/pages directory witht he same file name as the page it need to be loaded into contactUs.php/contactUs.js 5. just access your site on www.yoursite.com/index.php?content=contactUs and all the rest will be handled by the framework.

Full details on my blog on http://www.msowebdesign.co.uk/?p=137&preview=true