WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #36335, comment 22


Ignore:
Timestamp:
04/27/2016 08:32:56 PM (4 years ago)
Author:
tfrommen
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36335, comment 22

    initial v1  
    1717
    1818If the long-term goal is to eventually ship an autoloader that '''works''' like the one of Composer (and maybe at some point in time we actually use Composer in general), we shouldn't allow for registration of custom autoload rules (as we called the classes implementing the individual autoloading logic). Instead, we should only offer a small set of autoloading ''ways'', so each plugin or theme author can choose what works (best) for them. PSR-0, PSR-4, a classmap (because the plugin/theme doesn't follow PSR-whatsoever), ...
    19 What we would gain here is the ability to dynamically register with the autoloader—opposed to only have WordPress (partially!) use the autoloader.
     19What we would gain here is the ability to dynamically register with the autoloaderopposed to only have WordPress (partially!) use the autoloader.
    2020
    2121I'm really interested in your opinions here.