CodeCanyon Advanced PHP Template Preprocessor 130962

CodeCanyon Advanced PHP Template Preprocessor 130962

CodeCanyon Advanced PHP Template Preprocessor 130962
PHP Script \ Miscellaneous
Template \ Preprocessor \ Parse \ Html \ Display


PHP Script - Advanced PHP Template Preprocessor 130962 by Savetheinternet @ CodeCanyon

PHP Script \ Miscellaneous

Last Update: 16 October 10; Compatible Browsers: IE6, IE7, IE8, FireFox 2, FireFox 3, Firefox 3.5, Firefox 3.6, Safari 4, Safari 5, Opera, Chrome 4, Chrome 5; Software Version: PHP 5.x; Files Included: PHP.

Introduction
In it’s most basic form, PHP Template Preprocessor can replace tags with values set in PHP , but it also has an advanced sort of "syntax" that you can use.
How to use

echo Element("template.html", Array( "something" => "something" ));

Features
Optionals/Defaults
You can specify the defaults for a variable, which are used when the value isn’t specified by the PHP script.
Conditionals
These are basically “if” statements.
Iteration
You can parse an Array to the template, and make it iterate through it.
Arrays
You can use arrays, infinitely, like so.
“{something[something]}”

PHP Variables
If you enable this, you can access global PHP variables by using “{$something}”.
Speed
This script is optimized for performance. An average template shouldn’t take more than 0.001 seconds to process. That’s one millisecond! That time generally increases (slightly) as more tags and layers are added, but you will probably never see it go over 0.005 seconds (5 milliseconds).
Infinite recursion
You can add as many layers of tags as you want.
For example, you could use…

“{test={test={test={test={test={test={test={test={test={test={test}}}}}}}}}}”

.. And it would still be processed accordingly. There is no limit to recursion.

qForms; AutoCache; ToSQL - JSON/XML/PHP to SQL; PHPsh - PHP Terminal.

Keywords: display, html, parse, preprocessor, template.



Tags: Template, Preprocessor, Parse, Display, Advanced

Premium CodeCanyon Advanced PHP Template Preprocessor 130962 WordPress Themes, Website Templates, Mobile Themes, Flash Templates & Scripts from creative professional designers. Full details of CodeCanyon Advanced PHP Template Preprocessor 130962 for digital design and education. CodeCanyon Advanced PHP Template Preprocessor 130962 desigen style information or anything related.

Comments:

Name:*
E-Mail:*
Add Comments:
Enter Code: *