Zelig880 / 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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:HTML 71.6%Language:PHP 27.4%Language:JavaScript 0.6%Language:CSS 0.4%