On Tue, 2 Jan 2007, Michael Peters wrote:
As I said to him when we had our IRC conversation that day, the main bit that is missing is dispatch based on MIME types.Well, it lacks being able to dispatch on HTTP request method too. I'm confused about the MIME types bit though. I don't seem to remember how they are associated with REST.
That's the Representation part of it. The idea is you can select different views (in MVC talk) based on the MIME type the client prefers.
C::A::Dispatch is neither a plugin nor an application base class. It's a wrapper that sits outside of your C::A modules and acts as a gatekeeper. You can subclass it to further refine the behavior though.
Sorry. I am going to have to look at it again as I am obviously unclear about its capabilities.
--
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.