LinuxWorld: How to Add Spyce to Your Life
Nov 11, 2002, 07:00 (0 Talkback[s])
(Other stories by Nicholas Petreley)
"There's a new method for doing server-side Python scripting for
Web applications in town, and its name is spyce. Spyce takes an
approach similar to PHP. It lets you intermingle Python scripts,
statements and variables with HTML to produce dynamically generated
Web pages. You could do the same thing with Python Server Pages
(PSP) and Webware, but that approach forces you to run a separate
Python-based application server alongside Apache. Spyce lets you
avoid the extra application server because it can run via the
Apache mod_python module, fastcgi, or plain CGI.
"I happen to like the Python language, so I downloaded the
software from the link provided in the resources section below. The
installation is manual, but it's a cinch. My uneducated guess is
that mod_python will probably give me the best performance, so I
choose that method for using spyce. Here are the configuration
options I add to my httpd.conf file for Apache version 1.3, which
is what my server is set up to use..."
Complete
Story
Related Story:
Python-URL! - Weekly Python News and Links (July 1)(Jul 02,
2002)