On Mon, Aug 11, 2008 at 9:57 PM, Mark Trostler <[EMAIL PROTECTED]> wrote:

> I've had good luck with ExtJS:
>
> http://extjs.com/learn/Manual:RESTful_Web_Services
>
>        Mark


Wikipedia demonstrates REST like:

       userResource = new Resource('http://example.com/users/001')
       userResource.delete()

Whereas ExtJS seems to be of form:

       userResource = new Resource('http://example.com/users?id=001')

The difference being that REST-proper encapsulates the id of the user in the
URI path, where as ExtJS includes it as a query parameter.

I like the former technique because it dovetails with Catalyst's chaining
paradigm nicely.

Looks like best practice for now is to craft URIs manually and feed them
into your YUI, jQuery, or
ExtJS AJAX routine of choice.

Rob
_______________________________________________
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