Softpedia
 


SCRIPTS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Orchard 1.6.1
  • Tine 2.0 Kristina 2013....
  • Acorn Media Player 1.8
  • ZenPen
  • Google Language Transla...
  • tTooltip 2.0
  • Obfuscate.js
  • validationJ 1.0.0
  • Starling 1.3
  • Video Sidebar Widgets 5.5
  • Home > Scripts > Development Tools

    Savant 3.0.1

    Download button


    Downloads: 554  Tell us about an update
    User Rating:
    Rated by:
    Good (3.0/5)
    13 user(s)
    Developer:

    Website:

    License / Price:

    Platforms:

    Databases:

    Language:

    Last Updated:

    Category:
    Brett Bieber | More scripts
    phpsavant.com
    LGPL - GNU Lesser General Public License 

    Windows / Linux / Mac OS / BSD / Solaris
    N/A
    PHP
    May 24th, 2011, 13:56 GMT [view history]
    C: \ Development Tools

     Read user reviews (0)  Refer to a friend  Subscribe

    Savant description

    This is a powerful but lightweight object-oriented template system for PHP

    It sports all of the features of Savant2, but with a modified default plugin set and a modified filter system. In addition, it runs cleanly under E_ALL and E_STRICT error reporting.

    Savant by default doesn't compile templates into PHPcode, but uses PHP itself as a general template language.

    This eliminates the need for developers to learn a new markup system.

    Savant has an object-oriented system of template plugins and output filters so the developer can add to its behavior quickly and easily.

    Savant has an extensible error handling system. While Savant uses its own minimalist error class out-of-the-box, it supports PEAR_Error and PEAR_ErrorStack, as well as PHP5 exceptions.

    The user can also add his own error classes to support his favorite framework error system.

    Error-handling hooks are provided in the standard Savant class.

    Even though Savant does not come with one, you can write your own customized markup compiler and hook it into Savant.

    This means the developer can invent any markup system he likes; as long as the compiler turns it into a PHP script, Savant will be able to use it.

    As with the error handler, you don't need to extend Savant itself to do this; compiler hooks are provided in the standard Savant class.

    What's New in This Release: [ read full changelog ]

    · Modify __toString method signature for compatibility with PHP 5.3.
    · No parameters should be sent. If you need to send a template parameter, use fetch($tpl) or setTemplate($tpl) then echo $savant. Thanks, Dan Bettles.
    · Add public method getOutput($tpl = null) which will return the output including error_text if an error occurs.



    TAGS:

    template system | template engine | PHP framework | PHP | framework | template

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM