Hi!

> I was wondering if anyone has stored the templates in a database before,
> instead of in files, and if it worked well.

I use a pure database solution for templates, and it works well. I fetch 
the template from the database and initialize the template with the 
'scalarref' option to HTML::Template->new().

Of course, this has a bad impact on performance (I can't use caching, JIT,
etc), but I'm running a very small site, so performance is not an issue.

Stefan

-- 
Stefan Svensson                     Phone: +46-90-135000
Himlastigen 14                      WWW: http://raggmunk.nu/
906 41 Ume�, Sweden                 ICQ: 1956984



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to