Tutorials Home Scripts Home

What is PHP Sugar 0.81?

is a new template engine for PHP, similar in spirit to Smarty.<p style="text-align:left;font-family:CourierNew;">A powerful and flexible compilation engine is used which allows for
powerful expressions similar to that of PHP itself. It also features a
clean and easy to understand syntax, which was created with the average
designer in mind.</p><p style="text-align:left;font-family:CourierNew;">Security is a strength of PHP-Sugar. For example, output is
HTML-escaped by default, instead of requiring explicit escaping like
PHP itself, which makes it far less likely to accidentally introduce an
HTML or JavaScript code injection vulnerability from user-submitted
content.</p>

To install Sugar, simply copy the Sugar.php file into the PHP
include path. Then copy the Sugar/ folder and its contents into the
same folder in which Sugar.php is installed.

The default templates folder for the file storage driver is
./templates/, relative to the working directory of the application.
The compile directory is ./templates/compiled/ which must be writable
by the application (e.g. the Apache user) in order to work. The
default cache directory is ./templates/cache/ which also must be
writable to work.

“Subscribe and get Latest entries”

Enter your email address:

Listing Details

Listing Details

Version: 0.81
Default Language: English
Filed in: scripts home » Components » PHP Templates Engine
Date Added: July 26, 2009
Views: 721
demonstration: sorry no available demo at this time
External Download: External download

download from our servers (Browse Files)

Featured Plugins Add Plugin

No Plugins with the specified criteria were found.

Bug List Report Bug

Bug List

No bugs with the specified criteria were found.

Who uses PHP Sugar? (Widgets for PHP Sugar)

Who uses PHP Sugar?

Comments

Comment form

No Comments!

Be the first to review this page !

Leave a Comment

Comment form