{
    "href": "/post/2014/09/03/new-aura-v2-stable-releases-and-more/",
    "relId": "2014/09/03/new-aura-v2-stable-releases-and-more",
    "title": "New Aura v2 Stable Releases, and More",
    "author": "pmjones",
    "markup": "html",
    "tags": [
        {
            "href": "/tag/aura/",
            "relId": "aura",
            "title": "Aura",
            "author": null,
            "created": "2020-09-14 21:51:57 UTC",
            "updated": [
                "2020-09-14 21:51:57 UTC"
            ],
            "markup": "markdown"
        },
        {
            "href": "/tag/php/",
            "relId": "php",
            "title": "PHP",
            "author": null,
            "created": null,
            "updated": [],
            "markup": "markdown"
        },
        {
            "href": "/tag/programming/",
            "relId": "programming",
            "title": "Programming",
            "author": null,
            "created": null,
            "updated": [],
            "markup": "markdown"
        }
    ],
    "created": "2014-09-03 16:47:14 UTC",
    "updated": [
        "2014-09-03 16:47:14 UTC"
    ],
    "html": "<p>New v2 releases, and hey, what's this about Aura.Di <em>finally</em> getting auto-resolution of typehinted parameters?</p>\n<blockquote>\n<p>First, we have brand new 2.0.0 stable releases of these v2 packages!</p>\n<ul>\n<li><a href=\"https://github.com/auraphp/Aura.Dispatcher/releases\">Aura.Dispatcher</a></li>\n<li><a href=\"https://github.com/auraphp/Aura.Router/releases\">Aura.Router</a></li>\n<li><a href=\"https://github.com/auraphp/Aura.Cli/releases\">Aura.Cli</a></li>\n<li><a href=\"https://github.com/auraphp/Aura.View/releases\">Aura.View</a></li>\n<li><a href=\"https://github.com/auraphp/Aura.Html/releases\">Aura.Html</a></li>\n</ul>\n<p>Next, <strong>the Aura.Di package just got bumped to 2.0.0-beta2</strong>. This package in particular has seen some great new improvements, most notably <strong>auto-resolution of typehinted constructor parameters</strong>, and a brand-new README. Check it out at <a href=\"https://github.com/auraphp/Aura.Di\">https://github.com/auraphp/Aura.Di</a>.</p>\n</blockquote>\n<p>Emphasis not in original; read the whole notice at <a href=\"http://auraphp.com/blog/2014/09/03/new-releases/\">http://auraphp.com/blog/2014/09/03/new-releases/</a>.</p>\n<p>Auto-resolution of typehinted parameters is something I've been against since the beginning of Aura.Di. After having used implicit magical convention for a long time, I have learned to prefer explicit configuration. However, auto-resolution turned out to be relatively simple to add, and the tradeoff of not having to explicitly specify every <code>lazyNew('ClassName')</code> every time on every parameter seems reasonable. (One hopes one does not get burned later for having made this concession.)</p>\n<hr>\n<p class=\"reddit-links\">Read the Reddit discussion about this post <a href=\"https://www.reddit.com/r/PHP/comments/2fdcae/new_aura_v2_stable_releases_and_auradi/\">here</a>.</p>\n"
}
