perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arshavir Grigorian ...@m-cam.com>
Subject pnotes
Date Wed, 24 Nov 2004 19:54:03 GMT
Hello list,

I have module called Application which handles all the requests to the 
site (except for images, etc) and then dispatches the request to a 
different module based on the $r->path_info().

I am thinking about creating a Template Toolkit object and a DBI handle 
in Application::handler() and storing it in the request object's 
pnotes() before dispatching the request. The other modules that do the 
actual work, will then get those 2 "handles" from the request object 
which is passed to them anyways. Are there any problems with this approach?
Thanks.



Arshavir

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Mime
View raw message