Skip to content
Myr

index.html

This file

Path

docs/index.html

266 lines · 7.8 KiB · HTML

Last changed by

fixed docs charsetTj Holowaychukbefore adoptionfe6c583

History of this file

Take it

The walk stopped after 200 commits: lines older than 759a57b point at it.

Added second callback support for res.download() connection errorsTj Holowaychukbefore adoption759a57b

lines 1–3why, one step back
1<html>
2 <head>3 <title>Express - node web framework</title>

fixed docs charsetTj Holowaychukbefore adoptionfe6c583

line 4why, one step back
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">

Added second callback support for res.download() connection errorsTj Holowaychukbefore adoption759a57b

lines 5–242why, one step back
5 <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
6 <style>7 #tagline {8 margin-left: 75px;9 margin-bottom: 30px;10 color: rgba(255,255,255,0.7); }11 html {12 background: #1c1c1c url(images/bg.tile.jpg); }1314 body {15 margin: 0;16 padding-bottom: 30px;17 font: 14px/1.4 "Helvetica Neue", "Lucida Grande", "Arial";18 font-size: 14px;19 line-height: 1.5;20 -webkit-font-smoothing: antialiased;21 background: url(images/bg.jpg) 50% 0 no-repeat;22 color: #8b8b8b; }2324 * {25 outline: none; }2627 em {28 color: white; }2930 a img {31 border: none !important; }3233 a {34 font-weight: bold;35 text-decoration: none;36 color: white;37 -webkit-transition-property: opacity, -webkit-transform, color, background-color, padding, -webkit-box-shadow;38 -webkit-transition-duration: 0.15s;39 -webkit-transition-timing-function: ease-out; }40 a:hover {41 opacity: 0.8; }4243 h1, h2, h3, h4 {44 margin: 45px 0 0 0;45 color: white;46 text-shadow: 1px 2px 2px rgba(0,0,0,0.6); }4748 h3 {49 font-size: 18px; }50 h4 {51 margin-left: 10px;52 font-size: 14px;53 }5455 pre {56 margin: 20px 10px;57 padding: 25px 20px;58 background: rgba(0,0,0,0.5);59 border: 1px solid #323232;60 -webkit-box-shadow: 1px 2px 2px rgba(0,0,0,0.6);61 -moz-box-shadow: 1px 2px 2px rgba(0,0,0,0.6);62 -webkit-border-radius: 5px;63 -moz-border-radius: 5px; }6465 code {66 font-family: "Helvetica Neue", "Lucida Grande", "Arial"; }6768 ul {69 margin: 15px 0;70 padding: 0 0 0 35px; }71 ul li {72 margin: 0;73 padding: 2px 0;74 list-style: square; }75 ul li ul {76 margin: 0;77 padding-left: 12px;78 }7980 .man-name, #Express { display:none; }8182 .sect {83 margin-left: 40px; }84 img {85 margin-left: 20px;86 margin-bottom: 15px;87 }8889 #logo {90 display: block;91 margin-left: 30%;92 margin-bottom: 30px;93 width: 194px;94 height: 51px;95 background: url(images/logo.png) 0 0 no-repeat;96 text-indent: -99999px; }97 #logo:hover {98 opacity: 0.7; }99 #logo:active {100 opacity: 0.3; }101102 #ribbon {103 position: fixed;104 top: 0;105 right: 0;106 z-index: 2; }107108 #wrapper {109 width: 100%;110 min-height: 800px;111 background: url(images/top.png) 0 0 repeat-x; }112113 #container {114 margin: 0 auto;115 padding-top: 80px;116 width: 550px; }117118 #toc {119 position: fixed;120 top: 0;121 left: 0;122 margin: 0 0 0 15px;123 padding: 15px;124 height: 100%;125 background: rgba(0,0,0,0.2);126 overflow: auto;127 border-right: 1px solid rgba(255,255,255,0.05);128 }129 #toc li {130 padding: 0;131 list-style: none;132 }133 #toc li a {134 font-size: 11px;135 }136 #menu {137 margin-left: 75px;138 padding: 0;139 padding-bottom: 30px; }140 #menu li {141 display: inline;142 list-style: none; }143 #menu li a {144 display: block;145 float: left;146 margin: 0 2px;147 padding: 3px 15px;148 background: rgba(0,0,0,0.2);149 -webkit-border-radius: 8px;150 -moz-border-radius: 8px;151 -webkit-box-shadow: 1px 2px 2px rgba(0,0,0,0.6);152 -moz-box-shadow: 1px 2px 2px rgba(0,0,0,0.6);153 -webkit-transition-property: opacity, -webkit-transform, color, background-color, -webkit-box-shadow;154 -webkit-transition-duration: 0.15s;155 -webkit-transition-timing-function: ease-out; }156 #menu li a:hover,157 #menu li a.active {158 background: rgba(0,0,0,0.5); }159 #menu li a:active {160 background: rgba(0,0,0,0.1);161 -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,0.4);162 -moz-box-shadow: 1px 1px 1px rgba(0,0,0,0.4); }163 </style>164 <script>165 $(function(){166 $('.section').hide();167 $('.toggle, a.section-title').toggle(function(){168 $(this).siblings('ul').fadeIn(300);169 return false;170 }, function(){171 $(this).siblings('ul').fadeOut(300);172 return false;173 });174 });175 </script>176 </head>177 <body>178 <a href='http://github.com/visionmedia/express'> 179 <img alt='Fork me on GitHub' id='ribbon' src='http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png' /> 180 </a>181 <div id="wrapper">182 <div id="container">183 <a href='http://github.com/visionmedia/express' id='logo'>Express</a> 184 <p id="tagline">185 High performance, high class web development for186 <a href="http://nodejs.org">Node.js</a>187 </p>188 <ul id="menu">189 <li><a href="index.html">Home</a></li>190 <li><a href="guide.html">Guide</a></li>191 <li><a href="screencasts.html">Screencasts</a></li>192 <li><a href="applications.html">Applications</a></li>193 </ul>194<pre><code>var app = express.createServer();195196app.get('/', function(req, res){197 res.send('Hello World');198});199200app.listen(3000);201</code></pre>202203<h2>Features</h2>204205<ul>206<li>Robust routing</li>207<li>Redirection helpers</li>208<li>Dynamic view helpers</li>209<li>Application level view options</li>210<li>Content negotiation</li>211<li>Application mounting</li>212<li>Focus on high performance</li>213<li>View rendering and partials support</li>214<li>Environment based configuration</li>215<li>Session based flash notifications</li>216<li>Built on <a href="http://github.com/senchalabs/connect">Connect</a></li>217<li><a href="executable.html">Executable</a> for generating applications quickly</li>218<li>High test coverage</li>219</ul>220221222<h2>Contributors</h2>223224<p>The following are the major contributors of Express (in no specific order).</p>225226<ul>227<li>TJ Holowaychuk (<a href="http://github.com/visionmedia">visionmedia</a>)</li>228<li>Ciaran Jessup (<a href="http://github.com/ciaranj">ciaranj</a>)</li>229<li>Aaron Heckmann (<a href="http://github.com/aheckmann">aheckmann</a>)</li>230<li>Guillermo Rauch (<a href="http://github.com/guille">guille</a>)</li>231</ul>232233234<h2>Third-Party Modules</h2>235236<p>The following modules compliment or extend Express directly:</p>237238<ul>239<li><a href="http://github.com/visionmedia/express-resource">express-resource</a> provides resourceful routing</li>240<li><a href="http://github.com/visionmedia/express-messages">express-messages</a> flash message notification rendering</li>241<li><a href="http://github.com/visionmedia/express-configuration">express-configure</a> async configuration support (load settings from redis etc)</li>242<li><a href="http://github.com/visionmedia/express-namespace">express-namespace</a> namespaced routing support</li>

fixed some docsTj Holowaychukbefore adoptione8c32df

lines 243–245why, one step back
243<li><a href="http://github.com/visionmedia/express-expose">express-expose</a> expose objects, functions, modules and more to client-side js</li>
244<li><a href="https://github.com/visionmedia/express-params">express-params</a> app.param() extensions</li>245<li><a href="https://github.com/LearnBoost/express-mongoose">express-mongoose</a> plugin for easy rendering of Mongoose async Query results</li>

Added second callback support for res.download() connection errorsTj Holowaychukbefore adoption759a57b

lines 246–251why, one step back
246</ul>
247248249<h2>More Information</h2>250251<ul>

fixed some docsTj Holowaychukbefore adoptione8c32df

line 252why, one step back
252<li>#express on freenode</li>

Added second callback support for res.download() connection errorsTj Holowaychukbefore adoption759a57b

line 253why, one step back
253<li>Follow <a href="http://twitter.com/tjholowaychuk">tjholowaychuk</a> on twitter for updates</li>

updated docsTj Holowaychukbefore adoption652e166

lines 254–260why, one step back
254<li><a href="http://groups.google.com/group/express-js">Google Group</a> for discussion</li>
255<li>Visit the <a href="http://github.com/visionmedia/express/wiki">Wiki</a></li>256<li><a href="http://hideyukisaito.com/doc/expressjs/">日本語ドキュメンテーション</a> by <a href="https://github.com/hideyukisaito">hideyukisaito</a></li>257<li>Screencast &ndash; <a href="http://bit.ly/eRYu0O">Introduction</a></li>258<li>Screencast &ndash; <a href="http://bit.ly/dU13Fx">View Partials</a></li>259<li>Screencast &ndash; <a href="http://bit.ly/hX4IaH">Route Specific Middleware</a></li>260<li>Screencast &ndash; <a href="http://bit.ly/eNqmVs">Route Path Placeholder Preconditions</a></li>

Added second callback support for res.download() connection errorsTj Holowaychukbefore adoption759a57b

lines 261–266why, one step back
261</ul>
262263 </div>264 </div>265 </body>266</html>