index.html
This file
Path
docs/index.html
254 lines · 6.7 KiB · HTML
Last changed by
Rebuilt docsTj Holowaychukbefore adoptiond017c3e
History of this fileTake it
The walk stopped after 200 commits: lines older than 5cf248c point at it.
Merge branch 'auth-example'Tj Holowaychukbefore adoption5cf248c
lines 1–18why, one step back1<html>2 <head>3 <title>Express - node web framework</title>4 <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>5 <style>6 #tagline {7 margin-left: 75px;8 margin-bottom: 30px;9 color: rgba(255,255,255,0.7); }10 html {11 background: #1c1c1c url(images/bg.tile.jpg); }1213 body {14 margin: 0;15 padding-bottom: 30px;16 font: 14px/1.4 "Helvetica Neue", "Lucida Grande", "Arial";17 font-size: 14px;18 line-height: 1.5;antialiased textTj Holowaychukbefore adoption8d80f23
line 19why, one step back19 -webkit-font-smoothing: antialiased;Merge branch 'auth-example'Tj Holowaychukbefore adoption5cf248c
lines 20–41why, one step back20 background: url(images/bg.jpg) 50% 0 no-repeat;21 color: #8b8b8b; }2223 * {24 outline: none; }2526 em {27 color: white; }2829 a img {30 border: none !important; }3132 a {33 font-weight: bold;34 text-decoration: none;35 color: white;36 -webkit-transition-property: opacity, -webkit-transform, color, background-color, padding, -webkit-box-shadow;37 -webkit-transition-duration: 0.15s;38 -webkit-transition-timing-function: ease-out; }39 a:hover {40 opacity: 0.8; }41HTTP verb docs. Closes #415Tj Holowaychukbefore adoptiond89b951
line 42why, one step back42 h1, h2, h3, h4 {Merge branch 'auth-example'Tj Holowaychukbefore adoption5cf248c
lines 43–48why, one step back43 margin: 45px 0 0 0;44 color: white;45 text-shadow: 1px 2px 2px rgba(0,0,0,0.6); }4647 h3 {48 font-size: 18px; }HTTP verb docs. Closes #415Tj Holowaychukbefore adoptiond89b951
lines 49–52why, one step back49 h4 {50 margin-left: 10px;51 font-size: 14px;52 }Merge branch 'auth-example'Tj Holowaychukbefore adoption5cf248c
lines 53–82why, one step back5354 pre {55 margin: 20px 10px;56 padding: 25px 20px;57 background: rgba(0,0,0,0.5);58 border: 1px solid #323232;59 -webkit-box-shadow: 1px 2px 2px rgba(0,0,0,0.6);60 -moz-box-shadow: 1px 2px 2px rgba(0,0,0,0.6);61 -webkit-border-radius: 5px;62 -moz-border-radius: 5px; }6364 code {65 font-family: "Helvetica Neue", "Lucida Grande", "Arial"; }6667 ul {68 margin: 15px 0;69 padding: 0 0 0 35px; }70 ul li {71 margin: 0;72 padding: 2px 0;73 list-style: square; }74 ul li ul {75 margin: 0;76 padding-left: 12px;77 }7879 .man-name, #Express { display:none; }8081 .sect {82 margin-left: 40px; }Merge branch 'apps'Tj Holowaychukbefore adoption4e67efc
lines 83–86why, one step back83 img {84 margin-left: 20px;85 margin-bottom: 15px;86 }Merge branch 'auth-example'Tj Holowaychukbefore adoption5cf248c
lines 87–190why, one step back8788 #logo {89 display: block;90 margin-left: 30%;91 margin-bottom: 30px;92 width: 194px;93 height: 51px;94 background: url(images/logo.png) 0 0 no-repeat;95 text-indent: -99999px; }96 #logo:hover {97 opacity: 0.7; }98 #logo:active {99 opacity: 0.3; }100101 #ribbon {102 position: fixed;103 top: 0;104 right: 0;105 z-index: 2; }106107 #wrapper {108 width: 100%;109 min-height: 800px;110 background: url(images/top.png) 0 0 repeat-x; }111112 #container {113 margin: 0 auto;114 padding-top: 80px;115 width: 550px; }116117 #toc {118 position: fixed;119 top: 0;120 left: 0;121 margin: 0 0 0 15px;122 padding: 15px;123 height: 100%;124 background: rgba(0,0,0,0.2);125 overflow: auto;126 border-right: 1px solid rgba(255,255,255,0.05);127 }128 #toc li {129 padding: 0;130 list-style: none;131 }132 #toc li a {133 font-size: 11px;134 }135 #menu {136 margin-left: 65px;137 padding: 0;138 padding-bottom: 30px; }139 #menu li {140 display: inline;141 list-style: none; }142 #menu li a {143 display: block;144 float: left;145 margin: 0 2px;146 padding: 3px 15px;147 background: rgba(0,0,0,0.2);148 -webkit-border-radius: 8px;149 -moz-border-radius: 8px;150 -webkit-box-shadow: 1px 2px 2px rgba(0,0,0,0.6);151 -moz-box-shadow: 1px 2px 2px rgba(0,0,0,0.6);152 -webkit-transition-property: opacity, -webkit-transform, color, background-color, -webkit-box-shadow;153 -webkit-transition-duration: 0.15s;154 -webkit-transition-timing-function: ease-out; }155 #menu li a:hover,156 #menu li a.active {157 background: rgba(0,0,0,0.5); }158 #menu li a:active {159 background: rgba(0,0,0,0.1);160 -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,0.4);161 -moz-box-shadow: 1px 1px 1px rgba(0,0,0,0.4); }162 </style>163 <script>164 $(function(){165 $('.section').hide();166 $('.toggle, a.section-title').toggle(function(){167 $(this).siblings('ul').fadeIn(300);168 return false;169 }, function(){170 $(this).siblings('ul').fadeOut(300);171 return false;172 });173 });174 </script>175 </head>176 <body>177 <a href='http://github.com/visionmedia/express'> 178 <img alt='Fork me on GitHub' id='ribbon' src='http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png' /> 179 </a>180 <div id="wrapper">181 <div id="container">182 <a href='http://github.com/visionmedia/express' id='logo'>Express</a> 183 <p id="tagline">184 High performance, high class web development for185 <a href="http://nodejs.org">Node.js</a>186 </p>187 <ul id="menu">188 <li><a href="index.html">Home</a></li>189 <li><a href="guide.html">Guide</a></li>190 <li><a href="contrib.html">Contributing</a></li>Merge branch 'apps'Tj Holowaychukbefore adoption4e67efc
line 191why, one step back191 <li><a href="applications.html">Applications</a></li>Merge branch 'auth-example'Tj Holowaychukbefore adoption5cf248c
lines 192–254why, one step back192 </ul>193<div class='mp'>194<h2 id="Express">Express</h2>195<p class="man-name">196 <code>index</code>197</p>198<pre><code>var app = express.createServer();199200app.get('/', function(req, res){201 res.send('Hello World');202});203204app.listen(3000);205</code></pre>206207<h2 id="Features">Features</h2>208209<ul>210<li>Robust routing</li>211<li>Redirection helpers</li>212<li>Dynamic view helpers</li>213<li>Application level view options</li>214<li>Content negotiation</li>215<li>Focus on high performance</li>216<li>View rendering and partials support</li>217<li>Environment based configuration</li>218<li>Session based flash notifications</li>219<li>Built on <a href="http://github.com/senchalabs/connect">Connect</a></li>220<li><a href="executable.html">Executable</a> for generating applications quickly</li>221<li>High test coverage</li>222</ul>223224225<h2 id="Contributors">Contributors</h2>226227<p>The following are the major contributors of Express (in no specific order).</p>228229<ul>230<li>TJ Holowaychuk (<a href="http://github.com/visionmedia">visionmedia</a>)</li>231<li>Ciaran Jessup (<a href="http://github.com/ciaranj">ciaranj</a>)</li>232<li>Aaron Heckmann (<a href="http://github.com/aheckmann">aheckmann</a>)</li>233<li>Guillermo Rauch (<a href="http://github.com/guille">guille</a>)</li>234</ul>235236237<h2 id="More-Information">More Information</h2>238239<ul>240<li><a href="http://groups.google.com/group/express-js">Google Group</a> for discussion</li>241<li>Follow <a href="http://twitter.com/tjholowaychuk">tjholowaychuk</a> on twitter for updates</li>242<li>Annotated source <a href="api.html">documentation</a></li>243<li>View the <a href="http://github.com/senchalabs/connect">Connect</a> repo for middleware usage</li>244<li>View the <a href="http://wiki.github.com/senchalabs/connect/">Connect Wiki</a> for contrib middleware</li>245<li>View the <a href="http://github.com/visionmedia/express/tree/master/examples/">examples</a></li>246<li>View the <a href="http://github.com/visionmedia/express">source</a></li>247</ul>248249250</div>251 </div>252 </div>253 </body>254</html>