> -----Original Message-----
> From: Jennifer Ahn [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 10, 2008 12:37 PM
> To: The elegant MVC web framework
> Subject: [Catalyst] implementing ajax
> 
> hello!
> 
> i'm wondering how one would implement the server side controller end
of
> an application with ajax.  i have the javascript on my client sending

See Catalyst::Controller::REST.

Even though you're not explicitly doing REST, general AJAX practices
seems to have grown out of REST principles and using this module as a
base class for your AJAX controller is a good place to start.
Specifically, it will (de)serialize your http bodies automatically based
on certain headers or your controller configuration.

v/r
-matt pitts

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

Reply via email to