Dwoo

Software Screenshot:
Dwoo
Software Details:
Version: 1.2.0 / 2.0 Beta
Upload Date: 13 May 15
Developer: Jordi Boggiano
Distribution Type: Freeware
Downloads: 34

Rating: nan/5 (Total Votes: 0)

While Smarty was a ground-breaking application when it came out, development slowly grounded to a halt and newer templating system like Twig replaced it in the hearts of developers.

Dwoo was first introduced to the development community as an updated version of the Smarty template system, which sequentially evolved into its own templating language.

Dwoo intended and realized to update some of the principles behind Smarty to a PHP development community that was taken by storm by the new OOP features introduced with the new 5.x branch.

Dwoo fully works with PHP 5.x and takes full advantage of the languages features to provide a versatile, secure and fully-customizable template system for your PHP applications.

Features:

  • Lots of ready-made blocks
  • Lots of ready-made functions
  • Lots of helpers
  • Adapter for the Agavi framework
  • Adapter for the Zend Framework
  • Adapter for the CakePHP framework
  • Adapter for the CodeIgniter framework
  • Adapter for the Yii framework
  • Documentation

What is new in this release:

  • Namespaces
  • CamelCase
  • New features (blocks/functions/modifiers)

What is new in version 1.1.1:

  • Added {optional} plugin that just prints an optional var without any notice if it doesn't exist.
  • Added Dwoo::setTemplate() for testing purposes mostly.
  • Fixed an {extends} parsing bug that prevented the use of single-quotes around the parent template's filename.
  • Fixed a security issue, if you didn't use a custom compiler factory but passed the compiler directly to the get method with autoEscape enabled, the autoEscape was disabled in included templates.
  • Fixed a bug in {safe} when using variable-variables it would sometimes corrupt the var name resulting in blank output.
  • Fixed a bug when accessing array indices that contain a minus sign, it is now possible to access those using {$var[index-foo]}, {$var['index-foo']} or {$index="index-foo"} {$var[$index]}.
  • Fixed a bug in {tif} that didn't work when 0 was given as the true or false value.
  • Fixed a bug when using the autoEscape feature with sub-templates (the compiled sub-template couldn't access the dwoo charset property, resulting in a fatal error).
  • Fixed a property reading bug on objects that implemented __get but not __isset, implementing __isset is however very much recommended.
  • Fixed a Dwoo_Data bug in the append method when the index didn't exist yet it threw a notice.
  • Fixed a bug when accessing global vars from a sub-template.
  • Fixed a couple bugs in the {dynamic} plugin with regard to using plugins within a dynamic block.
  • Fixed a compilation bug when using a PluginProxy with highly nested calls.
  • Fixed a {load_templates} bug, plugins used in external templates were not loaded correctly, same for custom user plugins.
  • Cached templates now check the source template for modification before outputting the cached version.
  • Removed a couple of @-operator calls to file_get_contents.

Requirements:

  • PHP 5 or higher

Similar Software

Geolib
Geolib

18 Jul 16

ArtDesignToolTip
ArtDesignToolTip

12 Apr 15

Apache Axiom
Apache Axiom

6 Mar 16

Other Software of Developer Jordi Boggiano

Slippy
Slippy

6 Jun 15

Monolog
Monolog

10 Feb 16

Comments to Dwoo

Comments not found
Add Comment
Turn on images!