Skip to content
Myr

Readme.md

This file

Path

Readme.md

101 lines · 3.0 KiB · Markdown

Last changed by

Fixed connect linksTj Holowaychukbefore adoption2294f23

History of this file

Take it

The walk stopped after 200 commits: lines older than 41f7355 point at it.

Setting res.render() cache to true in productionTj Holowaychukbefore adoption41f7355

lines 1–6why, one step back
1
2# Express3 4 Insanely fast (and small) server-side JavaScript web development framework5 built on [node](http://nodejs.org) and [Connect](http://github.com/extjs/Connect).6

ReadmeTj Holowaychukbefore adoption1f9f47f

lines 7–12why, one step back
7 var app = express.createServer();
8 9 app.get('/', function(req, res){10 res.send('Hello World');11 });12

Updated docsTj Holowaychukbefore adoption3d41c61

lines 13–14why, one step back
13 app.listen(3000);
14

Install docsTj Holowaychukbefore adoption63d02f1

lines 15–18why, one step back
15## Installation
1617npm:18

Updating install docsTj Holowaychukbefore adoption5931e11

line 19why, one step back
19 $ npm install connect

Install docsTj Holowaychukbefore adoption63d02f1

lines 20–23why, one step back
20 $ npm install express
2122curl (or similar):23

Updated curl install docsTj Holowaychukbefore adoption3ceb0de

line 24why, one step back
24 $ curl -# http://expressjs.com/install.sh | sh

Install docsTj Holowaychukbefore adoption63d02f1

line 25why, one step back
25

More install docsTj Holowaychukbefore adoptiond8b140e

line 26why, one step back
26git clone, first update the submodules:

Install docsTj Holowaychukbefore adoption63d02f1

line 27why, one step back
27

More install docsTj Holowaychukbefore adoptiond8b140e

line 28why, one step back
28 $ git submodule update --init

Install docsTj Holowaychukbefore adoption63d02f1

lines 29–30why, one step back
29 $ make install
30

Setting res.render() cache to true in productionTj Holowaychukbefore adoption41f7355

lines 31–32why, one step back
31## Features
32

ReadmeTj Holowaychukbefore adoption1f9f47f

line 33why, one step back
33 * Robust routing

Merge branch 'redirect' into connectTj Holowaychukbefore adoption87cfca7

line 34why, one step back
34 * Redirection helpers

Fixed connect linksTj Holowaychukbefore adoption2294f23

line 35why, one step back
35 * Content negotiation

ReadmeTj Holowaychukbefore adoption1f9f47f

lines 36–37why, one step back
36 * Focus on high performance
37 * View rendering and partials support

Setting res.render() cache to true in productionTj Holowaychukbefore adoption41f7355

line 38why, one step back
38 * Environment based configuration

ReadmeTj Holowaychukbefore adoption1f9f47f

line 39why, one step back
39 * Session based flash notifications

Fixed connect linksTj Holowaychukbefore adoption2294f23

line 40why, one step back
40 * Built on [Connect](http://github.com/senchalabs/connect)

Executable docsTj Holowaychukbefore adoption5e4d672

line 41why, one step back
41 * Executable for generating applications quickly

Setting res.render() cache to true in productionTj Holowaychukbefore adoption41f7355

lines 42–54why, one step back
42
43Via Connect:4445 * Session support46 * Cache API47 * Mime helpers48 * ETag support49 * Persistent flash notifications50 * Cookie support51 * JSON-RPC52 * Logging53 * and _much_ more!54

ReadmeTj Holowaychukbefore adoption1f9f47f

line 55why, one step back
55## Contributors

Setting res.render() cache to true in productionTj Holowaychukbefore adoption41f7355

line 56why, one step back
56

ReadmeTj Holowaychukbefore adoption1f9f47f

line 57why, one step back
57The following are the major contributors of Express (in no specific order).

Setting res.render() cache to true in productionTj Holowaychukbefore adoption41f7355

line 58why, one step back
58

ReadmeTj Holowaychukbefore adoption1f9f47f

lines 59–61why, one step back
59 * TJ Holowaychuk ([visionmedia](http://github.com/visionmedia))
60 * Ciaran Jessup ([ciaranj](http://github.com/ciaranj))61 * Aaron Heckmann ([aheckmann](http://github.com/aheckmann))

Setting res.render() cache to true in productionTj Holowaychukbefore adoption41f7355

line 62why, one step back
62

ReadmeTj Holowaychukbefore adoption1f9f47f

line 63why, one step back
63## More Information

Setting res.render() cache to true in productionTj Holowaychukbefore adoption41f7355

line 64why, one step back
64

ReadmeTj Holowaychukbefore adoption1f9f47f

lines 65–69why, one step back
65 * Follow [tjholowaychuk](http://twitter.com/tjholowaychuk) on twitter for updates
66 * [Google Group](http://groups.google.com/group/express-js) for discussion67 * [JavaScript Extensions & Utilities](http://github.com/visionmedia/ext.js)68 * [JavaScript Sass](http://github.com/visionmedia/sass.js)69 * [JavaScript Haml](http://github.com/visionmedia/haml.js)

Removed testing docs from readmeTj Holowaychukbefore adoptionb311118

line 70why, one step back
70 * [JavaScript Jade](http://github.com/visionmedia/jade) Haml successor

Setting res.render() cache to true in productionTj Holowaychukbefore adoption41f7355

line 71why, one step back
71

Removed testing docs from readmeTj Holowaychukbefore adoptionb311118

line 72why, one step back
72## Node Compatibility

Setting res.render() cache to true in productionTj Holowaychukbefore adoption41f7355

lines 73–74why, one step back
73
74The latest release of Express is compatible with node --version:

TasksTj Holowaychukbefore adoption40b3116

line 75why, one step back
75

Setting res.render() cache to true in productionTj Holowaychukbefore adoption41f7355

lines 76–101why, one step back
76 v0.1.100
77 78## License 7980(The MIT License)8182Copyright (c) 2009-2010 TJ Holowaychuk <tj@vision-media.ca>8384Permission is hereby granted, free of charge, to any person obtaining85a copy of this software and associated documentation files (the86'Software'), to deal in the Software without restriction, including87without limitation the rights to use, copy, modify, merge, publish,88distribute, sublicense, and/or sell copies of the Software, and to89permit persons to whom the Software is furnished to do so, subject to90the following conditions:9192The above copyright notice and this permission notice shall be93included in all copies or substantial portions of the Software.9495THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,96EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF97MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.98IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY99CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,100TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE101SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.