{"id":80,"date":"2017-04-12T04:23:32","date_gmt":"2017-04-12T04:23:32","guid":{"rendered":"http:\/\/blog.amt.in\/?p=80"},"modified":"2017-04-12T05:22:12","modified_gmt":"2017-04-12T05:22:12","slug":"introduction-to-node-js","status":"publish","type":"post","link":"https:\/\/blog.amt.in\/index.php\/2017\/04\/12\/introduction-to-node-js\/","title":{"rendered":"Introduction to Node.js"},"content":{"rendered":"<p>Node.js is a platform built on <a href=\"https:\/\/code.google.com\/p\/v8\/\" target=\"_blank\" rel=\"nofollow\">Chrome&#8217;s JavaScript runtime<\/a> for easily building fast and scalable network applications. Node.js uses an event-driven, non-blocking I\/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.<\/p>\n<p>Node.js is an open source, cross-platform runtime environment for developing server-side and networking applications. Node.js applications are written in JavaScript, and can be run within the Node.js runtime on OS X, Microsoft Windows, and Linux.<\/p>\n<p>Following are some of the important features that make Node.js the first choice of software architects.<\/p>\n<ul class=\"list\">\n<li><b>Asynchronous and Event Driven<\/b> \u00e2\u02c6\u2019 All APIs of Node.js library are asynchronous, that is, non-blocking. It essentially means a Node.js based server never waits for an API to return data. The server moves to the next API after calling it and a notification mechanism of Events of Node.js helps the server to get a response from the previous API call.<\/li>\n<li><b>Very Fast<\/b> \u00e2\u02c6\u2019 Being built on Google Chrome&#8217;s V8 JavaScript Engine, Node.js library is very fast in code execution.<\/li>\n<li><b>Single Threaded but Highly Scalable<\/b> \u00e2\u02c6\u2019 Node.js uses a single threaded model with event looping. Event mechanism helps the server to respond in a non-blocking way and makes the server highly scalable as opposed to traditional servers which create limited threads to handle requests. Node.js uses a single threaded program and the same program can provide service to a much larger number of requests than traditional servers like Apache HTTP Server.<\/li>\n<li><b>No Buffering<\/b> \u00e2\u02c6\u2019 Node.js applications never buffer any data. These applications simply output the data in chunks.<\/li>\n<li><b>License<\/b> \u00e2\u02c6\u2019 Node.js is released under the <a href=\"https:\/\/raw.githubusercontent.com\/joyent\/node\/v0.12.0\/LICENSE\" target=\"_blank\" rel=\"nofollow\">MIT license<\/a><\/li>\n<\/ul>\n<p>Following are the areas where Node.js is proving itself as a perfect technology partner.<\/p>\n<ul class=\"list\">\n<li>I\/O bound Applications<\/li>\n<li>Data Streaming Applications<\/li>\n<li>Data Intensive Real-time Applications (DIRT)<\/li>\n<li>JSON APIs based Applications<\/li>\n<li>Single Page Applications<\/li>\n<\/ul>\n<p>The above mentioned are some of the Key features of Node.js<\/p>\n<p><a href=\"http:\/\/www.amt.in\">Advanced Millennium Technologies <\/a>along with <a href=\"http:\/\/www.nodeschool.io\">Node School<\/a> organizes Node.js Meet-ups very often at their Head Office in Bengaluru, India. \u00c2\u00a0All those who wish to have an introduction to Node.js, please register for the event and attend a workshop. Kindly follow the below mentioned Link.<\/p>\n<style type=\"text\/css\">#meetup_oembed .mu_clearfix:after { visibility: hidden; display: block; font-size: 0; content: \" \"; clear: both; height: 0; }* html #meetup_oembed .mu_clearfix, *:first-child+html #meetup_oembed .mu_clearfix { zoom: 1; }#meetup_oembed { background:#eee;border:1px solid #ccc;padding:10px;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;margin:0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px; }#meetup_oembed h3 { font-weight:normal; margin:0 0 10px; padding:0; line-height:26px; font-family:Georgia,Palatino,serif; font-size:24px }#meetup_oembed p { margin: 0 0 10px; padding:0; line-height:16px; }#meetup_oembed img { border:none; margin:0; padding:0; }#meetup_oembed a, #meetup_oembed a:visited, #meetup_oembed a:link { color: #1B76B3; text-decoration: none; cursor: hand; cursor: pointer; }#meetup_oembed a:hover { color: #1B76B3; text-decoration: underline; }#meetup_oembed a.mu_button { font-size:14px; -moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;border:2px solid #A7241D;color:white!important;text-decoration:none;background-color: #CA3E47; background-image: -moz-linear-gradient(top, #ca3e47, #a8252e); background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #a8252e), color-stop(1, #ca3e47));disvplay:inline-block;padding:5px 10px; }#meetup_oembed a.mu_button:hover { color: #fff!important; text-decoration: none; }#meetup_oembed .photo { width:50px; height:50px; overflow:hidden;background:#ccc;float:left;margin:0 5px 0 0;text-align:center;padding:1px; }#meetup_oembed .photo img { height:50px }#meetup_oembed .number { font-size:18px; }#meetup_oembed .thing { text-transform: uppercase; color: #555; }<\/style>\n<div id=\"meetup_oembed\" style=\"height:309px\">\n<div style=\"overflow:hidden;max-height:269px\">\n<h3>Bengaluru NodeSchool Event<\/h3>\n<p style=\"margin:0 0 10px;font-size:12px;line-height:16px;\">Bangalore, IN <br \/>          <span style=\"font-size:14px;font-weight:bold;\">1,336<\/span> <em>Noders<\/em><\/p>\n<p>          <a href=\"https:\/\/www.meetup.com\/Bengaluru-Nodeschool-Event\/\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/secure.meetupstatic.com\/photos\/event\/9\/8\/5\/600_432302437.jpeg\" style=\"float:right;max-width:150px;margin-right:0;\" \/><\/a>                          <\/p>\n<div style=\"margin-right:170px;line-height:16px;\">NodeSchool BengaluruIf you want to increase your skills with Node, this is easily the best way to do it.We will be hosting hands-on workshops for beginners.Some Discussions&#8230;<\/div>\n<\/p><\/div>\n<p style=\"margin:10px 0 5px;\"><a href=\"https:\/\/www.meetup.com\/Bengaluru-Nodeschool-Event\/\" target=\"_blank\" class=\"mu_button\">Check out this Meetup Group &rarr;<\/a><\/p>\n<\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Node.js is a platform built<\/p>\n","protected":false},"author":1,"featured_media":82,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[14,13],"class_list":["post-80","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-techtrends","tag-javascript","tag-node-js"],"_links":{"self":[{"href":"https:\/\/blog.amt.in\/index.php\/wp-json\/wp\/v2\/posts\/80","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.amt.in\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.amt.in\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.amt.in\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.amt.in\/index.php\/wp-json\/wp\/v2\/comments?post=80"}],"version-history":[{"count":7,"href":"https:\/\/blog.amt.in\/index.php\/wp-json\/wp\/v2\/posts\/80\/revisions"}],"predecessor-version":[{"id":85,"href":"https:\/\/blog.amt.in\/index.php\/wp-json\/wp\/v2\/posts\/80\/revisions\/85"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.amt.in\/index.php\/wp-json\/wp\/v2\/media\/82"}],"wp:attachment":[{"href":"https:\/\/blog.amt.in\/index.php\/wp-json\/wp\/v2\/media?parent=80"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.amt.in\/index.php\/wp-json\/wp\/v2\/categories?post=80"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.amt.in\/index.php\/wp-json\/wp\/v2\/tags?post=80"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}