>Controller::Root - this was introduced specifically to get action
>methods out of MyApp.pm so you don't run into conflicts (somebody
>creating a 'login' action and then wondering why $c->login wasn't
>happy was a very common mistake before).

If this is The single argument for introducing Controller::Root,
then is a good news! (is no need to force working old Cat-applications
to have a C::Root)

I hope that Controller::Root is a inutile thing; don't use 'login' as your
action-name - use 'sign-in' for example - if this 'login' is a predefined key-word of
the language.
 

On 7/12/06, Matt S Trout < [EMAIL PROTECTED]> wrote:

On 11 Jul 2006, at 23:50, Armin Obersteiner wrote:

> hi!
>
> which should be stronger putting a "sub end" into
> App::Controller::Root
> or into App.pm. (well App::Controller::Root *is* stronger in 5.7 as i
> found out ... but i thought App.pm would/should be ...)
>
> i'm confused ... sorry ... newbie ... where is a good description
> on that?

Controller::Root - this was introduced specifically to get action
methods out of MyApp.pm so you don't run into conflicts (somebody
creating a 'login' action and then wondering why $c->login wasn't
happy was a very common mistake before).

--
Matt S Trout, Technical Director, Shadowcat Systems Ltd.
Offering custom development, consultancy and support contracts for
Catalyst,
DBIx::Class and BAST. Contact mst (at) shadowcatsystems.co.uk for
details.
+ Help us build a better perl ORM: http://dbix-
class.shadowcatsystems.co.uk/ +



_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/



-- vb
Toţi se plâng de bani. Nimeni, de lumină [Anghel Rugină]
_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to