[Catalyst] Catalyst::Plugin::Session::State::Cookie and HttpOnly flag

2009-04-14 Thread Scott Thomson
Hi, Currently Catalyst::Plugin::Session::State::Cookie doesn't allow configuration of the HttpOnly flag, it looks trivial to add, so basically I'm wondering whether this idea has been discussed and discounted before and if there is any reason why I shouldn't just patch it? Cheers

[Catalyst] Catalyst::Engine::HTTP::Prefork not used?

2009-04-14 Thread Neo [GC]
Hi, I've read about the prefork-engine for the test-server in another thread, which could be very useful for me (our outsourced codemonkeys sometimes produce VERY SLOW controllers and together with multiple ajax-request, this means waiting ;)). About usage I found only this: $ cpan

Re: [Catalyst] Catalyst::Engine::HTTP::Prefork not used?

2009-04-14 Thread J. Shirley
On Tue, Apr 14, 2009 at 8:25 PM, Neo [GC] n...@gothic-chat.de wrote: Hi, I've read about the prefork-engine for the test-server in another thread, which could be very useful for me (our outsourced codemonkeys sometimes produce VERY SLOW controllers and together with multiple ajax-request,

Re: [Catalyst] Catalyst::Engine::HTTP::Prefork not used? (solved)

2009-04-14 Thread Neo [GC]
J. Shirley schrieb: On Tue, Apr 14, 2009 at 8:25 PM, Neo [GC] n...@gothic-chat.de mailto:n...@gothic-chat.de wrote: Hi, I've read about the prefork-engine for the test-server in another thread, which could be very useful for me (our outsourced codemonkeys sometimes produce

Re: [Catalyst] Catalyst::Engine::HTTP::Prefork not used? (solved)

2009-04-14 Thread Moritz Onken
Am 14.04.2009 um 14:48 schrieb Neo [GC]: J. Shirley schrieb: On Tue, Apr 14, 2009 at 8:25 PM, Neo [GC] n...@gothic-chat.de mailto:n...@gothic-chat.de wrote: Hi, I've read about the prefork-engine for the test-server in another thread, which could be very useful for me (our

[Catalyst] Jason Kohles' tutorial on ExtJs editable data grids and Catalyst

2009-04-14 Thread jagdish eashwar
Hi, I have been able to work through all of Jason Kohles' tutorial except the part about saving changes back in the database. The 'New Person' and 'Discard Changes' in the tool bar are working, but the 'Save Changes' is not. I have checked several times for any typing mistakes that I might have

Re: [Catalyst] Catalyst::Engine::HTTP::Prefork not used? (solved)

2009-04-14 Thread Neo [GC]
Moritz Onken schrieb: Am 14.04.2009 um 14:48 schrieb Neo [GC]: J. Shirley schrieb: On Tue, Apr 14, 2009 at 8:25 PM, Neo [GC] n...@gothic-chat.de mailto:n...@gothic-chat.de wrote: Hi, I've read about the prefork-engine for the test-server in another thread, which could be very

Re: [Catalyst] Using JSON

2009-04-14 Thread Oliver Charles
2009/4/14 Octavian Râşniţă orasn...@gmail.com: Hi, What's the recommended module for getting a JSON request and creating a JSON response in a Catalyst app? (I want to use them with JQuery.) At $work we use Catalyst::View::JSON [1] - which does the job fine for us. For parsing JSON objects, I

Re: [Catalyst] Using JSON

2009-04-14 Thread Neo [GC]
Octavian Râşniţă schrieb: Hi, What's the recommended module for getting a JSON request and creating a JSON response in a Catalyst app? (I want to use them with JQuery.) use JSON; ;) my $json = new JSON; my $object = $json-decode ($string); my $string = $json-encode ($object); (maybe

Re: [Catalyst] Using JSON

2009-04-14 Thread Chisel Wright
On Tue, Apr 14, 2009 at 06:05:53PM +0300, Octavian R???ni wrote: Hi, What's the recommended module for getting a JSON request and creating a JSON response in a Catalyst app? (I want to use them with JQuery.) I tend to use JSON::Any with JSON::XS -- Chisel Wright e:

[Catalyst] Tutorial for cache?

2009-04-14 Thread Alexander Tamm
Hi, I'm trying to find out how to implement caching on a site, preferrably with Cache::FastMmap, but I'm open to suggestions. I'm not including my trial source now, since I'm unsure I have read the correct documentation. Alex -- Alexander Tamm Developer FRANTIC | http://www.frantic.com

Re: [Catalyst] Catalyst::Plugin::Session::State::Cookie and HttpOnly flag

2009-04-14 Thread Tomas Doran
On 14 Apr 2009, at 10:58, Scott Thomson wrote: Currently Catalyst::Plugin::Session::State::Cookie doesn't allow configuration of the HttpOnly flag, it looks trivial to add, so basically I'm wondering whether this idea has been discussed and discounted before and if there is any reason why I

Re: [Catalyst] Using JSON

2009-04-14 Thread W. Tyler Gee
I think the recommended module would be Catalyst::View::JSON and if you want to change anything you just plug in a different driver via the config rather than worrying about altering the View itself. ~Tyler 2009/4/14 Octavian Râşniţă orasn...@gmail.com Hi, What's the recommended module for

Re: [Catalyst] Using JSON

2009-04-14 Thread Devin Austin
Don't forget to check out Catalyst::Controller::REST, especially if you're just going to be using a plugin. On Tue, Apr 14, 2009 at 1:14 PM, James R. Leu j...@mindspring.com wrote: I know is it not recommended, but I use C::P::JSONRPC (with Dojo). In my Root controller I do: sub jsonapi :

Re: [Catalyst] Using JSON

2009-04-14 Thread Tomas Doran
On 14 Apr 2009, at 16:05, Octavian Râşniţă wrote: What's the recommended module for getting a JSON request and creating a JSON response in a Catalyst app? (I want to use them with JQuery.) I'm using Catalyst::Controller::REST to go to/from JSON. HTH t0m

Re: [Catalyst] Tutorial for cache?

2009-04-14 Thread J. Shirley
On Wed, Apr 15, 2009 at 1:11 AM, Alexander Tamm a...@frantic.com wrote: Hi, I'm trying to find out how to implement caching on a site, preferrably with Cache::FastMmap, but I'm open to suggestions. I'm not including my trial source now, since I'm unsure I have read the correct documentation.

Re: [Catalyst] Tutorial for cache?

2009-04-14 Thread Oliver Charles
On Tue, Apr 14, 2009 at 5:11 PM, Alexander Tamm a...@frantic.com wrote: Hi, I'm trying to find out how to implement caching on a site This has been covered quite a bit in the Catalyst advent calendar articles, maybe these will help: http://catalyst.perl.org/calendar/2007/11

Re: [Catalyst] Using JSON

2009-04-14 Thread J. Shirley
On Wed, Apr 15, 2009 at 10:27 AM, Oliver Charles oliver.g.char...@googlemail.com wrote: 2009/4/14 J. Shirley jshir...@gmail.com: The other solutions above that don't have you using View::JSON are wrong. Use Catalyst::View::JSON. Do not use other things Presumably this is only for

Re: [Catalyst] Using JSON

2009-04-14 Thread Octavian Rasnita
Ok, thank you all for your recommendations. So C::V::JSON would be the way to go for creating JSON and C::C::REST for creating/parsing. I don't know yet if I would need to parse JSON if I use JQuery because I've seen that it can get the data in JSON format, but it sends the requests to the