[Catalyst] implementing ajax
Matt Pitts
mpitts at a3its.com
Mon Mar 10 17:05:44 GMT 2008
> -----Original Message-----
> From: Jennifer Ahn [mailto:jenahn at stanford.edu]
> 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
More information about the Catalyst
mailing list