Smarty

Software Screenshot:
Smarty
Software Details:
Version: 3.1.20
Upload Date: 13 Apr 15
Distribution Type: Freeware
Downloads: 54
Size: 276 Kb

Rating: nan/5 (Total Votes: 0)

Smarty allows developers to write dynamic layouts using a special syntax and have PHP render content according to preset rules.

This is generally considered a good idea when developing large scale applications, helping with code maintenance and cutting down development time by producing frontend templates at a faster rate.

Smarty is also extremely well documented, and still used regardless of the plethora of similar solutions that have flooded the market, many of them implementing the same principles, or downright copying the code.

The engine has seen wide adoption in the open source market, being currently used in many famous projects like the XOOPS CMS, CMS Made Simple, and TikiWiki.

Features:

  • Reduces development time
  • Easy to maintain code
  • Easy syntax, easy to understand
  • Template inheritance is supported
  • Separation of PHP from HTML/CSS
  • Readability for organization and management
  • Security for 3rd party template access
  • Feature completeness
  • Easily extendable to any needs
  • Massive user base, community-developed

What is new in this release:

  • Bugfix security mode of "<script language=php>" must be controlled by $php_handling property
  • Bugfix template resource of inheritance blocks could get invalid if the default resource type is not 'file'
  • Bugfix existing child {block} tag must override parent {block} tag append / prepend setting
  • Bugfix modifier wordwrap did output break string wrong if first word was exceeding length with cut = true
  • Bugfix cache clear when cache folder does not exist
  • Enhancement remove BOM automatically from template source
  • Bugfix the bufix of 02.06.2014 broke correct handling of child templates with same name but different template folders in extends resource

What is new in version 3.1.19:

  • Bugfix template variables could not be passed as paramter in {include} when the include was in a {nocache} section
  • Bugfix large template text of some charsets could cause parsing errors
  • Bugfix registered objects did not work after spelling fixes of 06.06.2014
  • Bugfix {block} tags within {literal} .. {/literal} got not displayed correctly
  • Bugfix UNC WINDOWS PATH like "\\psf\path\to\dir" did not work as template directory
  • Bugfix {html_image} security check did fail on files relative to basedir
  • Fixed PHPUnit outputFilterTrimWhitespaceTests.php assertion of test result
  • Fixed spelling, PHPDoc , minor errors, code cleanup
  • Using multiple cwd with relative template dirs could result in identical compiled file names.
  • Bugfix calling createTemplate(template, data) with empty data array caused notice of array to string conversion
  • Bugfix clearCompiledTemplate() did not delete files on WINDOWS when a compile_id was specified
  • Revert bugfix of 5.4.2014 because %-e date format is not supported on all operating systems

What is new in version 3.1.18:

  • Bug fixes:
  • Template inheritance fail when using custom resource
  • Update of composer file
  • Default date format leads to extra spaces when displaying dates with single digit days
  • Smart_Resource_Custom should not lowercase the resource name
  • Using a {foreach} property like @iteration could fail when used in inheritance parent templates
  • $smarty->auto_literal and mbsting.func_overload 2, 6 or 7 did fail

What is new in version 3.1.17:

  • Bugfix relative file path {include} within {block} of child templates did throw exception on first call.

What is new in version 3.1.15:

  • Use current delimiters in compiler error messages.
  • Improvement on performance when using error handler and multiple template folders.
  • Bugfix compiled filepath of config file did not observe different config_dir.
  • Bugfix the internal resource cache did not observe config_dir changes.
  • Bugfix internal $tmpx variables must be unique over all inheritance templates.

What is new in version 3.1.13:

  • Enhancement allow to disable exception message escaping by SmartyException::$escape = false;

What is new in version 3.1.11:

  • Bugfix {block.. hide} did not work as nested child.
  • Bugfix the default plugin handler did not allow static class methods for modifier.
  • Bugfix escape modifier support for PHP < 5.2.3.
  • Bugfix the patch for Topic 21856 did break tabs between tag attributes.

What is new in version 3.1.10:

  • Bugfixes:
  • The compiler did ignore registered compiler plugins for closing tags.

What is new in version 3.1.8:

  • Bugfix {include} could result in a fatal error if used in appended or prepended nested {block} tags.
  • Enhancement added Smarty special variable $smarty.template_object to return the current template object.

Requirements:

  • PHP 5.2 or higher

Similar Software

Other Software of Developer New Digital Group, Inc.

Smarty
Smarty

11 May 15

Comments to Smarty

Comments not found
Add Comment
Turn on images!