Re: [Catalyst] Begginer's question about application structure

2010-11-23 Thread Martin Bendix
- Original Message From: Eden Cardim edencar...@gmail.com To: The elegant MVC web framework catalyst@lists.scsys.co.uk Sent: Tue, 23 November, 2010 0:59:18 Subject: Re: [Catalyst] Begginer's question about application structure Martin == Martin Bendix martinben...@yahoo.co.uk

[Catalyst] Re: DBI handle without magic when calling with dump_info=1 after updating Catalyst::Runtime

2010-11-23 Thread Matthias Dietrich
Hi Jeremy, Am 23.11.2010 um 09:55 schrieb Jeremy Dack: Did you ever find a solution to the problem below as I’ve started to get the exact same issue on my windows box? I'm sorry I haven't and I'm still living with that issue. Maybe the list could help? Re: DBI handle without magic when

[Catalyst] Re: DBI handle without magic when calling with dump_info=1 after updating Catalyst::Runtime

2010-11-23 Thread Matthias Dietrich
Hi Jeremy, I cc'ed the list again so they all can see that we discuss about this :-). Am 23.11.2010 um 14:13 schrieb Jeremy Dack: The problem seems to be with RenderView, do you use any custom views like JSON or is all your output HTML? I use some other views than HTML in some apps, but this

[Catalyst] RE: DBI handle without magic when calling with dump_info=1 after updating Catalyst::Runtime

2010-11-23 Thread Jeremy Dack
Matt, I have multiple views in my view folder but I am not using them at present; however just their presence seems to be enough to cause the resultset error. I've found that adding: $c-config-{'Action::RenderView'}-{ignore_classes} = []; To my root sub end : ActionClass('RenderView') stops

Re: [Catalyst] Multiple chain sources?

2010-11-23 Thread Oleg Kostyuk
2010/11/23 Eden Cardim edencar...@gmail.com: No, that's currently not possible with chained. Matt and I, howeever, are working on a grammar-based dispatcher that will allow easy expression of those types of constructs. I would like to get more details about this. Is it possible to get repo

Re: [Catalyst] Multiple chain sources?

2010-11-23 Thread Bill Crawford
On 23 November 2010 15:34, Oleg Kostyuk cub.ua...@gmail.com wrote:   $c-forward( $action [, \...@arguments ] ) As I think, $c-forward(user = [$c-user-id]) isn't one of them. So, what this should mean? $c-forward( $action [, \...@arguments ]) $c-forward( 'user' , [ $c-user-id ]

Re: [Catalyst] Begginer's question about application structure

2010-11-23 Thread Sir Robert Burbridge
From: Sir Robert Burbridgerburb...@cisco.com To: The elegant MVC web frameworkcatalyst@lists.scsys.co.uk Sent: Mon, 22 November, 2010 17:20:16 Subject: Re: [Catalyst] Begginer's question about application structure I use DBIx::Class with multiple interfaces in the same app; this is the

Re: [Catalyst] Converting a GET request to a POST request

2010-11-23 Thread Ronald J Kimball
On Mon, Nov 22, 2010 at 7:33 PM, Tomas Doran bobtf...@bobtfish.net wrote: On 22 Nov 2010, at 18:28, Ronald J Kimball wrote: It doesn't care what the request method is, as long as it's POST, PUT, OPTIONS, or DELETE.  ;) No, it just doesn't care. If I create

Re: [Catalyst] Re: Converting a GET request to a POST request

2010-11-23 Thread Ronald J Kimball
On Mon, Nov 22, 2010 at 3:12 PM, Aristotle Pagaltzis pagalt...@gmx.de wrote: This is really, really, really bad. It’s roughly like modifying a file system to be allow file deletion as a side effect of opening a file. GET is supposed to be safe, that is, it should be free of side effects that

Re: [Catalyst] Re: Trying out FormHandler, running into maketext error

2010-11-23 Thread Alexander Hartmaier
Perl is case sensitive. Also you should not have any non Catalyst::Controller subclasses in the Controller namespace of your app. Move you forms to My::App::Form for example. -- Best regards, Alex On Mon, 2010-11-22 at 18:25 +0100, will trillich wrote: Ooh, very nice! Thanks so much, that's

Re: [Catalyst] Forward on to other actions after removing first path segment?

2010-11-23 Thread Alexander Hartmaier
Have you thought about making the date a parameter instead of part of the uri? -- Best regards, Alex On Mon, 2010-11-15 at 20:10 +0100, Dorian Taylor (Lists) wrote: Hi Larry, On 15-Nov-10, at 10:55 AM, Larry Leszczynski wrote: Hi Dorian - OK, but the part that confuses me is why /foo

Re: [Catalyst] Re: Trying out FormHandler, running into maketext error

2010-11-23 Thread will trillich
Not sure what your case sensitive remark refers to -- and if it's looking for something to be defined XXX that's defined xxx instead, that particular error message is really out of left field. Do you mean something like has_field 'submit' = ( widget = 'submit' ) should instead be

[Catalyst] Catalyst::Authentication::Credential::OAuth

2010-11-23 Thread Blaine Everingham
Hi, I was wondering if anyone has a simple example of using OAuth with facebook to allow user login, to your software. I keep getting the error oauth_parameters_absent:scope, but Catalyst::Authentication::Credential::OAuth document does not outline where you are supposed to enter this.

Re: [Catalyst] Catalyst::Authentication::Credential::OAuth

2010-11-23 Thread Hernan Lopes
To integrate facebook login onto your site, Have you tried Catalyst::Authentication::Credential::FBConnect ? It works and lets you access users facebook id from $c-user-session_uid as documented 1. You need to register under http://developers.facebook.com and register a new application. You must

Re: [Catalyst] Begginer's question about application structure

2010-11-23 Thread Bill Moseley
On Tue, Nov 23, 2010 at 8:16 AM, Sir Robert Burbridge rburb...@cisco.comwrote: By the way, I forgot to mention one piece of practical advice when determining what should be in your controller vs. model: *Write your controller first.* Don't you mean second? After writing the tests? ;) --

[Catalyst] Per request data in controller base class

2010-11-23 Thread Bill Moseley
I have a controller base class that needs to stash some data per request. My question is where to put that data (stash would seem best) -- and how to name it. This class is an auto-CRUD-like controller base class that does the mundane work of fetching objects. For example: package

Re: [Catalyst] Per request data in controller base class

2010-11-23 Thread Peter Karman
Bill Moseley wrote on 11/23/10 8:12 PM: Now, controllers can be chained together, so for example I might have a chain /cd/*/track/*/movement/* which all use the same base class, and where in the movement action I might want to be able to fetch the cd and track objects fetched when processing