From 28da3d95bc6a5e4280d1389166486d818f33390e Mon Sep 17 00:00:00 2001 From: test2 Date: Sun, 24 Nov 2019 20:11:51 +0200 Subject: [PATCH] pi2server --- IoT/SensorNode2Server.adoc | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/IoT/SensorNode2Server.adoc b/IoT/SensorNode2Server.adoc index 60277d8..00b2b56 100644 --- a/IoT/SensorNode2Server.adoc +++ b/IoT/SensorNode2Server.adoc @@ -429,7 +429,19 @@ image:./swarmlabn-1.png[alt="Swarm Gateway"] - Red Node: Sensor Node and Gateway Role - Black and Red Node: Sensor Node - Client -=== NodeJS +=== NodeJS Implementation + + +[NOTE] +==== +Node.js is an open-source, cross-platform, JavaScript runtime environment that executes JavaScript code outside of a browser. + +Node.js lets developers use JavaScript to write command line tools and for server-side scripting—running scripts server-side to produce dynamic web page content before the page is sent to the user's web browser. + +Consequently, Node.js represents a "JavaScript everywhere" paradigm, unifying web-application development around a single programming language, rather than different languages for server- and client-side scripts. + +Node.js operates on a single-thread event loop, using non-blocking I/O calls, allowing it to support tens of thousands of concurrent connections without incurring the cost of thread context switching +==== ==== Gateway