[Catalyst] Getting Started

David Storrs dstorrs at dstorrs.com
Fri Aug 5 23:03:19 CEST 2005


On Aug 5, 2005, at 4:38 PM, Christopher H. Laco wrote:

> What about things (data) that are needed for every page on a site,  
> like cart count for example. It would seem that the easiest way  
> would be to make a plugin instead of having every controller set a  
> count in its sub.
>
> Is there some sort of guideline of when things need to be plugins  
> vs. Models?


Well, if it's truly global to every page, then I would probably store  
it in the database.  But that's just me.


--Dks



More information about the Catalyst mailing list