application.html   [plain text]


<html>
    <head>
        <title>Our Twisted Application Class - RunHome</title>
    </head>
    <body bgcolor="white">
<h1>Our Twisted Application Class - RunHome</h1>

<h2>A Very Simple Server</h2>
<p>
The module RunHome is the engine that makes our application run. Setting up
a web server is very simple in Twisted, and since this example doesn't require
anything too fancy, I'll explain what each line does in the following code without
too much discussion afterwards.
</p>

<a href="src/RunHome2.py" class="py-listing"></a>

<h2>Further Reading</h2>
<p>
<b>twisted.internet.app is now deprecated!</b>
</p>
<p>I'd originally wrote this little piece using a deprecated module. 
Unfortunately I'm not quite sure where the documentation is for the new module
twisted.application...but I promise to make it available here as soon as the information
becomes available. In the meantime...
</p>
<p>
For more information on Site objects, Resource objects and trees, and lots of
other material related to setting up a web application server using twisted.web
see
<a href="http://www.twistedmatrix.com/documents/howto/using-twistedweb">
Configuring and Using the Twisted.Web Server</a>
</p>

        <!-- Navigation Links ------------------------ -->
        <p>
        <table cellpadding="" cellspacing="5" border="0">
            <tr>
                <td>
                    <a href="homepage.xhtml">next</a>  
                </td>
                <td>
                    <a href="woven_links_intro.xhtml">prev</a>  
                </td>
                <td>
                    <a href="toc.xhtml">toc</a>
                </td>
            </tr>  
        </table>
        </p>
    </body>
</html>