[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cgiapp] RFC: CGI::Application::Plugin::REST


On Tue, 2 Jan 2007, Timothy Appnel wrote:

On 1/2/07, Jaldhar H. Vyas <suppressed> 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 <suppressed>

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
             http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.