Skip to content
Domingo Ernesto Savoretti edited this page Mar 22, 2014 · 26 revisions

Non routing-related methods and properties

Listing, in no particular order and by no means complete of the support tools that NSR has to offer

  • mk-server: tiny tool that constructs a web server (server. coffee, or server.js if invoked adding js argument, like so: mk-server js; stay tuned though, because the order of precedence, i.e. making js the default may change upon feedback received). It's also planned to add it the capability of generating a full web app, not just a server. If you install NSR globally this tool will be available system wide.

  • router.mime_types: a dictionary of mime types, initially devised to be used in NSR inner workings, it became - as happened to other constituents of NSR, you'll see more of this - a handy element by itself.

  • control flow (async programming): this issue deserves a chapter by itself (or rather, a book), see Async

  • to be continued...and no, we won't implement (or rather, reinvent) the whole Javascript world!

Clone this wiki locally