[wp-trac] [WordPress Trac] #22325: Abstract GPCS away from the superglobals

WordPress Trac noreply at wordpress.org
Fri Nov 2 13:33:32 UTC 2012


#22325: Abstract GPCS away from the superglobals
-------------------------+-----------------------------
 Reporter:  rmccue       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  General      |     Version:
 Severity:  minor        |  Resolution:
 Keywords:               |
-------------------------+-----------------------------

Comment (by nacin):

 I'd like to adopt a GPCS wrapper pattern that makes sense. To do that, I
 was figuring we could study what other PHP frameworks and systems were
 doing. Adopting or actually forking them is not necessary (and may not
 always be okay license-wise).

 The only thing we really care about for now is raw access to GPCS globals.
 We already do things like repair SERVER in wp_fix_server_vars(). Some of
 the helper functions in Symfony's Request are kind of nifty but they don't
 seem at all necessary at this point.

 This should probably have been a P2 post to better facilitate
 conversation. I will likely move the conversation there in the coming
 days.

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


More information about the wp-trac mailing list