Pythonic way of web-programming

Ian Bicking ianb at colorstudy.com
Mon Apr 7 04:10:22 CEST 2003


On Sun, 2003-04-06 at 20:58, Lothar Scholz wrote:
> No its not a naturally tailored web-programming language, because it
> is very hard to integrate in Server Pages. You have to change the
> indentation syntax/semantic of python to embedd it in a real useable
> way.  This is done by Webware but it looks very strange to normal python
> programmers.

OTOH, it's rather easy to integrate HTML into Python code -- easier than
many other languages (maybe Perl is better, PHP isn't).

> Of course you can use template systems. But this is not always a good
> economic decision.

If you want a quick solution, then I'd recommend using no template at
all.  If you want real templating, Server Pages aren't a particularly
good implementation.

  Ian







More information about the Python-list mailing list