Categories


Poor Man's Zope

Raiting 3.00

Description

This poor man’s zope (PMZ) is small script which helps you to combine HTML and Python script. This tool which can be easily integrate Python into your HTML pages is very much similar to Microsoft ASP or PHP3/4. How does PMZ works? All your HTML files with embedded Python statements must have the extension .pmz. all files with this suffix are handed from the web server to the pmz.py script (see installation description below). Any Python code between and is executed with the Python exec() function (or RExec.r_exec when configured for restricted execution). Error handling: In the case of an error during the execution of Python code inside a .pmz file the script will display the error including its Python traceback. Configuration: All configuration settings are stored in the dictionary _settings at the beginning of the pmz.py script. The keys represent the locations where .pmz are allowed to reside. These paths components are treated as regular expression and are matched against the path of the .pmz file. For every directory or path component we have a set of variable that are stored in a list. At the moment we support the following variables

Information
Title: Poor Man's Zope
Author: admin00114
Price / Cost: Free
Last Updated: 2002-07-25
URL: Click to Visit
Total Votes: 8
Current Rating: 3.85
Total Hits #: 1038
Listings ID #: 1804