New doc files
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by visionmedia · committed by visionmedia · parent 631ef3e · Browse files · 2 files·+97 added−0 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+97 added−0 removed
- other:+97 added−0 removed
Provenance
- Commit
8675f12- Tree
0de771c- Author
visionmedia <tj@vision-media.ca>- Committer
visionmedia <tj@vision-media.ca>- Parent
631ef3e
2 files changed+97 added−0 removed
added:History+4 added
1+2+=== 0.0.1 / YYYY-MM-DD3+4+* Initial releaseadded:Readme+93 added
1+2+= Express3+4+ Insanely fast (and small) server-side JavaScript web development framework5+ built on node.js and the V8 JavaScript engine.6+7+ * Stay tuned, coming soon :)8+9+== Features (so far)10+11+ * Sexy DSL12+ * Mime helpers13+ * Nested parameter parsing14+ * Full test coverage15+ * Test helpers (mock requests etc)16+ * Cookie support17+ * Session support18+ * Faux method support for RESTful apps19+ * Extendable using Express 'Modules'20+ * Static file serving21+ * Non polluting so you can use it with your fav JavaScript libraries :)22+ * Routing23+ * string matching 24+ * regexp with captures 25+ * param key substitution26+ * pre-conditions27+ * overidding28+ * etc29+30+== Coming Soon31+32+ * View templating system33+ * Jack integration34+35+== Examples36+37+ // GET /user/tj/edit38+ 39+ get('user/:name/:operation', function(){40+ param('operation') + 'ing ' + param('name')41+ })42+43+ // GET /articles44+ 45+ get('articles', function(){46+ 'list of articles'47+ })48+49+ // GET /articles/1250+ 51+ get(/articles\/(\d+)/, function(){52+ 'article id ' + captures[1]53+ })54+ 55+ // POST /user/:id56+ 57+ post('user/:id', function(){58+ User.destroy(params('id')) ? 59+ 'User deleted' :60+ 'Failed to delete user'61+ })62+ 63+== Headers64+65+ get ('foo', function(){66+ header('Content-Type', 'text/html')67+ '<p>bar</p>'68+ })69+70+== License 71+72+(The MIT License)73+74+Copyright (c) 2009 TJ Holowaychuk <tj@vision-media.ca>75+76+Permission is hereby granted, free of charge, to any person obtaining77+a copy of this software and associated documentation files (the78+'Software'), to deal in the Software without restriction, including79+without limitation the rights to use, copy, modify, merge, publish,80+distribute, sublicense, and/or sell copies of the Software, and to81+permit persons to whom the Software is furnished to do so, subject to82+the following conditions:83+84+The above copyright notice and this permission notice shall be85+included in all copies or substantial portions of the Software.86+87+THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,88+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF89+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.90+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY91+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,92+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE93+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.