Skip to content
Myr

Readme.md

This file

Path

Readme.md

130 lines · 4.2 KiB · Markdown

Last changed by

Updated node --version supportedvisionmediabefore adoptiona9d3e47

History of this file

Take it

The walk stopped after 200 commits: lines older than 4d1bda0 point at it.

Removed Route#run(). Closes #188visionmediabefore adoption4d1bda0

lines 1–14why, one step back
1
2# Express3 4 Insanely fast (and small) server-side JavaScript web development framework5 built on **node.js** and the **V8 JavaScript engine**.67 * Visit the [Wiki](http://wiki.github.com/visionmedia/express) for documentation8 * Visit the [Google Group](http://groups.google.com/group/express-js) for discussion910## Features (so far)1112 * Sexy DSL with robust sinatra-like routing13 * High performance14 * Session support

Updated feature listvisionmediabefore adoption088aa83

lines 15–16why, one step back
15 * Cache API
16 * RESTful HTTP client

Removed Route#run(). Closes #188visionmediabefore adoption4d1bda0

lines 17–18why, one step back
17 * Mime helpers
18 * Redirection helpers

Kinda updated feature list a bitvisionmediabefore adoption6805e4f

line 19why, one step back
19 * Multipart file upload support

Removed Route#run(). Closes #188visionmediabefore adoption4d1bda0

lines 20–21why, one step back
20 * Test helpers (mock requests etc)
21 * Environment based configuration

Updated feature listvisionmediabefore adoption088aa83

lines 22–24why, one step back
22 * Light-weight JavaScript class implementation via [class.js](http://github.com/visionmedia/class.js/)
23 * Persistent flash messages24 * Route passing

Removed Route#run(). Closes #188visionmediabefore adoption4d1bda0

line 25why, one step back
25 * View support (ejs, haml, sass, etc)

Kinda updated feature list a bitvisionmediabefore adoption6805e4f

line 26why, one step back
26 * Full test coverage

Updated feature listvisionmediabefore adoption088aa83

line 27why, one step back
27 * Logger plugin with several formats

Docsvisionmediabefore adoption62b9a9e

line 28why, one step back
28 * Upload size restrictions

Kinda updated feature list a bitvisionmediabefore adoption6805e4f

line 29why, one step back
29 * Extremely readable specs

Merge branch 'integration'visionmediabefore adoption7441164

line 30why, one step back
30 * Cookie support

Removed Route#run(). Closes #188visionmediabefore adoption4d1bda0

lines 31–33why, one step back
31
32## Installation33

Added kiwi installation docsvisionmediabefore adoption0c18ac5

lines 34–37why, one step back
34 Install the [Kiwi package manager for nodejs](http://github.com/visionmedia/kiwi)
35 and run:36 37 $ kiwi -v install express

Merge branch 'remove-kiwi'visionmediabefore adoption670b6cf

lines 38–39why, one step back
38
39or

Removed Route#run(). Closes #188visionmediabefore adoption4d1bda0

line 40why, one step back
40

Merge branch 'remove-kiwi'visionmediabefore adoption670b6cf

lines 41–42why, one step back
41 Install via git clone:
42

Added Request#isXHR. Closes #229visionmediabefore adoption884d333

line 43why, one step back
43 $ git clone git://github.com/visionmedia/express.git && cd express && git submodule update --init

Merge branch 'remove-kiwi'visionmediabefore adoption670b6cf

line 44why, one step back
44

Removed Route#run(). Closes #188visionmediabefore adoption4d1bda0

lines 45–46why, one step back
45## Performance
46

Benchmarks linkvisionmediabefore adoption9f48b32

line 47why, one step back
47 Extensive performance enhancements have not yet been made,

Merge branch 'integration'visionmediabefore adoption7441164

line 48why, one step back
48 since we are focusing on the framework itself at the moment.

Removed Route#run(). Closes #188visionmediabefore adoption4d1bda0

line 49why, one step back
49

Benchmarks linkvisionmediabefore adoption9f48b32

line 50why, one step back
50 However if you are interested view the premature [benchmarks for Express framework](http://vision-media.ca/resources/nodejs/express-nodejs-web-development-framework-performance).

Removed Route#run(). Closes #188visionmediabefore adoption4d1bda0

lines 51–53why, one step back
51
52## Examples53

Doc typovisionmediabefore adoption62779fc

line 54why, one step back
54Below is a tiny Express application. View the [Wiki](http://wiki.github.com/visionmedia/express/) for detailed information.

Removed Route#run(). Closes #188visionmediabefore adoption4d1bda0

line 55why, one step back
55

Merge branch 'remove-kiwi'visionmediabefore adoption670b6cf

lines 56–58why, one step back
56 require.paths.unshift('express/lib')
57 require('express')58

Better example appvisionmediabefore adoption77f8e46

lines 59–69why, one step back
59 get('/user', function(){
60 this.redirect('/user/' + this.currentUser.id)61 })62 63 get('/user/:id', function(id){64 this.render('user.haml.html', {65 locals: {66 user: this.currentUser,67 usersOnline: Session.store.length()68 }69 })

Removed Route#run(). Closes #188visionmediabefore adoption4d1bda0

line 70why, one step back
70 })

Sample app in readmevisionmediabefore adoptionfdee4cd

line 71why, one step back
71

Removed Route#run(). Closes #188visionmediabefore adoption4d1bda0

line 72why, one step back
72 run()

Merge branch 'coffee'visionmediabefore adoption9cb23ac

line 73why, one step back
73

Removed Route#run(). Closes #188visionmediabefore adoption4d1bda0

lines 74–77why, one step back
74## Running Tests
7576Express uses the [JSpec](http://jspec.info) BDD JavaScript testing77framework to write and run elegant spec suites. JSpec is frozen

Managing dependencies with the kiwi package manager. Closes #228visionmediabefore adoption6da4a94

line 78why, one step back
78to spec/lib and **does not** require separate installation.

Removed Route#run(). Closes #188visionmediabefore adoption4d1bda0

lines 79–88why, one step back
79
80 $ make test81 82Run individual suites:8384 $ node spec/node.js core85 $ node spec/node.js mime86 $ node spec/node.js routing87 ...88

Docs for stable / edgevisionmediabefore adoption2d1c98a

line 89why, one step back
89The latest release of Express is compatible with node --version:

Updated node --version supportedvisionmediabefore adoptiona9d3e47

line 90why, one step back
90 v0.1.91

Docs for stable / edgevisionmediabefore adoption2d1c98a

lines 91–92why, one step back
91
92EDGE Express we do our best to keep up to date with node's EDGE

Removed Route#run(). Closes #188visionmediabefore adoption4d1bda0

lines 93–97why, one step back
93
94## More Information9596 * [JavaScript Extensions & Utilities](http://github.com/visionmedia/ext.js)97 * [JavaScript Sass](http://github.com/visionmedia/sass.js)

Shameless self promotion of ebookvisionmediabefore adoption91805f7

line 98why, one step back
98 * Featured in [Advanced JavaScript e-book](http://www.dev-mag.com/2010/02/18/advanced-javascript/) for only $4

Removed Route#run(). Closes #188visionmediabefore adoption4d1bda0

lines 99–102why, one step back
99
100## Contributors101102 * TJ Holowaychuk (visionmedia) <tj@vision-media.ca>

Bump Aaron up as a contributorvisionmediabefore adoption99789c3

line 103why, one step back
103 * Aaron Heckmann (aheckmann) <aaron.heckmann+github@gmail.com>

Removed Route#run(). Closes #188visionmediabefore adoption4d1bda0

lines 104–130why, one step back
104 * Ciaran Jessup (ciaranj) <ciaranj@gmail.com>
105 * Gareth Jones (csausdev) <gareth.jones@sensis.com.au>106 107## License 108109(The MIT License)110111Copyright (c) 2009 TJ Holowaychuk <tj@vision-media.ca>112113Permission is hereby granted, free of charge, to any person obtaining114a copy of this software and associated documentation files (the115'Software'), to deal in the Software without restriction, including116without limitation the rights to use, copy, modify, merge, publish,117distribute, sublicense, and/or sell copies of the Software, and to118permit persons to whom the Software is furnished to do so, subject to119the following conditions:120121The above copyright notice and this permission notice shall be122included in all copies or substantial portions of the Software.123124THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,125EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF126MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.127IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY128CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,129TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE130SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.