Making a pass form cgi => webpy framework
rusi
rustompmody at gmail.com
Mon Jun 24 00:49:13 EDT 2013
On Monday, June 24, 2013 10:07:57 AM UTC+5:30, Michael Torrie wrote:
> On 06/23/2013 07:44 PM, Νίκος wrote:
>
> > Why use mako's approach which requires 2 files(an html template and the
> > actual python script rendering the data) when i can have simple print
> > statements inside 1 files(my files.py script) ?
> > After all its only one html table i wish to display.
Thats a well-known very widely used technology. Its called php
>
> Sooner or later your needs grow to the point where your single python
> CGI file is mixing so much html and python code that it becomes unwieldy.
Some people find even a 2-way separation messy.
Here's 3-way http://www.kuwata-lab.com/kwartz/ (or is it 4? Dunno...)
More information about the Python-list
mailing list