Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 06:26 pm EDT

Downloads

Root : Add-ons : Hacks : 
snapshot
Category: Add-ons arrow Hacks
Tags: -
Date: 2007-10-08 10:41
Size: 21.73 KB
Version: 1
MD5: e7f67fd64db27876e3264ba66c14832d
Rating: 0.00
Popularity: 747   POP
PHP was created so people could create websites by mixing code right in the HTML. When designers decided that mixing business logic with presentation was a bad thing, rather than using disciplined coding techniques to avoid that pitfall, the template library was born. So, an interpreted language designed to create HTML was being used to interpret template files to make HTML.
This hack attempts to make templates faster by turning them back into PHP. The existing templates are converted into working PHP code and stored in a cached directory. "Running" the template becomes as easy as "include"ing the cached file.

See the forum post in the hacks category for more details.