Files changed (1)
+Examples: [http://www.cherrypy.org/file/trunk/cherrypy/tutorial/tut01_helloworld.py Hello World] & [http://www.cherrypy.org/file/trunk/cherrypy/tutorial/tut03_get_and_post.py What is your name?] & SampleGuestbook
+ * Your !CherryPy powered web applications are in fact '''stand-alone Python applications embedding their own multi-threaded web server'''. You can deploy them anywhere you can run Python applications. Apache is not required, but it's possible to run a !CherryPy application behind it (or IIS). !CherryPy applications run on Windows, Linux, Mac OS X and any other platform supporting Python.
+ * You write request handler classes that you tie together in a tree of objects, starting with a root object. !CherryPy maps incoming request URIs to this object tree. The URI '/' represents the 'root' object, '/users/' the 'root.users' object, and so on. Requests are handled by methods inside these request handler classes. GET/POST parameters are passed as standard method parameters; '/users/display?id=123' will call root.users.display(id = '123'). The methods' return strings are then passed back to the browser. You have complete control over which methods are exposed through the web and which ones aren't.
+ * Beyond this functionality, !CherryPy pretty much stays out of your way. You are free to use any kind of templating, data access etc. technology you want. !CherryPy can also handle sessions, static files, cookies, file uploads and everything you would expect from a decent web framework.