Changeset 379
- Timestamp:
- 06/25/05 09:56:04
- Files:
-
- trunk/docs/europython2005/index.html (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/docs/europython2005/index.html
r378 r379 72 72 73 73 <div class="slide"> 74 <h1>Configuring CherryPy</h1> 75 <ul> 76 <li>Through config file</li> 77 <li>Programmatically</li> 78 </ul> 79 </div> 80 81 82 <div class="slide"> 74 83 <h1>Url -> object mapping</h1> 75 84 <ul> … … 91 100 <h1>Handling file uploads</h1> 92 101 <ul> 93 <li>TODO</li> 102 <li>File is stored on disk as a temp file</li> 103 <li>CherryPy returns a cgi.FieldStorage instance</li> 104 <li>Available attributes: file, filename, type, ...</li> 94 105 </ul> 95 106 </div> … … 97 108 <div class="slide"> 98 109 <h1>Manipulating cpg.request and cpg.response</h1> 110 <ul> 111 <li>Ex: Reading the Host header from the request</li> 112 <li>Ex: Setting the responseCOntent-Type</li> 113 </ul> 114 </div> 115 116 <div class="slide"> 117 <h1>Using generators</h1> 118 <ul> 119 <li>Returning a generator instead of a string</li> 120 <li>Returning a file object</li> 121 <li>Set Content-Length manually to stream data to the browser "on-the-fly"</li> 122 </ul> 123 </div> 124 125 <div class="slide"> 126 <h1>Using filters</h1> 127 <ul> 128 <li>Ex: gzipFilter</li> 129 <li>Ex: encodingFilter, decodingFilter</li> 130 <li>Ex: staticContentFilter</li> 131 </ul> 132 </div> 133 134 <div class="slide"> 135 <h1>Using sessions</h1> 99 136 <ul> 100 137 <li>TODO</li> … … 108 145 <li>WSGI interface allows us to use a variety of setups: mod_python, FastCGI, IIS, ...</li> 109 146 <li>Another option: behind Apache with mod_rewrite or mod_proxy (use Apache to serve static data directly)</li> 147 </ul> 148 </div> 149 150 <div class="slide"> 151 <h1>What's not included in CherryPy</h1> 152 <ul> 153 <li>A form handling module</li> 154 <li>A templating system</li> 155 <li>An authentication system</li> 156 <li>... CherryPy is deliberately staying low-level</li> 157 <li>... If you need a higher-level framework, consider Subway or CherryObject (coming soon)</li> 110 158 </ul> 111 159 </div>

