silent processing with python+modpython+cheetah

Bruno Desthuilliers bdesth.quelquechose at free.quelquepart.fr
Sat Oct 21 17:42:51 EDT 2006


Sai Krishna M a écrit :
> Hi,
> 
> I have been working for some time developing web pages using python,
> modpython, cheetah.
> I find that this method has come inherent difficulties in it like if
> we want to generate a single page we have to write two separate files
> ( py & tmpl).
> Is there any other better way of doing things.?

If you need to write specific python module and template for each and 
any page of your site/app, it may be time to google for "content 
management system" and "model view controller".

> Also if we want to have partial processing of the pages, i.e, the
> value one chooses for a particular field determines the value to be
> entered for another field in the same page, how can it be done?

Stop thinking in terms of "page", and you'll be on the way. Or switch to 
Pylons:
http://www.pylonshq.com



More information about the Python-list mailing list