Anonymous committed 4716d63

Changed page Home

Comments (0)

Files changed (1)

+Examples: [ Hello World] & [ What is your name?] & SampleGuestbook
+== Quick Facts ==
+ * 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.
 == Versions ==
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.