[ANNOUNCE] Python ServerPages 0.7.0a on sourceforge

Jon Brisbin mail at jbrisbin.net
Tue Oct 10 17:47:51 EDT 2000


The Python ServerPages distribution on sourceforge has been updated with the
latest release.  This software is still considered alpha, or pre-beta :-)

You can get it at http://sourceforge.net/projects/pythonpages
It is also mirrored at (with more documentation) at:
http://www.jbrisbin.net/PythonServerPages

What is this PSP implementation?

Python ServerPages is an OpenSource project that seeks to give developers
wishing to embed Python into their HTML pages a consistent and stable parse
engine, which would increase their productivity, while including small,
simple services to reduce repetitive tasks that every developer faces.

The changes to version 0.7.0a include:

* Major bug fixes :-)
* Added html_quote(stuff) function
* Added include(file="file.html") function
* Added a proc_total_time to gauge the speed of parsing and executing the
page
* Added a view_source() function to aid in debugging
* Altered the parsing routine to allow nested parsing

This version of PSP is easier to use (sample code:)

[-
include(file="header.psp")
first_name = Form.name
-]

[+Form.name+]

[$ def do_something(self, param): $]
<h5>[+param+]</h5>
[$ enddef $]

[$ if Form.name == "harry": $]
  [- do_something("Harry") -] is logged in.
[$ endif $]

[- include(file="page2.psp") -]
[- include(file="footer.html") -]

Some documentation is also available at
http://www.jbrisbin.net/PythonServerPages

Enjoy!


Jon Brisbin
www.jbrisbin.net

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Email:  mail at jbrisbin.net
PSP Home:  www.jbrisbin.net/PythonServerPages
Public PGP key:  www.jbrisbin.net/pgpkey.shtml
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++






More information about the Python-list mailing list