pnotes
[prev]
[thread]
[next]
[Date index for 2004/11/24]
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
 |
pnotes
Arshavir Grigorian 19:54 on 24 Nov 2004
|