Re: [fw-general] use of "new" parameter in Zend_Rest_Route

2010-10-07 Thread Guillaume ORIOL
As I use an MVC controller to retrieve the HTML form, I'll use the REST one with the "new" parameter to get the resource initial state. >> That is actually not intended. When creating a resource, your application should reply with an url (e.g. location header) where the created resource can be

Re: [fw-general] use of "new" parameter in Zend_Rest_Route

2010-10-07 Thread Christian Heinrich
Guillaume, > Two special parameters are checked when processing requests in Zend_Rest_Route: > "new" and "edit" (in the match() method). > > What is the purpose of those special GET URI's? > > I would like to use the "new" parameter to get the initial state of > a resource and try to figure

Re: [fw-general] use of "new" parameter in Zend_Rest_Route

2010-10-04 Thread Guillaume ORIOL
> Two special parameters are checked when processing requests in Zend_Rest_Route: > "new" and "edit" (in the match() method). > > What is the purpose of those special GET URI's? > > I would like to use the "new" parameter to get the initial state of > a resource and try to figure if it is th

[fw-general] use of "new" parameter in Zend_Rest_Route

2010-10-04 Thread Guillaume ORIOL
Two special parameters are checked when processing requests in Zend_Rest_Route: "new" and "edit" (in the match() method). What is the purpose of those special GET URI's? I would like to use the "new" parameter to get the initial state of a resource and try to figure if it is the right way to do

Re: [fw-general] use of "new" parameter in Zend_Rest_Route

2010-10-04 Thread Matthew Weier O'Phinney
-- Guillaume ORIOL wrote (on Monday, 04 October 2010, 11:38 AM +0200): > Two special parameters are checked when processing requests in > Zend_Rest_Route: > "new" and "edit" (in the match() method). > > What is the purpose of those special GET URI's? > > I would like to use the "new" parameter