Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Catalyst: Dev

Why is APP not instantiated?

 

 

Catalyst dev RSS feed   Index | Next | Previous | View Threaded


groditi at gmail

May 20, 2008, 9:05 AM

Post #1 of 1 (247 views)
Permalink
Why is APP not instantiated?

All components which can->(COMPONENT) are treated as instances by
catalyst at setup component time. MyApp ISA Catalyst which ISA
Component and in some cases also isa Controller which ISA component as
well. MyApp however gets fancy special treatment and is not
instantiated.

instantiating it does not break the test suite
if we can guarantee that $self will be an instance in
Controller::action_namespace that would make my life a lot easier, it
would also likely buy us some startup and runtime gains as well as
eliminate a decent chunk of code

I am going to make this change, if you have good reason to believe
this is a Bad Idea then please tell me so, via email to this list
outlining why exactly this is not good along with a broken _usage_
case. Complaints without proof of breakage will be ignored. The Moose
port has been having problems because people are quick to voice their
opinions without really really thinking about things and it's created
a bit of extra work for me and konobi.


--
Guillermo Roditi (groditi)

_______________________________________________
Catalyst-dev mailing list
Catalyst-dev[at]lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst-dev

Catalyst dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.