[wp-hackers] proposal: context based urls
davebytes at comcast.net
Wed Apr 18 21:01:57 GMT 2007
I'm confused -- nice URIs can do most of this today, though obviously
you've made it a big more discreet. While I don't know that it has
quite the 'registered callback' handling methodology, the permalink
format can already handle complex things, pages get their own top level
name, and I wouldn't want extraneous parameters added in necessarily.
And yes, plugins using the rewrite system can already tap in and define
unique URI elements for redirecting. I do this for a next version of
CG-Amazon to 'understand' that an incoming URI is meant for me to show
particular product data in a page, or in other plugins for things like
alternatives to categories (tagging systems, etc.).
> I would like discuss an idea that recently popped up during the
> development of some custom made plugins for my clients.
> A lot of people seem to use Wordpress as a 'poor man's CMS' and while
> Wordpress is and has been very flexible I would like to propose to use
> a new form of url system which might make it even better. The general
> idea is that the urls would be used with a system wide dispatcher
> routing the urls to previously registered callbacks. Similar to the
> way Drupal does this.
> This new system would follow the basic idea that the Wordpress urls
> are built up using the following principle:
> 1) A wordpress url consists of a base domain e.g.
> www.wordpress.tld or wordpress.tld
> 2) Followed by a unique context parameter e.g.
> /blog (in the case of WP MU)
> 3) Possibly followed by a unique action parameter e.g.
> 4) Possibly followed by one or more values
> Some example urls:
> Please let me know what you think of this. Does this make sense or am
> I trying to do something that already exists in WP (MU) using the
> permalinks or rewrite options?
> All the best,
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers