[wp-trac] [WordPress Trac] #36335: Next generation: core autoloader proposal

WordPress Trac noreply at wordpress.org
Sat Sep 24 05:48:46 UTC 2016


#36335: Next generation: core autoloader proposal
-----------------------------+------------------
 Reporter:  dnaber-de        |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  4.7
Component:  General          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:
-----------------------------+------------------

Comment (by MikeSchinkel):

 Replying to [comment:207 schlessera]:
 > @MikeSchinkel : I think you're completely derailing this ticket. If you
 want to discuss changing the WordPress Coding Style, or the WordPress
 folder layout, please do so in a new ticket.
 > Reading through the last handful of comments, it seems like I still
 wasn't able to fully communicate what Composer brings to the table.

 Please re-read [/ticket/36335?replyto=207#comment:204 comment #204] where
 I said ''(with added '''bold'''):''

   Thus far the big debate has been over "use a composer autoloader" vs.
 "use an autoloader optimized for WP" and that has been contentious.''' So
 let me suggest a different first step that I think that maybe all of us
 will see the need for''' (or at least all of us that would like to see an
 autoloader built in to WP core.)

  Proposal: First discuss making core files autoloadable, and then divide
 and conquer to analyze the core files in need of changes? Some files will
 be very easy to make autoloadable whereas others will be require more
 finesse. ''Because without making core files autoloadable the "which
 autoloader" question is moot.'' Why not go ahead and prepare patches to
 apply that are easy to apply and that we know will not break anything?

 My latest tickets have tried to '''sidestep the debate''' and work on
 things we'd need '''with or without''' a Composer autoloader.  ''So how is
 that derailing the ticket?!?''

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36335#comment:208>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list