twisted web +nevow in development mode

hi there. i am interested if there is any howto for running twisted web in a development mode. basically right now all my Resources are loaded on startup. the code changes i make in my classes are not visible until i do a restart. the restart is slow sometimes + you loose the session data. so i was thinking if there is something like the .rpy "scripts" which are executed on each request. or like turbogears (cherrypy) has in dev mode, the option to reload the "modules" on each request. or, are there any other workflows i should follow to develop a twisted web nevow application ? thank you for your response ! -- Catalin Constantin Bounce Software http://www.bounce-software.com http://www.cabanova.ro

On Fri, Oct 14, 2005 at 04:20:07PM +0200, Catalin Constantin wrote:
or, are there any other workflows i should follow to develop a twisted web nevow application ?
No, and recent development in the frameworks you cited are heading towards the same conclusion (stopping the process and restarting a new one, I remember to have read the code from somebody from cherrypy2 that implemented a spawner thread that spawns a new process that spawns an observer thread on the files of the project and blabla. There you loose the session data too except that it's a tiny bit faster to restart (but restarts nonetheless). Just avoid writing much stan and keep more templates flying around (you can modify them as you prefer without restarting anything). Also when you usually develop something you often change state and constructors, which means that reloading is useless anyway (you really need to stop and restart). -- Valentino Volonghi aka Dialtone Now Running MacOSX 10.4 Blog: http://vvolonghi.blogspot.com http://weever.berlios.de
participants (2)
-
Catalin Constantin
-
Valentino Volonghi aka Dialtone