News

[17/Sep/2009:19:20] Release 0.5 includes Open Flash Chart support.

[01/Jul/2009:10:50] Repoze.who authentication tutorial added

[22/Jun/2009:11:36] AJAX calculator tutorial added.

[01/May/2009:14:15] MVC/SQL based wiki tutorial added.



Contact Email:



view source
W1000_1200.
Execution.
whiff



Download instructions
at whiff.sourceforge.net
project page
.
WHIFF DOCUMENTION

Execution Parameters

Most things which vary between different accesses to the same application are execution parameters. WHIFF Execution parameters are embedded in the WSGI environment dictionary. WHIFF supports primatives and naming conventions for accessing the WSGI environment.

WHIFF Execution parameters are embedded in the WSGI environment dictionary. A prefix based naming convention allows a WHIFF component to interact with different elements of the environment dictionary depending on the execution context.

There are two main categories of execution parameters -- environment parameters which convey information about the server settings and the HTTP request, and CGI form parameters which store information from HTML forms submitted by the request.  

×
Usually CGI form argument values come from input elements in HTML forms. The WHIFF infrastructure includes some AJAXy support modules which sometimes uses the CGI data entries to pass values directly from javascript on the client to an application on the server.

WHIFF includes APIs and directives which allow applications to access or modify the execution environment. For example the following configuration template uses the env directive to install some values in the execution environment, the cgi-default directive to install a default form argument value if no form value was submitted, and the get-cgi directive to extract a value submitted from a cgi-form.

whiff source generated page formatted output
temp content

[under construction]

0 comments.
Care to comment?
name: (required)
- email (not published):
comment: (required)

<< security number? >>