Selon Cameron Braid <[EMAIL PROTECTED]>:

> I have used cocoon before and they provide a cool url mapping techinque
> using matchers.

Yep. This is somehow the kind of thing WW should provide, but at a WW level,
meaning that we are not really dealing with pipeline but instead actions (or
action chains).

> I will have a think about how we can integrate something like that.
> 
> For example,
> 
> Syntax aside, I would like to be able to specify a match pattern of : 
> 
> "/action/year/month/day"
> 
> to parse /article/2003/10/02 
> and get a map {action=article,year=2003,month=10,day=02}
> 
> Since we are trying to achive a permalink style URL, why are the
> parameter names required in the URL ?
> 
> Also, for your original idea
> 
> /article/id/10 would probably be better written as /article/10 with a
> matcher /(action)/(id)
> 
> This type of pattern will also allow for action namespaces
> 
> "/namespace/action/id"
> 
> Then /customer/sale/10 -> namespace=customer, action=sale, id=10
> Then /admin/vendor/sale/10 -> namespace=/admin/vendor, action=sale,
> id=10
> 
> Before we implement these ideas, what other types of URL's do we want to
> try and map ?

Have a look at the proposal I sent.
BTW, I do not know why but mails sent are delivered a few hours late...


Regards,
Jérôme.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to