Node.js

Printer-friendly version

Node.js: a trendy IO server with javascript embedded designed to do internetty stuff.
So outrageously trendy that all the ease and simplicity it offers is erased by trying to keeep track of which version of what we all like this week.
Nonetheless, the trivial (evented) concurrency combined with high-performance
dynamic language support make it generally useful for processing networky
things - it’s kind of the glue language of networked IO.

Here, is my minimalist node.js exploration, as someone with zero interest in
web development who wants to
find the shortest route in the garden of forking paths to make node.js do some
basic things.
i.e. serve a static html5 javascript UI and
forward some network connections for
controllerist purposes.

frameworks

raw IO is a little too basic for many purposes. you want to conform to some protocols and use some helper tools.

Here are two chosen strickly becuase people i know use them, and therefore I can steal their tricks:

koa.js

koa.js generator-driven minimalist framework.
It is a semi-successor to express.js.

https://stackoverflow.com/questions/32721311/koa-js-serving-static-files-and-rest-api

https://github.com/koajs/static

For desktop

Yep, you can run this on the desktop with a GUI and everything.

Don’t learn some proprietary GUI framework, build a
javascript GUI like everyone else.

See original: The Living Thing / Notebooks Node.js