Readme.md
This file
Path
Readme.md
126 lines · 4.0 KiB · Markdown
Last changed by
Updated support to v0.1.33visionmediabefore adoptionb30eaa8
History of this fileTake it
The walk stopped after 200 commits: lines older than 22e338f point at it.
Add support to StaticFile so that it works with non-textual files.ciaranjbefore adoption22e338f
lines 1–13why, 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 performanceReadmevisionmediabefore adoption327d5b0
line 14why, one step back14 * Session supportUpdated feature listvisionmediabefore adoption088aa83
lines 15–16why, one step back15 * Cache API16 * RESTful HTTP clientAdd support to StaticFile so that it works with non-textual files.ciaranjbefore adoption22e338f
lines 17–18why, one step back17 * Mime helpers18 * Redirection helpersKinda updated feature list a bitvisionmediabefore adoption6805e4f
line 19why, one step back19 * Multipart file upload supportAdd support to StaticFile so that it works with non-textual files.ciaranjbefore adoption22e338f
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 passingReadmevisionmediabefore adoption327d5b0
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 formatsKinda updated feature list a bitvisionmediabefore adoption6805e4f
line 28why, one step back28 * Extremely readable specsAdd support to StaticFile so that it works with non-textual files.ciaranjbefore adoption22e338f
lines 29–31why, one step back29 30## Installation31Added kiwi installation docsvisionmediabefore adoption0c18ac5
lines 32–35why, one step back32 Install the [Kiwi package manager for nodejs](http://github.com/visionmedia/kiwi)33 and run:34 35 $ kiwi -v install expressMerge branch 'remove-kiwi'visionmediabefore adoption670b6cf
lines 36–37why, one step back36 37orAdd support to StaticFile so that it works with non-textual files.ciaranjbefore adoption22e338f
line 38why, one step back38Merge branch 'remove-kiwi'visionmediabefore adoption670b6cf
lines 39–40why, one step back39 Install via git clone:40 Added Request#isXHR. Closes #229visionmediabefore adoption884d333
line 41why, one step back41 $ git clone git://github.com/visionmedia/express.git && cd express && git submodule update --initMerge branch 'remove-kiwi'visionmediabefore adoption670b6cf
line 42why, one step back42Add support to StaticFile so that it works with non-textual files.ciaranjbefore adoption22e338f
lines 43–44why, one step back43## Performance44Benchmarks linkvisionmediabefore adoption9f48b32
lines 45–46why, one step back45 Extensive performance enhancements have not yet been made,46 since we are focusing on the framework it-self at the moment. Add support to StaticFile so that it works with non-textual files.ciaranjbefore adoption22e338f
line 47why, one step back47 Benchmarks linkvisionmediabefore adoption9f48b32
line 48why, one step back48 However if you are interested view the premature [benchmarks for Express framework](http://vision-media.ca/resources/nodejs/express-nodejs-web-development-framework-performance).Add support to StaticFile so that it works with non-textual files.ciaranjbefore adoption22e338f
lines 49–51why, one step back4950## Examples51Doc typovisionmediabefore adoption62779fc
line 52why, one step back52Below is a tiny Express application. View the [Wiki](http://wiki.github.com/visionmedia/express/) for detailed information.Merge branch 'master' of git://github.com/visionmedia/expressciaranjbefore adoptionae33e7b
line 53why, one step back53Merge branch 'remove-kiwi'visionmediabefore adoption670b6cf
lines 54–56why, one step back54 require.paths.unshift('express/lib')55 require('express')56 Better example appvisionmediabefore adoption77f8e46
lines 57–67why, one step back57 get('/user', function(){58 this.redirect('/user/' + this.currentUser.id)59 })60 61 get('/user/:id', function(id){62 this.render('user.haml.html', {63 locals: {64 user: this.currentUser,65 usersOnline: Session.store.length()66 }67 })Add support to StaticFile so that it works with non-textual files.ciaranjbefore adoption22e338f
line 68why, one step back68 })Sample app in readmevisionmediabefore adoptionfdee4cd
line 69why, one step back69Add support to StaticFile so that it works with non-textual files.ciaranjbefore adoption22e338f
line 70why, one step back70 run()Merge branch 'coffee'visionmediabefore adoption9cb23ac
line 71why, one step back71 Add support to StaticFile so that it works with non-textual files.ciaranjbefore adoption22e338f
lines 72–74why, one step back72## Running Tests7374Express uses the [JSpec](http://jspec.info) BDD JavaScript testingMerge branch 'master' of git://github.com/visionmedia/expressciaranjbefore adoption704c933
line 75why, one step back75framework to write and run elegant spec suites. JSpec is frozen Managing dependencies with the kiwi package manager. Closes #228visionmediabefore adoption6da4a94
line 76why, one step back76to spec/lib and **does not** require separate installation.Add support to StaticFile so that it works with non-textual files.ciaranjbefore adoption22e338f
lines 77–78why, one step back7778 $ make testMerge branch 'master' of git://github.com/visionmedia/expressciaranjbefore adoptione125ae2
line 79why, one step back79 Add support to StaticFile so that it works with non-textual files.ciaranjbefore adoption22e338f
lines 80–81why, one step back80Run individual suites:81Merge branch 'master' of git://github.com/visionmedia/expressciaranjbefore adoption6f7141a
lines 82–84why, one step back82 $ node spec/node.js core83 $ node spec/node.js mime84 $ node spec/node.js routingAdd support to StaticFile so that it works with non-textual files.ciaranjbefore adoption22e338f
line 85why, one step back85 ...Merge branch 'master' of git://github.com/visionmedia/expressciaranjbefore adoption6f7141a
line 86why, one step back86 Add support to StaticFile so that it works with non-textual files.ciaranjbefore adoption22e338f
line 87why, one step back87Express is currently being developed with node --version:Updated support to v0.1.33visionmediabefore adoptionb30eaa8
line 88why, one step back88 v0.1.33Add support to StaticFile so that it works with non-textual files.ciaranjbefore adoption22e338f
line 89why, one step back89 Merge branch 'master' of git://github.com/visionmedia/expressciaranjbefore adoption99e3130
lines 90–93why, one step back90## More Information9192 * [JavaScript Extensions & Utilities](http://github.com/visionmedia/ext.js)93 * [JavaScript Sass](http://github.com/visionmedia/sass.js)Shameless self promotion of ebookvisionmediabefore adoption91805f7
line 94why, one step back94 * Featured in [Advanced JavaScript e-book](http://www.dev-mag.com/2010/02/18/advanced-javascript/) for only $4Merge branch 'master' of git://github.com/visionmedia/expressciaranjbefore adoption99e3130
line 95why, one step back95 Merge branch 'master' of git://github.com/visionmedia/expressciaranjbefore adoption17ab8e8
lines 96–97why, one step back96## Contributors97Merge branch 'master' of git://github.com/visionmedia/expressciaranjbefore adoption99e3130
line 98why, one step back98 * TJ Holowaychuk (visionmedia) <tj@vision-media.ca>Bump Aaron up as a contributorvisionmediabefore adoption99789c3
line 99why, one step back99 * Aaron Heckmann (aheckmann) <aaron.heckmann+github@gmail.com>Merge branch 'master' of git://github.com/visionmedia/expressciaranjbefore adoption99e3130
lines 100–101why, one step back100 * Ciaran Jessup (ciaranj) <ciaranj@gmail.com>101 * Gareth Jones (csausdev) <gareth.jones@sensis.com.au>Merge branch 'master' of git://github.com/visionmedia/expressciaranjbefore adoption17ab8e8
line 102why, one step back102 Add support to StaticFile so that it works with non-textual files.ciaranjbefore adoption22e338f
lines 103–106why, one step back103## License 104105(The MIT License)106Merge branch 'master' of git://github.com/visionmedia/expressciaranjbefore adoption17ab8e8
line 107why, one step back107Copyright (c) 2009 TJ Holowaychuk <tj@vision-media.ca>Add support to StaticFile so that it works with non-textual files.ciaranjbefore adoption22e338f
lines 108–126why, one step back108109Permission is hereby granted, free of charge, to any person obtaining110a copy of this software and associated documentation files (the111'Software'), to deal in the Software without restriction, including112without limitation the rights to use, copy, modify, merge, publish,113distribute, sublicense, and/or sell copies of the Software, and to114permit persons to whom the Software is furnished to do so, subject to115the following conditions:116117The above copyright notice and this permission notice shall be118included in all copies or substantial portions of the Software.119120THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,121EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF122MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.123IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY124CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,125TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE126SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.