{
    "href": "/post/2004/10/13/savant-220-released/",
    "relId": "2004/10/13/savant-220-released",
    "title": "Savant 2.2.0 released",
    "author": "pmjones",
    "markup": "html",
    "tags": [
        {
            "href": "/tag/php/",
            "relId": "php",
            "title": "PHP",
            "author": null,
            "created": null,
            "updated": [],
            "markup": "markdown"
        }
    ],
    "created": "2004-10-13 19:40:19 UTC",
    "updated": [
        "2004-10-13 19:40:19 UTC"
    ],
    "html": "<p>I just released Savant2 version 2.2.0; you can get it from <a href=\"http://phpsavant.com\">phpsavant.com</a>.  Here are two of the changes:</p>\n<p>* There is a new error handling class for PHP5 exceptions.  When you call setError('exception'), Savant2 will throw a Savant2_Exception whenever there is an error (with the error code and message, of course).  This is in addition to setError('pear') for PEAR_Error support, and setError('stack') for PEAR_ErrorStack support.</p>\n<p>* By default, Savant does not compile templates.  However, there are some cases where you don't want to provide your template designers with full PHP access; as such Savant2 has had support for external compilers.  As an example, I have included a new Savant2_Compiler_basic class to show how to create a simple compiler for Savant2.</p>\n<p>You can see the updated documentation <a href=\"http://phpsavant.com/yawiki/index.php?page=SavantDocs\">here</a>.</p>\n<p>Savant is a lightweight object-oriented template system for PHP; I bill is as \"the simple, elegant, and powerful alternative to Smarty.\"</p>\n"
}
