Readme.md
This file
Path
Readme.md
130 lines · 4.2 KiB · Markdown
Last changed by
Updated node --version supportedvisionmediabefore adoptiona9d3e47
History of this fileTake 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 back12# 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 supportUpdated feature listvisionmediabefore adoption088aa83
lines 15–16why, one step back15 * Cache API16 * RESTful HTTP clientRemoved Route#run(). Closes #188visionmediabefore adoption4d1bda0
lines 17–18why, one step back17 * Mime helpers18 * Redirection helpersKinda updated feature list a bitvisionmediabefore adoption6805e4f
line 19why, one step back19 * Multipart file upload supportRemoved Route#run(). Closes #188visionmediabefore adoption4d1bda0
lines 20–21why, one step back20 * Test helpers (mock requests etc)21 * Environment based configurationUpdated feature listvisionmediabefore adoption088aa83
lines 22–24why, one step back22 * Light-weight JavaScript class implementation via [class.js](http://github.com/visionmedia/class.js/)23 * Persistent flash messages24 * Route passingRemoved Route#run(). Closes #188visionmediabefore adoption4d1bda0
line 25why, one step back25 * View support (ejs, haml, sass, etc)Kinda updated feature list a bitvisionmediabefore adoption6805e4f
line 26why, one step back26 * Full test coverageUpdated feature listvisionmediabefore adoption088aa83
line 27why, one step back27 * Logger plugin with several formatsDocsvisionmediabefore adoption62b9a9e
line 28why, one step back28 * Upload size restrictionsKinda updated feature list a bitvisionmediabefore adoption6805e4f
line 29why, one step back29 * Extremely readable specsMerge branch 'integration'visionmediabefore adoption7441164
line 30why, one step back30 * Cookie supportRemoved Route#run(). Closes #188visionmediabefore adoption4d1bda0
lines 31–33why, one step back31 32## Installation33Added kiwi installation docsvisionmediabefore adoption0c18ac5
lines 34–37why, one step back34 Install the [Kiwi package manager for nodejs](http://github.com/visionmedia/kiwi)35 and run:36 37 $ kiwi -v install expressMerge branch 'remove-kiwi'visionmediabefore adoption670b6cf
lines 38–39why, one step back38 39orRemoved Route#run(). Closes #188visionmediabefore adoption4d1bda0
line 40why, one step back40Merge branch 'remove-kiwi'visionmediabefore adoption670b6cf
lines 41–42why, one step back41 Install via git clone:42 Added Request#isXHR. Closes #229visionmediabefore adoption884d333
line 43why, one step back43 $ git clone git://github.com/visionmedia/express.git && cd express && git submodule update --initMerge branch 'remove-kiwi'visionmediabefore adoption670b6cf
line 44why, one step back44Removed Route#run(). Closes #188visionmediabefore adoption4d1bda0
lines 45–46why, one step back45## Performance46Benchmarks linkvisionmediabefore adoption9f48b32
line 47why, one step back47 Extensive performance enhancements have not yet been made,Merge branch 'integration'visionmediabefore adoption7441164
line 48why, one step back48 since we are focusing on the framework itself at the moment. Removed Route#run(). Closes #188visionmediabefore adoption4d1bda0
line 49why, one step back49 Benchmarks linkvisionmediabefore adoption9f48b32
line 50why, one step back50 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 back5152## Examples53Doc typovisionmediabefore adoption62779fc
line 54why, one step back54Below 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 back55Merge branch 'remove-kiwi'visionmediabefore adoption670b6cf
lines 56–58why, one step back56 require.paths.unshift('express/lib')57 require('express')58 Better example appvisionmediabefore adoption77f8e46
lines 59–69why, one step back59 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 back70 })Sample app in readmevisionmediabefore adoptionfdee4cd
line 71why, one step back71Removed Route#run(). Closes #188visionmediabefore adoption4d1bda0
line 72why, one step back72 run()Merge branch 'coffee'visionmediabefore adoption9cb23ac
line 73why, one step back73 Removed Route#run(). Closes #188visionmediabefore adoption4d1bda0
lines 74–77why, one step back74## Running Tests7576Express 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 back78to spec/lib and **does not** require separate installation.Removed Route#run(). Closes #188visionmediabefore adoption4d1bda0
lines 79–88why, one step back7980 $ 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 back89The latest release of Express is compatible with node --version:Updated node --version supportedvisionmediabefore adoptiona9d3e47
line 90why, one step back90 v0.1.91Docs for stable / edgevisionmediabefore adoption2d1c98a
lines 91–92why, one step back91 92EDGE Express we do our best to keep up to date with node's EDGERemoved Route#run(). Closes #188visionmediabefore adoption4d1bda0
lines 93–97why, one step back93 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 back98 * Featured in [Advanced JavaScript e-book](http://www.dev-mag.com/2010/02/18/advanced-javascript/) for only $4Removed Route#run(). Closes #188visionmediabefore adoption4d1bda0
lines 99–102why, one step back99 100## Contributors101102 * TJ Holowaychuk (visionmedia) <tj@vision-media.ca>Bump Aaron up as a contributorvisionmediabefore adoption99789c3
line 103why, one step back103 * Aaron Heckmann (aheckmann) <aaron.heckmann+github@gmail.com>Removed Route#run(). Closes #188visionmediabefore adoption4d1bda0
lines 104–130why, one step back104 * 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.