![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| Pear Pear programming, this is a very complex subject as with using pear with php can be a difficult task for some, so lets talk pear. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| The new PEAR package HTML_Template_Sigma-1.1.6 (stable) has been released at http://pear.php.net/. Release notes ------------- Migrate to package.xml version 2.0, use proper header comment blocks. Minor fixes to phpdoc comments, no code changes since previous release. Package Info ------------ HTML_Template_Sigma implements Integrated Templates API designed by Ulf Wendel. Features: * Nested blocks. Nesting is controlled by the engine. * Ability to include files from within template: <!-- INCLUDE --> * Automatic removal of empty blocks and unknown variables (methods to manually tweak/override this are also available) * Methods for runtime addition and replacement of blocks in templates * Ability to insert simple function calls into templates: func_uppercase('Hello world!') and to define callback functions for these * 'Compiled' templates: the engine has to parse a template file using regular expressions to find all the blocks and variable placeholders. This is a very "expensive" operation and is an overkill to do on every page request: templates seldom change on production websites. Thus this feature: an internal representation of the template structure is saved into a file and this file gets loaded instead of the source one on subsequent requests (unless the source changes) * PHPUnit-based tests to define correct behaviour * Usage examples for most of the features are available, look in the docs/ directory Related Links ------------- Package home: http://pear.php.net/package/HTML_Template_Sigma Changelog: http://pear.php.net/package/HTML_Tem...download/1.1.6 Download: http://download.pear.php.net/package...igma-1.1.6.tgz Authors ------- Alexey Borzov (lead) | |||
| Featured Websites | ||||
|
![]() |
| Tags: announcement, released, stable |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [ANNOUNCEMENT] Log-1.9.11 (stable) Released. | PEAR Announce | Pear | 0 | 05-20-2007 6:34 PM |
| [ANNOUNCEMENT] MDB2_Driver_oci8-1.4.1 (stable) Released. | PEAR Announce | Pear | 0 | 05-20-2007 6:34 PM |
| [ANNOUNCEMENT] MDB2_Driver_sqlite-1.4.1 (stable) Released. | PEAR Announce | Pear | 0 | 05-20-2007 6:34 PM |
| [ANNOUNCEMENT] MDB2_Driver_mssql-1.2.1 (stable) Released. | PEAR Announce | Pear | 0 | 05-20-2007 6:34 PM |
| [ANNOUNCEMENT] MDB2-2.4.1 (stable) Released. | PEAR Announce | Pear | 0 | 05-20-2007 6:34 PM |
| Featured Websites | ||||
|