Popular Python recipes tagged "meta:requires=twisted.application"http://code.activestate.com/recipes/langs/python/tags/meta:requires=twisted.application/2004-07-22T20:09:38-07:00ActiveState Code RecipesRendering arbitrary objects with Nevow (Python)
2004-07-22T20:09:38-07:00Valentino Volonghihttp://code.activestate.com/recipes/users/199559/http://code.activestate.com/recipes/286260-rendering-arbitrary-objects-with-nevow/
<p style="color: grey">
Python
recipe 286260
by <a href="/recipes/users/199559/">Valentino Volonghi</a>
(<a href="/recipes/tags/web/">web</a>).
Revision 4.
</p>
<p>This example is a simplified version of the irenderer example inside Nevow distrib by Matt Goodall (who deserves most of the glory for this example). It makes use of interfaces and adapters to render objects on a web page.</p>
Very basic example of nevow capabilities (Python)
2004-07-08T05:31:51-07:00Valentino Volonghihttp://code.activestate.com/recipes/users/199559/http://code.activestate.com/recipes/286210-very-basic-example-of-nevow-capabilities/
<p style="color: grey">
Python
recipe 286210
by <a href="/recipes/users/199559/">Valentino Volonghi</a>
(<a href="/recipes/tags/web/">web</a>).
</p>
<p>Here you can find a very basic example of how nevow (twisted's new web toolkit) works. As you see the purpose of this example is to represent in a <ul> a list of dictionaries. I can translate a dict into some tags thanks to the built-in mapping render.</p>