{
    "href": "/post/2007/03/01/solar-0270-and-0271-released/",
    "relId": "2007/03/01/solar-0270-and-0271-released",
    "title": "Solar 0.27.0 and 0.27.1 Released",
    "author": "pmjones",
    "markup": "html",
    "tags": [
        {
            "href": "/tag/php/",
            "relId": "php",
            "title": "PHP",
            "author": null,
            "created": null,
            "updated": [],
            "markup": "markdown"
        },
        {
            "href": "/tag/solar/",
            "relId": "solar",
            "title": "Solar",
            "author": null,
            "created": null,
            "updated": [],
            "markup": "markdown"
        }
    ],
    "created": "2007-03-01 15:49:42 UTC",
    "updated": [
        "2007-03-01 15:49:42 UTC"
    ],
    "html": "<p>Yesterday, I released <a href=\"http://solarphp.com\">Solar</a> 0.27.0, then quick-fixed two minor bugs and released 0.27.1 an hour later.  It feels so good to be back doing releases on a monthly basis.  :)</p>\n<p>There are a few highlights in this release:</p>\n<ol>\n<li>\n<p>We're using <a href=\"http://php.net/spl\">spl_autoload</a> now to auto-load Solar classes as requested.  One nice thing about this is that SPL uses a stack of autoloading functions, so Solar doesn't override any autoload you already have set up.</p>\n</li>\n<li>\n<p>The locale translation functions have been split out to their own class, <a href=\"http://solarphp.com/class/Solar_Locale\">Solar_Locale</a>, and you can now configure your own replacement localization class if you need custom behaviors.</p>\n</li>\n<li>\n<p>It appears we now have the fastest and most-compliant <a href=\"http://solarphp.com/class/Solar_Json\">JSON encoder/decoder</a> in the PHP universe, thanks to <a href=\"http://killersoft.com/randomstrings/2007/02/28/php-and-json-cut-987/\">Clay Loveless</a>.  It uses <a href=\"http://php.net/json\">ext/json</a> but does a little pre-checking to make sure the strings to be decoded are actually JSON payloads.</p>\n</li>\n<li>\n<p>Our SQL adapter adds a bit of convenience to get around <a href=\"http://paul-m-jones.com/blog/?p=243\">stricter binding behaviors in the PHP 5.2.1 version of PDO</a>.</p>\n</li>\n<li>\n<p>The <a href=\"http://solarphp.com/class/Solar_Uri\">Solar_Uri</a> class now determines the '.ext' filename extension in a URI automatically; this bit of magic helps when determining what format is being requested from a page-controller, and helps when constructing alternative links for a single page that supports multiple formats.</p>\n</li>\n</ol>\n"
}
