edit-article
Home
Up
Delete
Article Name:
Article Description:
overview - nodejs - an open source, event driven non blocking javascript runtime environment that enables the creation of fast, scaleable data intensive applications
Chapter ID/Name:
Status:
Write
Writing
Written
Add Photo:
Owner ID:
Content:
use HTML
Edit Content
<h1 style="text-align: center;">node.js</h1> <h2>[WHAT]</h2> <ol> <li>[] node js is a runtime environment for javascript code</li> <li>[] node apps are written in the javascript programming language and run within the node runtime</li> <li>[] node uses the google chrome V8 javascript engine</li> <li>[] node is a c++ .exe program with the V8 JavaScript runtime engine embedded inside it.</li> <li>[] node uses the v8' javascript runtime engine to executes javasript code outside of a web browser environment</li> <li>[] node is currently available for mulitple operating system(OS) platforms including linux, windows, osX, FreeBSD and more</li> <li>[] node includes the node package manager (npm) for installing additional packages</li> <li>[] node contains a built-in library/module to allow node applications to act as a web server without using any additional web server software such as <a title="Apache HTTP Server" href="http://en.wikipedia.org/wiki/Apache_HTTP_Server" target="_blank">Apache HTTP Server</a> or <a title="Internet Information Services" href="http://en.wikipedia.org/wiki/Internet_Information_Services" target="_blank">IIS</a>.</li> </ol> <h2>[WHY]</h2> <ol> <li><strong>[] fast -</strong></li> <li><strong>[] scaleable -</strong></li> <ol> <li>[] <strong>event driven architecture model</strong> -event loop model - better performing, more scaleable </li> <li>[] <strong>non blocking io</strong> - asynchronious code execution, that optimizes an application's throughput and scalability.</li> </ol> <li><strong>[] monoglot programming - single language(javascript) development</strong> - both server side and client side code can be developed using the same programming language,</li> <li>[] <strong>cross platform</strong> - available on linux, windows,</li> <li>[] <strong>open source software(OSS) </strong>- licence =</li> <li>[] <strong>community</strong> - large with phenomenal growth, means lots of packages, lots of support </li> <li>[] <strong>npm</strong> - node package manager - simplifies the distribution of packages, installing, removing</li> <li><strong>[] packages - aka libraries</strong> - for (almost) everthing, lots & lots, -rapidly evolving code base, </li> </ol> <h2>[WHY NOT]</h2> <ol> <li><strong>[] a community divided</strong></li> <ol> <li>[] In December 2014, Fedor Indutny started io.js, a <a title="Fork (software development)" href="https://en.wikipedia.org/wiki/Fork_(software_development)" target="_blank">fork</a> of Node.js. <strong>Due to the internal conflict over Joyent's governance, io.js was created as an <a title="Open governance" href="https://en.wikipedia.org/wiki/Open_governance" target="_blank">open governance</a> alternative</strong> with a separate technical committee. Unlike Node.js, the authors planned to keep io.js up-to-date with the latest releases of the Google V8 JavaScript engine</li> </ol> <li><strong>[] a community reunited</strong></li> <ol> <li>] 2 groups are merging back together,</li> </ol> <li>[]</li> </ol> <h2>[WHERE]</h2> <ol> <li>[] <a href="https://nodejs.org" target="_blank">https://nodejs.org</a> </li> </ol> <h2>[WHEN]</h2> <ol> <li>[] <a href="https://blog.risingstack.com/history-of-node-js/" target="_blank">nodejs timeline</a> - a listing of important developments in the node world</li> </ol> <h2>[EXAMPLE]</h2> <ol> <li>[] hello world in node -</li> <li>[] nodeOne - your first node app -</li> <li>[] nodeTwo -</li> </ol> <h2>[HOW-TO]</h2> <ol> <li>[] installing node -</li> </ol> <h2>[REFERENCE]</h2> <ol> <li><strong>[] wikipedia article</strong> - <a href="http://en.wikipedia.org/wiki/Node.js" target="_blank">http://en.wikipedia.org/wiki/Node.js </a></li> </ol> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p>