[Tutor] Why not to use include?

Dotan Cohen dotancohen at gmail.com
Sun Jun 8 23:24:14 CEST 2008


2008/6/8 Michael Langford <mlangford.cs03 at gtalumni.org>:
> Python makes web pages just fine. There are both embedded technologies
> (such as the python server pages Kent mentioned above) and template
> engines based on callbacks (such as django's templates, djangos the
> whole way, etc).
>
> Its extremely easy to make your own templating engine if you don't
> like python server pages yet you like templating. (Using mod_python or
> mod_wsgi[recommended] and the substitute function).
>
> I suggest you really give wsgi (and mod_wsgi) a good hard look to
> start off with, as its the python web standard now that all the other
> toolkits are starting to conform to (or already do).
> http://www.wsgi.org/wsgi/
>
> Also, be very careful with memory in web python frameworks. Most php
> processes die every time they are invoked from the web. Often python
> web frameworks are more persistent then that:
> http://blog.ianbicking.org/2008/01/12/what-php-deployment-gets-right/
>

Thank you very much, I will keep that in mind. If I do not have root
access, what is the best way to check memory usage? I do have SSH
access, of course.

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?


More information about the Tutor mailing list