Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/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.
https://github.com/zelig880/basic-php-template-engine
Last synced: 1 day ago
JSON representation
Allow you to create a basic php template engine that will emulate part of the MVC methodology using GET request. Perfect for small sites.
- Host: GitHub
- URL: https://github.com/zelig880/basic-php-template-engine
- Owner: Zelig880
- License: mit
- Created: 2015-02-26T07:08:00.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-02-28T21:54:16.000Z (over 9 years ago)
- Last Synced: 2023-02-28T00:35:46.886Z (over 1 year ago)
- Language: HTML
- Size: 137 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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