Tag Archives: autoloader

PSR-0 轉換到 PSR-4

在「Send PSR-0 to the Standards Farm in the Sky」這篇文章裡作者大聲呼籲用 PSR-4 取代 PSR-0。 不過 PSR-0 在 Packagist 上被廣泛使用: As of some time a few months ago (...), of the 20,097 packages hosted on Composer, 15,668 of them use PSR-0. PSR-0 的設計是考慮到 … Continue reading

Posted in Computer, Murmuring, Programming | Tagged , , , , , | Leave a comment

PSR-4

剛剛看到「Composer now supports PSR-4」才發現有 PSR-4,而且出了好幾個禮拜了... PSR-4: This PSR describes a specification for autoloading classes from file paths. It is fully interoperable, and can be used in addition to any other autoloading specification, including PSR-0. This PSR also describes where to … Continue reading

Posted in Computer, Murmuring, Programming | Tagged , , , , , | Leave a comment