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 proces
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 MyApp::Contro
On Tue, Nov 23, 2010 at 8:16 AM, Sir Robert Burbridge wrote:
>
> 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? ;)
--
Bill Mosele
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
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.
Tha
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
has_f
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
What's the advantage of Catalyst::Plugin::ConfigLoader::Multi over
setting the env var MY_APP_CONFIG_LOCAL_SUFFIX?
--
Best regards, Alex
On Mon, 2010-11-22 at 16:53 +0100, Martin Bendix wrote:
> > Have a look at this article
> > http://www.catalystframework.org/calendar/2007/14 which covers using
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 l
On Mon, Nov 22, 2010 at 3:12 PM, Aristotle Pagaltzis 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 the user canno
On Mon, Nov 22, 2010 at 7:33 PM, Tomas Doran 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 Catalyst::Action::Deserialize::JSONP, I'l
From: Sir Robert Burbridge
To: The elegant MVC web framework
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
structure I've found most useful so far:
### t
On 23 November 2010 15:34, Oleg Kostyuk 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 ] )
The '
2010/11/23 Eden Cardim :
> 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 url, please?
> You'
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') stop
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 thi
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" w
- Original Message
> From: Eden Cardim
> To: The elegant MVC web framework
> Sent: Tue, 23 November, 2010 0:59:18
> Subject: Re: [Catalyst] Begginer's question about application structure
>
> > "Martin" == Martin Bendix writes:
>
> Martin> My model should be well separated f
18 matches
Mail list logo