Am 18.05.2010 um 17:47 schrieb David Schmidt:
> 
> 
> ps: I want my websites to be able to work with and without js. How can
> I achieve this without increasing the complexity of my code too much.
> (I vaguely remember this was really easy in RoR)

Your approach seems perfectly reasonable. To make your REST interface
work with browser have a look at 
http://search.cpan.org/perldoc?Catalyst::TraitFor::Request::REST::ForBrowsers

Simply add a hidden form element with the name x-tunneled-method and the
http method as value to tunnel the request as the desired http method.


cheers,
mo

_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to