[Edu-sig] java vs. python....

Jason Cunliffe Jason Cunliffe" <jasonic@nomadics.org
Sat, 7 Sep 2002 13:30:43 -0400


Python Server Pages

There are many Python Server Pages toolkits to choose from. 'Spyce' is one of
them...
It's new and looks very nice. The site is helpful and very clear. So even if you
don't use Spyce, but are consdering Python Server pages, it would time well
spent. Includes short focused comparisons with other langauge offerings. [ =>>
bullet points]

http://spyce.sourceforge.net/

"SPYCE is a webserver plugin that supports simple and efficient Python-based
dynamic HTML scripting. Those who like Python and are familiar with JSP, or PHP,
or ASP, should have a look at this engine. It allows one to generate dynamic
HTML content just as easily, using Python for the dynamic parts. Its modular
design makes it very flexible and extensible. It supports FastCGI, CGI and
mod_python to plugin into Apache and most other webservers. It can also be used
as a command-line utility for HTML pre-processing or as a web server proxy. The
easiest way to understand what Spyce can do is just to look through the examples
in the documentation."

http://spyce.sourceforge.net/doc_eg.html
...

"Java Server Pages, JSP, is a widely popular, effective and well-supported
solution based on Java Servlet technology. Spyce differs from JSP in that it
embeds Python code among the HTML, thus providing two advantages over Java.
First, Python is a high-level scripting language, where rapid manipulation of
text is more readily performed. Second, Python is interpreted and
dynamically-typed, which can be advantageous for rapid prototyping. Like Java,
Python is portable."

...
Performance
"Although flexibility usually outweighs raw performance in the choice of
technology, it is nice to know that the technology that you have chosen is not a
resource hog, and can scale to large production sites. The current Spyce
implementation is comparable to its cousin technologies: JSP, PHP and ASP."
http://spyce.sourceforge.net/doc_perf.html

./Jason