PHP Classes

SmartTemplate: Enterprise Class Template Compiler

Recommend this page to a friend!
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 58%Total: 2,857 All time: 1,316 This week: 560Up
Version License Categories
smarttemplate 1.0GNU General Publi...Templates
Description 

Author

The SmartTemplate templating engine supports: compiled templates, ouput caching, scalar substitution, iterations over nested blocks (BEGIN..END), basic control structures (IF..ELSEIF..ELSE), custom extension (output filters like uppercase, sprintf, etc.) and because of its unique structure and a minimum of overhead is up to 8x faster than other templating engines.

Picture of Philipp v. Criegern
Name: Philipp v. Criegern <contact>
Classes: 1 package by
Country: Germany Germany
Age: 52
All time rank: 112573 in Germany Germany
Week rank: 321 Up11 in Germany Germany Up

Details

SmartTemplate 1.0 Author: Philipp von Criegern (philipp@criegern.com) Release Date: 22.08.2002 License: GPL How To Install: 1. Download and unzip the smarttemplate package. The following files should be unpacked: class.smarttemplate.php class.smarttemplatedebugger.php class.smarttemplateparser.php readme.txt examples/Alternating_Colors.html examples/Alternating_Colors.php examples/DropDown_Boxes.html examples/DropDown_Boxes.php examples/Hello_World.html examples/Hello_World.php examples/Iterating_Blocks.html examples/Iterating_Blocks.php examples/Nested_Blocks.html examples/Nested_Blocks.php examples/Special_Characters.html examples/Special_Characters.php smarttemplate_compiled/ smarttemplate_extensions/smarttemplate_extension_config.php smarttemplate_extensions/smarttemplate_extension_current_date.php smarttemplate_extensions/smarttemplate_extension_current_datetime.php smarttemplate_extensions/smarttemplate_extension_current_time.php smarttemplate_extensions/smarttemplate_extension_dateformat.php smarttemplate_extensions/smarttemplate_extension_dateformatgrid.php smarttemplate_extensions/smarttemplate_extension_db_date.php smarttemplate_extensions/smarttemplate_extension_db_datetime.php smarttemplate_extensions/smarttemplate_extension_db_time.php smarttemplate_extensions/smarttemplate_extension_encode.php smarttemplate_extensions/smarttemplate_extension_entity_decode.php smarttemplate_extensions/smarttemplate_extension_gettext.php smarttemplate_extensions/smarttemplate_extension_header.php smarttemplate_extensions/smarttemplate_extension_help.php smarttemplate_extensions/smarttemplate_extension_hidemail.php smarttemplate_extensions/smarttemplate_extension_htmlentities.php smarttemplate_extensions/smarttemplate_extension_load_config.php smarttemplate_extensions/smarttemplate_extension_load_file.php smarttemplate_extensions/smarttemplate_extension_lowercase.php smarttemplate_extensions/smarttemplate_extension_mailto.php smarttemplate_extensions/smarttemplate_extension_number.php smarttemplate_extensions/smarttemplate_extension_nvl.php smarttemplate_extensions/smarttemplate_extension_options.php smarttemplate_extensions/smarttemplate_extension_regex.php smarttemplate_extensions/smarttemplate_extension_replace.php smarttemplate_extensions/smarttemplate_extension_select_site.php smarttemplate_extensions/smarttemplate_extension_session.php smarttemplate_extensions/smarttemplate_extension_stringformat.php smarttemplate_extensions/smarttemplate_extension_substr.php smarttemplate_extensions/smarttemplate_extension_textbutton.php smarttemplate_extensions/smarttemplate_extension_trim.php smarttemplate_extensions/smarttemplate_extension_truncate.php smarttemplate_extensions/smarttemplate_extension_uppercase.php smarttemplate_extensions/smarttemplate_extension_urlencode.php smarttemplate_extensions/smarttemplate_extension_vardump.php 2. Copy the class.*.php files and the smarttemplate_extensions folder to your PHP include folder (Specified in your php.ini: include_path= XXX) 3. Edit the class.smarttemplate.php file and adjust the configuration according to your system configuration: $temp_dir : The folder where the compiled templates can be stored. PHP must have write access to this folder! $cache_dir : The folder where output cache files can be stored (if used). PHP must have write access to this folder! 4. Copy the examples folder to somewhere below your document root, so you can access with your browser. 5. Have a look at the examples in the examples folder to see how SmartTemplate works.

  Files folder image Files  
File Role Description
Plain text file class.smarttemplate.php Class Main Class File
Plain text file class.smarttemplatedebugger.php Class Debugger Class
Plain text file class.smarttemplateparser.php Class Compiler Class
Accessible without login Plain text file example.html Data Example Template
Accessible without login Plain text file example.php Example Example Script
Accessible without login Plain text file readme.txt Doc. Installation Guide

 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,857
This week:0
All time:1,316
This week:560Up
 User Ratings  
 
 All time
Utility:72%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:67%StarStarStarStar
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:58%StarStarStar
Rank:1557