Re: [Catalyst] Ajax

2007-08-06 Thread Matthew Pitts
On Sun, 2007-08-05 at 22:27 -0500, Jonathan T. Rockway wrote: I tend to use Catalyst::Controller::REST and let it handle serialization / deserialization for me. Technically not MVC, but since it's not code I have to look at, I don't care. It's a bit smarter than View::JSON in that it will

[Catalyst] People keep using that word. I do not think it means whay they think it means. (was: Ajax)

2007-08-06 Thread A. Pagaltzis
* Matthew Pitts [EMAIL PROTECTED] [2007-08-06 15:25]: It's far from pure REST None of the things on CPAN that have REST in their name have much to do with REST. Few people have any idea what REST really means. (It's actually very simple, just very abstract.) Regards, -- Aristotle Pagaltzis //

[Catalyst] How to execute controller at startup

2007-08-06 Thread Aditya Verma
Hi, I am new to catalyst. I have developed an application using Catalyst. I need all my controllers to execute at startup and register there method URLs. I am not getting how to execute controller at startup. Please help me. Thanks, Aditya ___ List:

Re: [Catalyst] How to execute controller at startup

2007-08-06 Thread eden
On 8/6/07, Aditya Verma [EMAIL PROTECTED] wrote: Hi, I am new to catalyst. I have developed an application using Catalyst. I need all my controllers to execute at startup and register there method URLs. I am not getting how to execute controller at startup. I wonder what you mean by

Re: [Catalyst] How to execute controller at startup

2007-08-06 Thread Chisel Wright
On Mon, Aug 06, 2007 at 08:09:32PM +0530, Aditya Verma wrote: I need all my controllers to execute at startup and register there method URLs. I am not getting how to execute controller at startup. I'm confused ... all of my actions are automagically detected. I don't understand why

Re: [Catalyst] People keep using that word. I do not think it means whay they think it means. (was: Ajax)

2007-08-06 Thread Matthew Pitts
On Mon, 2007-08-06 at 16:19 +0200, A. Pagaltzis wrote: * Matthew Pitts [EMAIL PROTECTED] [2007-08-06 15:25]: It's far from pure REST None of the things on CPAN that have REST in their name have much to do with REST. Few people have any idea what REST really means. (It's actually very

Re: [Catalyst] How to execute controller at startup

2007-08-06 Thread John Napiorkowski
--- Aditya Verma [EMAIL PROTECTED] wrote: Hi, I am new to catalyst. I have developed an application using Catalyst. I need all my controllers to execute at startup and register there method URLs. I am not getting how to execute controller at startup. Please help me. Thanks,

[Catalyst] firing a POST method with Test::WWW::Mechanize

2007-08-06 Thread Daniel McBrearty
I want to do this by just making the POST request (not telling $mech to click/submit somewhere). I don't see any obvious way of doing it. any ideas? D ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst

[Catalyst] mod_proxy and https

2007-08-06 Thread Duncan Ferguson
Hiya list, If I have read the archives correctly, the only way to use http and https to the front end it to have 2 backend servers, once running http, the other forced to https, otherwise uri_for will not return the correct paths to the front end on the https ports. Is this still the

Re: [Catalyst] firing a POST method with Test::WWW::Mechanize

2007-08-06 Thread Michael Reece
Test::WWW::Mechanize isa LWP::UserAgent, so why not.. # like LWP docs.. my $req = HTTP::Request-new(POST = $uri); $req-content_type('application/x-www-form-urlencoded'); $req-content('foo=baromg=lol'); $mech-request($req); ok($mech-success, 'POST succeeded'); On Aug 6, 2007, at

Re: [Catalyst] mod_proxy and https

2007-08-06 Thread Bill Moseley
On Mon, Aug 06, 2007 at 05:40:29PM +0100, Duncan Ferguson wrote: Hiya list, If I have read the archives correctly, the only way to use http and https to the front end it to have 2 backend servers, once running http, the other forced to https, otherwise uri_for will not return the

Re: [Catalyst] mod_proxy and https

2007-08-06 Thread Jonathan T. Rockway
On Mon, Aug 06, 2007 at 12:23:43PM -0500, Dave Rolsky wrote: On Mon, 6 Aug 2007, Duncan Ferguson wrote: For SSL you'd send X-Forwarded-Is-SSL with some true value. Hopefully this will be merged into the Catalyst trunk sometime soonish. I think we intend to get this into the next maint release

[Catalyst] overload/override sub? (Session::PerUser)

2007-08-06 Thread Fernan Aguero
Hi, I'd like to overload (or would it be override?) the merge_session_to_user sub in Catalyst::Plugin::Session::PerUser to be able to guide the hash merge (i.e. create new hash value keys for conflicting keys). Now, where and how should I do the overriding? Excuse my ignorance ... but I've never

Re: [Catalyst] overload/override sub? (Session::PerUser)

2007-08-06 Thread Ash Berlin
Fernan Aguero wrote: Hi, I'd like to overload (or would it be override?) the merge_session_to_user sub in Catalyst::Plugin::Session::PerUser to be able to guide the hash merge (i.e. create new hash value keys for conflicting keys). Now, where and how should I do the overriding? Excuse