Matt Pitts wrote:
-----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


Would anybody mind sharing their controller method that processes the a POST request from HTTP and parses through the XML file received?

An example would help me out :)
Thank you!

Jennifer

_______________________________________________
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