Re: [Catalyst] Catalyst::*::REST and Javascript

2008-08-19 Thread Jonathan Rockway
* On Fri, Aug 15 2008, Patrick Donelan wrote: > Hi Robert, > > > Whereas ExtJS seems to be of form: > >userResource = new Resource('http://example.com/users?id=001') > > > ExtJS can send any sort of HTTP request you like - it doesn't really care how > RESTful your URLs are. Like all

Re: [Catalyst] Catalyst::*::REST and Javascript

2008-08-15 Thread Patrick Donelan
Hi Robert, Whereas ExtJS seems to be of form: > >userResource = new Resource('http://example.com/users?id=001') > ExtJS can send any sort of HTTP request you like - it doesn't really care how RESTful your URLs are. Like all Ajax toolkits the connectivity portion of the library is just a g

Re: [Catalyst] Catalyst::*::REST and Javascript

2008-08-12 Thread J. Shirley
On Tue, Aug 12, 2008 at 3:20 PM, Mark Trostler <[EMAIL PROTECTED]> wrote: > Ya I agree that doc is a little wacky - I tend to craft my own urls & set > the HTTP method appropriately - I stick the JSON-encoded data in a 'data' > request parameter & have my auto sub in my Root controller peel it off

Re: [Catalyst] Catalyst::*::REST and Javascript

2008-08-12 Thread Mark Trostler
Ya I agree that doc is a little wacky - I tend to craft my own urls & set the HTTP method appropriately - I stick the JSON-encoded data in a 'data' request parameter & have my auto sub in my Root controller peel it off of there & put it in $c->data so it all looks the same after that. like:

Re: [Catalyst] Catalyst::*::REST and Javascript

2008-08-12 Thread Robert Krimen
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') userResou

Re: [Catalyst] Catalyst::*::REST and Javascript

2008-08-11 Thread Mark Trostler
I've had good luck with ExtJS: http://extjs.com/learn/Manual:RESTful_Web_Services Mark Peter Karman wrote: J. Shirley wrote on 8/11/08 10:03 PM: I use YUI extensively in conjunction with REST -- it works great. Takes a very minimal amount of work to connect Catalyst::Controller::DB

Re: [Catalyst] Catalyst::*::REST and Javascript

2008-08-11 Thread Peter Karman
J. Shirley wrote on 8/11/08 10:03 PM: I use YUI extensively in conjunction with REST -- it works great. Takes a very minimal amount of work to connect Catalyst::Controller::DBIC::API::REST with the YUI DataTable, too. YUI 2.5.1 has better methods for setting the content type, too, so you can

Re: [Catalyst] Catalyst::*::REST and Javascript

2008-08-11 Thread J. Shirley
On Mon, Aug 11, 2008 at 6:46 PM, Robert Krimen <[EMAIL PROTECTED]> wrote: > Hi, > > I'm starting to play around with Catalyst::Action::REST and was wondering if > anyone had any recommendations on a javascript utility/library to > play nice with RESTful services. > > I'm thinking of something more

Re: [Catalyst] Catalyst::*::REST and Javascript

2008-08-11 Thread Steve Atkins
On Aug 11, 2008, at 6:46 PM, Robert Krimen wrote: Hi, I'm starting to play around with Catalyst::Action::REST and was wondering if anyone had any recommendations on a javascript utility/ library to play nice with RESTful services. I'm thinking of something more comprehensive than the basi

Re: [Catalyst] Catalyst::*::REST and Javascript

2008-08-11 Thread Hani Anani
Hi Robert, I have been using YUI along with Catalyst::Action::REST for the development of a prototype that is open to a limited set of users, it has been working out quite well for me. YUI is well documented with plenty of examples and is quite robust. I can't really provide a comparison to other

[Catalyst] Catalyst::*::REST and Javascript

2008-08-11 Thread Robert Krimen
Hi, I'm starting to play around with Catalyst::Action::REST and was wondering if anyone had any recommendations on a javascript utility/library to play nice with RESTful services. I'm thinking of something more comprehensive than the basic YUI, jQuery, or Dojo AJAX functions. Jester (http://thou