Daniel McBrearty wrote: > FWIW ... : what I've noticed about using models (or not) ... : > > 1. the advantage of using a model mostly seems to be that it > autoloads, and then is accessible everywhere from $c. Otherwise, there > doesn't seem to be much difference from just having a normal perl > library. > > 2. so if you just need data/logic for use in one controller, a > standard library may be better.
I generally agree, with one more note. A model that can have different settings for itself inside of Catalyst than it does as a standard module outside of Catalyst. Even then [for me], my Models are usual just glue between Cat specific settings and the non-Cat perl library. -=Chris
signature.asc
Description: OpenPGP digital signature
_______________________________________________ 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/
