Re: [Catalyst] Catalyst - any good AJAX tutes?

2009-03-06 Thread Neo [GC]
Hi, depends on the javascript-lib you are using for AJAX. Catalyst just builds a template, which is interpreted clientside by the AJAX-lib. This might be XML, JSON, plain HTML or $something. For the webserver / Catalyst, the requests look like any other normal HTTP-request. Greets, Thomas

Re: [Catalyst] Catalyst - any good AJAX tutes?

2009-03-06 Thread David Dorward
kakim...@tpg.com.au wrote: I would like to use AJAX in my catalyst app. Any good references/tutes to recommend? Ajax just comes down to making HTTP requests without leaving the page using JavaScript. There isn't really anything Catalyst specific about it (except possibly a mention that

Re: [Catalyst] Catalyst - any good AJAX tutes?

2009-03-06 Thread Chisel Wright
On Fri, Mar 06, 2009 at 04:43:36PM +1100, kakim...@tpg.com.au wrote: I would like to use AJAX in my catalyst app. Any good references/tutes to recommend? It's just like using ajax anywhere else. Find a library you like, and start using it. View::JSON can be useful in sending responses to

Re: [Catalyst] Catalyst - any good AJAX tutes?

2009-03-06 Thread Kieren Diment
On 06/03/2009, at 8:56 PM, Chisel Wright wrote: On Fri, Mar 06, 2009 at 04:43:36PM +1100, kakim...@tpg.com.au wrote: I would like to use AJAX in my catalyst app. Any good references/ tutes to recommend? It's just like using ajax anywhere else. Find a library you like, and start using it.

Re: [Catalyst] Catalyst - any good AJAX tutes?

2009-03-06 Thread Neo [GC]
Kieren Diment schrieb: On 06/03/2009, at 8:56 PM, Chisel Wright wrote: On Fri, Mar 06, 2009 at 04:43:36PM +1100, kakim...@tpg.com.au wrote: I would like to use AJAX in my catalyst app. Any good references/tutes to recommend? It's just like using ajax anywhere else. Find a library you

Re: [Catalyst] Catalyst - any good AJAX tutes?

2009-03-06 Thread Peter Corlett
On 6 Mar 2009, at 10:33, Neo [GC] wrote: [...] To anyone: Be careful when converting perl-datastructures to JSON. I remember having a problem with boolean values, as javascript knows real booleans while perl uses 0 and 1. use JSON did have some magic settings to prevent a boolean 0/false to

Re: [Catalyst] Catalyst - any good AJAX tutes?

2009-03-06 Thread Stuart Watt
I've had some very good results with Dojo and Catalyst for AJAX. A couple of components in our app show this exceptionally - a table of contents based on a folding tree, and a grid backed by an SQL query, using to display filtered search results in different sort orders, etc. The grid will

Re: [Catalyst] Catalyst - any good AJAX tutes?

2009-03-06 Thread Francesc Romà i Frigolé
On Fri, Mar 6, 2009 at 6:43 AM, kakim...@tpg.com.au wrote: hello there, I would like to use AJAX in my catalyst app. Any good references/tutes to recommend? thanks. K. akimoto Hello, Depends on what do you want to do with AJAX. For example, if you want to do forms, I think it is a

Re: [Catalyst] Catalyst - any good AJAX tutes?

2009-03-06 Thread Alexander Hartmaier
I'd suggest ExtJS if you want something pretty good looking with great out-of-the-box features or YUI/jQuery if you like to stick with JS-enhanced HTML. The Dojo features + docs sucked *very* much when I used it about a year ago... On the Catalyst side I use Catalyst::Controller::DBIC::API which

RE: [Catalyst] Catalyst - any good AJAX tutes?

2009-03-06 Thread Scott Pham (scpham)
I second that ExtJS recommendation. The user community is pretty good from a support point of view. Once you get the hang of it, it's really easy to do a lot of neat things with it. -Original Message- From: Alexander Hartmaier [mailto:alexander.hartma...@t-systems.at] Sent: Friday,

Re: [Catalyst] Catalyst - any good AJAX tutes?

2009-03-06 Thread Jonathan Rockway
* On Fri, Mar 06 2009, Francesc Romà i Frigolé wrote: On Fri, Mar 6, 2009 at 6:43 AM, kakim...@tpg.com.au wrote: hello there,  I would like to use AJAX in my catalyst app. Any good references/tutes to recommend? thanks. K. akimoto Hello, Depends on what do you

Re: [Catalyst] catamoose now or when?

2009-03-06 Thread Guillermo Roditi
As one of the developers of Catalyst 5.8 and someone well-acquainted with both Moose and Catalyst and the Moose port of Catalyst, I would advise you to develop on 5.71, for 5.71 and keep an alternate test environment on which to test against 5.8. Once 5.8 is released and is on CPAN, go ahead and

Re: [Catalyst] catamoose now or when?

2009-03-06 Thread Elliot Finley
Thanks for responding Guillermo. I was hoping one of the developers would respond. I'll roll it out on 5.71. Thanks again, Elliot Guillermo Roditi wrote: As one of the developers of Catalyst 5.8 and someone well-acquainted with both Moose and Catalyst and the Moose port of Catalyst, I would

[Catalyst] clear() method for Catalyst::Plugin::Cache?

2009-03-06 Thread Larry Leszczynski
Does it make sense to add a clear() method to Catalyst::Plugin::Cache, in addition to the existing get(), set() and remove()? It seems like a common action for cache manipulation. Any of the various Cache::Cache-based backend flavors should be able to support it out of the box. For specific

Re: [Catalyst] clear() method for Catalyst::Plugin::Cache?

2009-03-06 Thread Jason Kohles
On Mar 6, 2009, at 7:42 PM, Larry Leszczynski wrote: Does it make sense to add a clear() method to Catalyst::Plugin::Cache, in addition to the existing get(), set() and remove()? It seems like a common action for cache manipulation. Any of the various Cache::Cache-based backend flavors

Re: [Catalyst] clear() method for Catalyst::Plugin::Cache?

2009-03-06 Thread Larry Leszczynski
On Fri, 06 Mar 2009 20:11 -0500, Jason Kohles em...@jasonkohles.com wrote: On Mar 6, 2009, at 7:42 PM, Larry Leszczynski wrote: Does it make sense to add a clear() method to Catalyst::Plugin::Cache, in addition to the existing get(), set() and remove()? It seems like a common action

Re: [Catalyst] Catalyst - any good AJAX tutes?

2009-03-06 Thread kakimoto
hello, all :) thanks for the responses to help me out. I was wondering if there are any good tutes that can be recommended for a perl programmer to 1) learn enough to set up the javascript itself ( be it in jQuery, dojo or anything you prefer) 2) learn enough about how to intercept the ajax

[Catalyst] Base URI breakdown

2009-03-06 Thread Trevor Phillips
In a Catalyst app, I need to break down the base request URL to extract hostname, port, etc separately. I could do this with a regexp on $c-request-base, or I could use the URI perl lib, but is there already a way to access this within Catalyst? The docs say that $c-request-base is a string

Re: [Catalyst] Base URI breakdown

2009-03-06 Thread Brian Cassidy
On Fri, Mar 6, 2009 at 11:02 PM, Trevor Phillips trevor.phill...@gmail.com wrote: In a Catalyst app, I need to break down the base request URL to extract hostname, port, etc separately. Could you not use $c-req-uri [1]? -Brian [1]

Re: [Catalyst] Base URI breakdown

2009-03-06 Thread Andrew Rodland
On Friday 06 March 2009 09:02:01 pm Trevor Phillips wrote: In a Catalyst app, I need to break down the base request URL to extract hostname, port, etc separately. I could do this with a regexp on $c-request-base, or I could use the URI perl lib, but is there already a way to access this

Re: [Catalyst] Base URI breakdown

2009-03-06 Thread Trevor Phillips
On Sat, Mar 7, 2009 at 12:25 PM, Andrew Rodland arodl...@comcast.net wrote: $c-req-base is a URI object under all of the Engine types that I'm aware of. Next time I should just try things before assuming the docs are absolute. ^_^ The docs don't promise this, but they don't say it's not