Quixote 0.3 released
Andrew Kuchling
akuchlin@mems-exchange.org
Mon, 11 Jun 2001 11:58:16 -0400
Version 0.3 of the Quixote Web development toolkit is now available.
Quixote uses a Python package to store all the code and HTML for a
Web-based application. PTL, Python Template Language, is used to mix
HTML with Python code; the basic syntax looks just like Python, but
expressions are converted to strings and appended to the output.
Notable changes in this version are:
* Now supports Python 2.1.
* Names of the form __*__ are reserved for Python, and 2.1 is
beginning to enforce this rule. Accordingly the Quixote special
methods have been renamed:
__access__ -> _q_access
__exports__ -> _q_exports
__getname__ -> _q_getname
index -> _q_index
* Massive changes to quixote.publisher and quixote.config, to make
the publishing loop more flexible and more easily changed by
applications. For example, it's now possible to catch the
ZODB's ConflictErrors and retry an operation.
* quixote.publish can now gzip-compress its output if the browser
claims to support it. Only the 'gzip' and 'x-gzip' content
encodings are supported; 'deflate' isn't because we couldn't get
it to work reliably. Compression can be enabled by setting the
'compress_pages' config option to true.
As usual, some of these changes are incompatible with the previous
version.
The Quixote home page is at:
http://www.mems-exchange.org/software/python/quixote/
The code can be downloaded from:
http://www.mems-exchange.org/software/files/quixote/
Discussion of Quixote occurs on the quixote-users mailing list:
http://www.mems-exchange.org/mailman/listinfo/quixote-users/
--amk