CherryPy

Cherry Py

 * http://www.packtpub.com/article/overview-cherrypy-a-web-application-server-1
 * http://www.packtpub.com/article/photoblog-application

Easy Setup
Cygwin, MacOS, Linus: Download the appropriate egg for your version of Python sh setuptools-0.6c9-py2.4.egg
 * http://pypi.python.org/pypi/setuptools

General Intro
 * http://www.cherrypy.org/wiki/intro/1

Templates
Template Engine $ eash_install mako class Bunch: def __init__(self, d): for k, v in d.items: if isinstance(v, dict): v = Bunch(v) self.__dict__[k] = v
 * http://stackoverflow.com/questions/1830042/good-way-to-pass-variables-for-common-elements-to-mako-templates
 * http://www.makotemplates.org/docs/usage.html
 * http://www.makotemplates.org/docs/inheritance.html
 * http://stackoverflow.com/questions/2352252/how-to-use-dicts-in-mako-templates

print Bunch({'a':1, 'b':{'foo':2}}).b.foo from mako.template import Template my_dict = {} my_dict['names'] = ['alice', 'bob'] t = Template(filename=fn) print t.render(**my_dict) ... % for name in names: name % endfor
 * http://groups.google.com/group/mako-discuss/browse_thread/thread/e66f2e15ecbfce4b/a4c67912016d1ece?pli=1

Page Handlers

 * http://www.cherrypy.org/wiki/PageHandlers

REST

 * http://docs.cherrypy.org/dev/progguide/REST.html
 * http://stackoverflow.com/questions/713847/recommendations-of-python-rest-web-services-framework

Database
$ easy_install pysqlite from pysqlite2 import dbapi2 as sqlite
 * http://grid-deployment.web.cern.ch/grid-deployment/flavia/dario/Django-0.96.2/usr/pysqlite2-doc/usage-guide.html
 * http://www.defuze.org/archives/222-integrating-sqlalchemy-into-a-cherrypy-application.html
 * http://www.devshed.com/c/a/Python/Using-SQLite-in-Python/1/

Static Content

 * http://www.cherrypy.org/wiki/StaticContent

Web Py

 * http://webpy.org/docs/0.3/templetor