Controlling start en finish of a request
Hello, I need help with ideas on how to solve my little problem here. I need to sort of be "more in control" of a request, meaning that at the beggining of a request I want to set some variables and call some python scripts and at the end of a request I want to set soem other variables and call some other python scripts How would I be able to accomplish that? We sort of have semi-solved it by setting and calling from standard_html_header and standard_html_footer, but that is not enough. IS there a way of achieving what I want to do? I was told on IRC to do look into TransactionManager but I don't know how to make this availabel Zope-wide. Any ideas are appreciated. Thanks, /dario - -------------------------------------------------------------------- Dario Lopez-Kästen, IT Systems & Services Chalmers University of Tech.
You could look at Steve A's TransactionAgents if you're brave... Chris Dario Lopez-Kästen wrote:
Hello,
I need help with ideas on how to solve my little problem here.
I need to sort of be "more in control" of a request, meaning that at the beggining of a request I want to set some variables and call some python scripts and at the end of a request I want to set soem other variables and call some other python scripts
How would I be able to accomplish that? We sort of have semi-solved it by setting and calling from standard_html_header and standard_html_footer, but that is not enough.
IS there a way of achieving what I want to do?
I was told on IRC to do look into TransactionManager but I don't know how to make this availabel Zope-wide.
Any ideas are appreciated.
Thanks,
/dario
- -------------------------------------------------------------------- Dario Lopez-Kästen, IT Systems & Services Chalmers University of Tech.
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
participants (2)
-
Chris Withers -
Dario Lopez-Kästen