spyce
         
home     documentation     download     Spyce logo


Documentation - Runtime

Prev: 2.9 - ASP/JSP syntax Up: Table of Contents Next: 3.1 - Exceptions

3. RUNTIME

Having covered the Spyce language syntax, we now move to describing the runtime processing. Each time a request comes in, the cache of compiled Spyce files is checked for the compiled version of the requisite Spyce file. If one is not found, the Spyce file is quickly read, transformed, compiled and cached for future use.

The compiled Spyce is initialized, then processed, then finalized. The initialization consists of initializing all the Spyce modules. The Spyce file is executed top-down, until the end is reached or an exception is thrown, whichever comes first. The finalization step then finalizes each module in reverse order of initialization, and any buffered output is automatically flushed.


Prev: 2.9 - ASP/JSP syntax Up: Table of Contents Next: 3.1 - Exceptions

Sub-sections:


Spyce logo
Python Server Pages
version 2.1.3
Spyce Powered SourceForge Logo