Hi All,

> As it looks you are doing translations, have you considered using something 
> like Locale::Maketext ?

I'm actually not doing translations.  It just seemed like a convenient
example!  Essentially I'd like to be able to do a large amount of
quick lookups without weighing down the system.

> For something small that only lives on one machine, a dbm file will be
> faster and easier to use.  You can just SDBM_File to get started.

Thanks for the tip, Perrin.  Would you also recommend SDBM_File over
the "global defined in the Mason handler" approach that was mentioned?

> I would also point out that if you use MySQL it caches quick lookups
> like this so they are extremely fast.  You might want to try it before
> you bother adding another storage mechanism.

I am using MySQL, but an additional 50+ selects per web page, on top
of other data retrieval, I thought might get me into trouble.  This
might be an incorrect assumption, though.

Thanks for the replies, and I apologize if this is a little off-topic.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to