Want your site showcased? email us a press release.
Smarty 3.1.9 Released Jun 8, 2012
Article: Smarty vs Twig Nov 30, 2011
Smarty vs Twig Discuss here.
Showcase: Hostelz uses Smarty Oct 3, 2011
David from Hostelz says:
Hostelz.com is the largest hostels guide on the web, featuring over
43,000 listings in over 8,600 cities worldwide. The site has been
helping travelers find hostels for nearly 10 years. It offers reviews
and comments from guests, and an online booking system that does a
meta-search of the major hostel booking websites to allow users to
compare prices and find available beds.
We've been using Smarty as the template system for Hostelz.com since
2002. We believe a template system is necessary for large scale
websites so that the design elements of the site are uncoupled from
the underlying programming code. Smarty allows our graphic designers
to sculpt the look of the site without needing to touch any of the PHP
code that powers it. We also use Smarty's config files to separate
out text from the from templates into separate files so that our
translators can translate it to create foreign language versions of
the site.
Smarty's sophisticated caching system is a key part of what makes our
site perform significantly faster than our competitors. After the
first time a page is accessed, subsequent requests for the page
usually come directly from the cache, allowing pages to load almost
instantly without querying the database. The performance difference
is noticeable and it results in a much better user experience for our
visitors.
Smarty has been invaluable to the development of Hostelz.com.
Thanks!
David Capelle
Lead Developer
Hostelz.com
Hostelz website:
http://www.hostelz.com/
Smarty 3.1 Released Sep 16, 2011
For those not quite ready to jump from 3.0.8 to 3.1, 3.0.9 has also been released with some minor bug fixes. change log here.
download here.
Notable 3.1 changes/features:
- Smarty 2 BC removed from codebase, use SmartyBC.class.php for this
- Full UTF-8 compatibility with all plugins
- Default Template Handler for handling non-exiting template files
- Default Config Handler for handling non-exiting config files
- Default Plugin Handler for handling non-exiting plugin files
- {block hide} feature when no corresponding child block is found
- {setfilter}{/setfilter} to apply filters to a specific block of template code
- Improved Template Resource API
- Improved Cache Resource API
- Relative paths in template files {include file="../header.tpl"}
- Access to specific $template_dir via array index
- Access multiple template resources with extends: feature
- Simple global HTML escapement option with escape_html property
- Compile-Check on cache miss option
- Automatic template recompile on Smarty upgrade
- New Getters/Setters for main Smarty directory configuration
<< newer posts | older posts >>