[Catalyst] Model Instances vs. Model Classes - Round 2
Alejandro Imass
alejandro.imass at gmail.com
Fri May 20 18:22:30 GMT 2011
On Thu, May 19, 2011 at 7:06 PM, Benjamin Hitz <hitz at stanford.edu> wrote:
[...]
> Would like to see that. Some of us don't follow all this abstract computer science jargon that well.
>
Granted, after re-reading my posts _I_ don't even understand them
> Also - can you comment on the following:
>
> WARNING WARNING WARNING
>
> Using this module is somewhat of a hack. Changing the state of your objects on every request is a pretty braindead way of doing OO. If you want your application to be brain-live, then you should use Catalyst::Component::InstancePerContext.
>
> (appears in POD for Catalyst::Component::ACCEPT_CONTEXT - which I was reviewing because of your email... apparently I must have read this once and told my self "Never do this")
>
Ok. Why don't we start with a simple and plain definition of what is
meant by Class "Type" in Catalyst jargon:
- class
- instance
--
Alex
More information about the Catalyst
mailing list