ITT #16: Create a Template Parsing System with PHP
One of my most recent obsessions has been with simplifying my custom CMS to
allow me to generate full sites without changing anything but HTML
template files and a basic configuration file. In this week's Instant Tip Tuesday, we'll explore
one of the ways we can dynamically generate output and wrap it in a
template file.
NOTE: This is a proof-of-concept type of thing, not a
production-ready script. Be aware that I haven't used a script like this on
a real site, and therefore have no idea if it's fast, effective, or even
useful. For now, this is just a "hey, cool!" sort of thing; use with
discretion.
Download the Files
So, What Are We Trying to Do?
To try and explain what our goal is...
read more
- «
-
- 1
-
- »