-
Notifications
You must be signed in to change notification settings - Fork 18
Utils
Domingo Ernesto Savoretti edited this page Apr 1, 2014
·
26 revisions
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.utils.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.
-
router.utils.uuid: unique identifiers.
-
control flow (async programming): this issue deserves a chapter by itself (or rather, a book), see Async
-
to be continued...