[Catalyst] Reading Database At Startup

Ovid publiustemp-catalyst at yahoo.com
Sun Aug 16 16:58:32 GMT 2009


----- Original Message ----

> From: John Romkey <romkey at apocalypse.org>

> I do something like this; on my app I have a list of towns and states that I 
> need to build from the database and is fairly static.
> 
> What I do is build it on demand and cache the results using 
> Catalyst::Plugin::Cache and Catalyst::Plugin::Cache::Store::Memory


Works like a charm.  Thanks :)

Cheers,
Ovid
--
Buy the book         - http://www.oreilly.com/catalog/perlhks/
Tech blog            - http://use.perl.org/~Ovid/journal/
Twitter              - http://twitter.com/OvidPerl
Official Perl 6 Wiki - http://www.perlfoundation.org/perl6



More information about the Catalyst mailing list