On Tue, 2 Jan 2007, Timothy Appnel wrote:
On 1/2/07, Jaldhar H. Vyas <[EMAIL PROTECTED]> wrote:
> I like the way Catalyst::Action::REST implements its REST
> functionality personally.
You mean with attributes?
No, through method naming conventions such as...
entry_POST
entry_GET
entry_PUT
...where entry is the defined runmode. If a runmode_HTTPMETHOD doesn't
exist the dispatcher automatically returns a method is not supported
HTTP status method.
<tim/>
Ah I seem to remember looking at the Catalyst REST plugin a while back and
thinking it used attributes. Maybe that was something else.
I'd like to get some more opinions on this. To me this seems really
yucky for some reason.
--
Jaldhar H. Vyas <[EMAIL PROTECTED]>
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/[email protected]/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]