Ian, >> I want to write web apps in TurboGears that will be used to make cheap >> non dynamic hosting appear a little more dynamic without them needing to >> host their own applications. > > OK... so you either need static publishing (blogger-style), or various > client-side templating options, like Javascript includes, iframes, etc. > These are all outside the realm of deployment...
Agreed. I am looking at deploying applications on my server for Churches to do useful admin type things. Some of these (like the services list) will then semi dynamically update their web pages, but that process is separate to the deployment and ui of my web application. >> So for this type of webapp which is going to be free I need to be able >> to host as easily as possible on my textdrive account. I don't want a >> shared database and I don't want to have to create new >> configurations/instances each time a church registers. > > Then you need to programmatically instantiate the applications. At > least in Paste Deploy, the configuration files map very closely to > function calls, so you can construct your own database-driven > application dispatcher. You would do this in Python, since you really > need programming to do this kind of dispatching. *Possibly* there could > be a framework for this sort of multi-client install situation; but > there isn't and probably won't/shouldn't be until lots of people are > doing it. Is there not a choice? a) Do this in Paste Deploy as described above b) Do this in TurboGears so that I have a custom version of the Hub that gets connections per request (and caches them) where the connection URI is to a database calculated from the url. At the moment b) looks faster to develop as - so far as I understand it Paste and TurboGears are not fully synced up - I can get TurboGears working on TextDrive using published HowTos so that I can take my turbogears app as an egg and install it (using the Virtual Python trick). - Choosing b) does not stop me changing my deployment options in the future when Paste and TurboGears have moved onward a bit (and that key CherryPy ticket). Dave

