Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Changeset 378

Show
Ignore:
Timestamp:
06/25/05 08:51:53
Author:
rdelon
Message:

Checking in a few more slides for the Europython talk

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/docs/europython2005/index.html

    r343 r378  
    4646<h1>Introduction</h1> 
    4747<ul> 
    48     <li>OOP framework for doing web development</li> 
     48    <li>Pythonic, object-oriented web development framework</li> 
    4949    <li>Runs everywhere python runs</li> 
    5050    <li>Requires Python-2.3 or later</li> 
     
    5858    <li>Exposing objects</li> 
    5959    <li>Built-in HTTP server</li> 
    60     <li>"development" environment: autoreload, debug information, validation</li> 
     60    <li>"development" environment: autoreload, debug information 
    6161</ul> 
    6262</div> 
     
    6666<ul> 
    6767    <li>Passing parameters to methods</li> 
     68    <li>All parameters (except file uploads) are passed a strings or lists of strings</li> 
     69    <li>GET or POST parameters are passed the same way</li> 
    6870</ul> 
    6971</div> 
    7072 
    7173<div class="slide"> 
     74<h1>Url -> object mapping</h1> 
    7275<ul> 
    73 <li>Any questions?</li> 
     76    <li>Using multiple methods</li> 
     77    <li>Using multiple classes</li> 
     78    <li>Using the "default" method</li> 
     79    <li>Using positional arguments for REST URLs</li> 
    7480</ul> 
     81</div> 
     82 
     83<div class="slide"> 
     84<h1>Using OOP</h1> 
     85<ul> 
     86    <li>Example: using OOP to provide a constant header/footer</li> 
     87</ul> 
     88</div> 
     89 
     90<div class="slide"> 
     91<h1>Handling file uploads</h1> 
     92<ul> 
     93    <li>TODO</li> 
     94</ul> 
     95</div> 
     96 
     97<div class="slide"> 
     98<h1>Manipulating cpg.request and cpg.response</h1> 
     99<ul> 
     100    <li>TODO</li> 
     101</ul> 
     102</div> 
     103 
     104<div class="slide"> 
     105<h1>Deploying your site for production</h1> 
     106<ul> 
     107    <li>Built-in HTTP server: OK, but no HTTP/1.1 or SSL (yet)</li> 
     108    <li>WSGI interface allows us to use a variety of setups: mod_python, FastCGI, IIS, ...</li> 
     109    <li>Another option: behind Apache with mod_rewrite or mod_proxy (use Apache to serve static data directly)</li> 
     110</ul> 
     111</div> 
     112 
     113<div class="slide"> 
     114<h1>Resources</h1> 
     115<ul> 
     116    <li>http://www.cherrypy.org</li> 
     117    <li>Documentation: tutorial, FAQ, recipes, ...</li> 
     118    <li>Mailing lists</li> 
     119    <li>IRC channel: #cherrypy on OFTC</li> 
     120</ul> 
     121 
     122<div class="slide"> 
     123<h1>Near future of CherryPy</h1> 
     124<ul> 
     125    <li>CherryPy-2.1 coming out soon (*lots* of new features)</li> 
     126    <li>CherryPy book (online only for now) coming soon</li> 
     127    <li>Lots of activity at the moment ... More and more contributors</li> 
     128    <li>But we could still use more: feel free to help :-)</li> 
     129</ul> 
     130</div> 
     131 
     132 
     133<div class="slide"> 
     134<h1>Any questions ?</h1> 
    75135</div> 
    76136 
  • trunk/docs/europython2005/s5/theme/framing.css

    r324 r378  
    44    to help you with the rearrangement process. */ 
    55 
    6 div#header, div#footer, div.slide {width: 100%; top: 0; left: 0;} 
    7 div#header {top: 0; left: 0; z-index: 1;} 
     6div#header, div#footer, .slide {width: 100%; top: 0; left: 0;} 
     7div#header {top: 0; left: 5px; z-index: 1;} 
    88div#footer {top: auto; bottom: 0; width: 100%; z-index: 5;} 
    9 div.slide {top: 0; width: 88%; padding: 1em 7% 2em 5%; z-index: 2;} 
     9.slide {top: 0; width: 88%; padding: 1em 7% 2em 5%; z-index: 2;} 
    1010 
    11 div#controls {bottom: 1em; left: 0; width: 100%; text-align: center; z-index: 1000;} 
     11 
     12div#controls {position: fixed; left: 0; width: 100%; top: 0; padding-top: 0.5em; z-index: 10; text-align: center;} 
    1213div#controls form {margin: 0; padding: 0;} 
    1314 
    14 #currentSlide {position: absolute; left: 0; bottom: 0.5em; z-index: 10; 
    15   width: 100%; text-align: center;} 
     15#navLinks, #navList {display: inline;} 
     16 
     17#currentSlide {position: fixed; right: 1.5em; top: 0.5em; z-index: 20; text-align: right;} 
    1618html>body #currentSlide {position: fixed;} 
    1719 
  • trunk/docs/europython2005/s5/theme/pretty.css

    r324 r378  
    11/* 
    2  Theme: i18n 
    3  Eric A. Meyer (http://meyerweb.com/) 
    4  Theme placed under CC by-sa 2.0 license 
     2 Theme: AAM 
     3 Richard Cooper 
    54*/ 
    65 
    7 body {background: #95A7D4 url(bg-slide.jpg) 100% 100% no-repeat; color: #210; font: 28px Arial, sans-serif;} 
     6body {background: #FFFFFF 50% 0% no-repeat; color: #210; font: 28px Arial, sans-serif;} 
    87a {text-decoration: none; color: #336; border-bottom: 1px dotted;} 
    98h1, h2, h3, h4, h5, h6 {font-size: 1em; margin: 0;} 
     
    1312li {margin-bottom: 0.66em;} 
    1413li li {margin: 0.33em 0; font-size: smaller;} 
     14div>ul {margin-top: -0.33em;} 
    1515 
    16 #header {background: url(bg-shade.png); border-bottom: 1px solid #333
     16#header {background: url(cherryPyLogo.png) 0 100% no-repeat; border-bottom: 1px solid rgb(81,119,80)
    1717  padding-bottom: 2em;} 
    18 #footer {background: url(bg-shade.png); color: #BBB; border-top: 1px solid #333;
     18#footer {background: rgb(81,119,80); color: #FFFFFF
    1919#header, #footer {font-size: 0.5em;} 
    2020#footer h1, #footer h2 { padding: 0.5em 0.75em; 
     
    2323#footer h2 {position: absolute; bottom: 0; right: 0;} 
    2424 
    25 #controls {font-size: 0.75em;} 
    26 #navList {margin-top: 3px;} 
    27 #navLinks a {margin: 0 0.33em; padding: 0 0.25em; 
    28   border: 1px solid; border-color: #CCD #556 #556 #CCD; 
    29   background-color: #8597C4;} 
     25#controls {font-size: 0.5em;} 
     26#toggle {font-size: 0.9em;} 
     27#navLinks a {margin: 0 0.33em; padding: 0 0.25em; color: rgb(81,119,80); border-bottom: none;} 
    3028 
    3129#currentSlide {font-size: 0.5em;} 
    32 #currentSlide span {font-size: 13px; color: rgb(49%,47%,66%);} 
    33 #currentSlide #csSep {display: none;} 
    34 #currentSlide #csHere {font-weight: bold;} 
    35 #currentSlide #csHere:before {content: "#"; font-weight: normal;} 
    36 #currentSlide #csTotal:before {content: " of ";} 
     30#currentSlide span {font-size: 13px; color: rgb(81,119,80);} 
    3731 
    3832.slide h1 {font-size: 1.66em; line-height: 1; letter-spacing: -1px; 
    39   margin: 0 -15% 1em 0; padding: 0.5em 15% 0.06125em 0; border-bottom: 0.06125em solid rgb(90,94,120);} 
     33  margin: 0 -15% 0.5em 0; padding: 0.5em 15% 0.06125em 0; border-bottom: 0.06125em solid rgb(81,119,80);} 
    4034#slide0 h1 {border: none; font-size: 2.25em; letter-spacing: 0; margin: 3em 0 1.5em;} 
    4135#slide0 h3 {margin: 0.5em 0 0;} 
    4236#slide0 h4 {margin-top: 0; font-size: smaller;} 
    43  
    44 .slide .current {color: #003; text-shadow: 0 0 0.25em #9AABD7;} 

Hosted by WebFaction

Log in as guest/cpguest to create tickets