WebStack

docs/index.html

733:26865b172666
2007-11-12 paulb [project @ 2007-11-12 00:51:34 by paulb] Added a StringResource class for simple static resources. Introduced base classes for common authentication activities. Merged "app", "path" and "qs" fields into a single "app" field for login and redirection. Added support for OpenID authentication.
     1 <?xml version="1.0" encoding="iso-8859-1"?>     2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">     3 <html xmlns="http://www.w3.org/1999/xhtml"><head>     4   <title>Creating Web Applications with WebStack</title>     5   <link href="styles.css" rel="stylesheet" type="text/css" /></head>     6 <body>     7 <h1>Creating Web Applications with WebStack</h1>     8 <p>This introductory guide describes the process of making a Web     9 application    10 using the WebStack framework.</p>    11 <h2>Setting Up</h2>    12 <p>First of all, let us assume that the WebStack distribution has been    13 unpacked and now sits in the <code>WebStack-1.2.7</code> directory.</p>    14 <p>Before we begin, we must make sure that the WebStack package is    15 available    16 to Python. The easiest way to do this is to change into the    17 <code>WebStack-1.2.7</code> directory and to run the <code>setup.py</code>    18 script provided with the version of Python you are going to be using    19 (possibly as a privileged user like <code>root</code>):</p>    20 <pre>cd WebStack-1.2.7<br />python setup.py install</pre>    21 <p>If you don't want to install WebStack in this way, or if you can't    22 do so    23 because you don't have <code>root</code> privileges, you can just make    24 sure    25 that the <code>WebStack-1.2.7</code> directory sits on your    26 <code>PYTHONPATH</code>.</p>    27 <h2>Supported Frameworks</h2><p>With the help of Python's built-in    28 standard library, WebStack can run without any additional software, but    29 you may wish to investigate the other supported frameworks in order to    30 run WebStack applications in other environments.</p><ul><li><a href="supported-frameworks.html">Supported Frameworks</a></li></ul><h2>Viewing the API Documentation</h2>    31 <p>The API documentation for use in conjunction with this    32 guide can be found inside the <a href="../apidocs/index.html"><code>apidocs</code></a>    33 directory within the <code>WebStack-1.2.7</code> directory. Of course,    34 it is always possible to view WebStack's API documentation    35 within Python by importing modules (such as <a href="../apidocs/public/WebStack.Generic-module.html"><code>WebStack.Generic</code></a>)    36 and using Python's built-in <code>help</code> function.</p>    37 <h2>About WebStack Applications</h2>    38 <ul>    39   <li><a href="anatomy.html">Anatomy of a WebStack Application</a></li><li><a href="developing.html">Developing a WebStack Application</a></li></ul>    40 </body></html>