This parser has been developed 5 years ago and has been used in numerous projects since. STP helps you separate your code from HTML in a very easy manner.
By : Tobi
The Simple Template parser can
* Assemble a page from several templates (you can f.e. define a repeating page head as a separate template) * Output result pages to the browser or write them to a file * perform loops * follow nested conditions * show multiple columns per row in a table loop * change colors in a loop
Bundled with the STP class file you will find FastSQL, a MySQL wrapper around the php-functions that we use a lot in conjunction with STP. For tutorial, examples, more information see http://www.script.gr/go/scripts/STP/
DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.