[wp-trac] [WordPress Trac] #22958: Add object-oriented foundations and design patterns

WordPress Trac noreply at wordpress.org
Sun Dec 16 05:12:33 UTC 2012


#22958: Add object-oriented foundations and design patterns
-----------------------------+-------------------------
 Reporter:  npetetin         |       Owner:
     Type:  feature request  |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  General          |     Version:
 Severity:  normal           |  Resolution:  maybelater
 Keywords:                   |
-----------------------------+-------------------------
Changes (by nacin):

 * status:  new => closed
 * resolution:   => maybelater
 * milestone:  Awaiting Review =>


Comment:

 As discussed in #21309, there are already some opportunities to extend
 these new objects via composition. This is a fine idea, but we're just not
 close to discussing factories at this time. It will be a long while before
 a number of things that should be (non-stdClass) objects, are (non-
 stdClass) objects. There should be no plans to make this extensible via
 plugin-based polymorphism until we have fully grasped and defined the
 direction in which we are headed. It's not like we're removing control
 from plugins as things get converted to proper objects; as you point out,
 there is an existing abundance of hooks that already provides a good
 framework.

 New extension opportunities are nice and all (to borrow from scribu), but
 we need to walk, not run.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22958#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list