Skip to content

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

Notifications You must be signed in to change notification settings

Zelig880/basic-php-template-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages