Popular recipes by Valentino Volonghi http://code.activestate.com/recipes/users/199559/2004-12-01T16:00:16-08:00ActiveState Code RecipesGetting the data dropped on a window (Python) 2004-12-01T16:00:16-08:00Valentino Volonghihttp://code.activestate.com/recipes/users/199559/http://code.activestate.com/recipes/355203-getting-the-data-dropped-on-a-window/ <p style="color: grey"> Python recipe 355203 by <a href="/recipes/users/199559/">Valentino Volonghi</a> (<a href="/recipes/tags/ui/">ui</a>). </p> <p>Using pygtk and glade you can easily write all you need to provide a log text buffer to output the data dropped.</p> Mapping arbitrary objects to a PostgreSQL database with psycopg2 (Python) 2004-09-10T12:17:53-07:00Valentino Volonghihttp://code.activestate.com/recipes/users/199559/http://code.activestate.com/recipes/304223-mapping-arbitrary-objects-to-a-postgresql-database/ <p style="color: grey"> Python recipe 304223 by <a href="/recipes/users/199559/">Valentino Volonghi</a> (<a href="/recipes/tags/database/">database</a>). </p> <p>You need to store arbitrary objects in a PostgreSQL database without being intrusive for your classes (don't want inheritance from an 'Item' or 'Persistent' object).</p> Rendering 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 &lt;ul&gt; a list of dictionaries. I can translate a dict into some tags thanks to the built-in mapping render.</p> Memento design pattern in python (Python) 2004-06-12T14:09:06-07:00Valentino Volonghihttp://code.activestate.com/recipes/users/199559/http://code.activestate.com/recipes/286132-memento-design-pattern-in-python/ <p style="color: grey"> Python recipe 286132 by <a href="/recipes/users/199559/">Valentino Volonghi</a> (<a href="/recipes/tags/oop/">oop</a>). </p> <p>You need to cache instances based on what arguments are passed to them.</p> Rss aggregator with twisted (Python) 2004-04-12T23:26:13-07:00Valentino Volonghihttp://code.activestate.com/recipes/users/199559/http://code.activestate.com/recipes/277099-rss-aggregator-with-twisted/ <p style="color: grey"> Python recipe 277099 by <a href="/recipes/users/199559/">Valentino Volonghi</a> (<a href="/recipes/tags/web/">web</a>). Revision 2. </p> <p>This is a fully featured Rss aggregator with parsing included.</p> <p>It's scalable too very high numbers of feeds and can be used in multi-client environment through web using twisted with a little code on top of Nevow (<a href="http://www.nevow.com" rel="nofollow">www.nevow.com</a>), or can easily be integrated inside every app which uses some of the toolkits supported by Twisted.</p>