[wp-trac] [WordPress Trac] #12935: Evolve the URL routing system
WordPress Trac
wp-trac at lists.automattic.com
Mon Jun 21 20:07:37 UTC 2010
#12935: Evolve the URL routing system
--------------------------+-------------------------------------------------
Reporter: mikeschinkel | Owner: ryan
Type: enhancement | Status: new
Priority: normal | Milestone: 3.1
Component: Permalinks | Version: 3.0
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
Comment(by jacobsantos):
I think the fundamentals is that the controller implementation is wrong
and building upon it would be trying to make a turd not a turd or beautify
the turd to look less of what it is.
I did some work on this and while I was unable to completely get the
WordPress compatibility working, it isn't long away. Looking at it again,
the dispatcher needs to have the callback as part of the route in order to
be able to call the controller when the route is found.
Check Routes -> Route is Found -> Get Controller -> Dispatch controller.
Or Router -> Dispatcher -> Controller.
I was hoping to disconnect the router from the dispatcher, which after
developing a router implementation, I was thinking, it would be extremely
roundabout and difficult. I will attempt to get the initial draft up
within the next few days to see what I mean. I should have the dispatcher
and WordPress compatibility working in that time.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12935#comment:43>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list