{"id":6682,"date":"2021-11-12T07:27:30","date_gmt":"2021-11-12T06:27:30","guid":{"rendered":"https:\/\/immune.institute\/?p=6682"},"modified":"2021-11-12T07:27:30","modified_gmt":"2021-11-12T06:27:30","slug":"node-js-y-por-que-deberias-utilizarlo","status":"publish","type":"post","link":"https:\/\/immune.institute\/en\/blog\/node-js-y-por-que-deberias-utilizarlo\/","title":{"rendered":"Node.JS and why you should use it"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">JavaScript is undoubtedly one of the <\/span><a href=\"https:\/\/immune.institute\/en\/lenguajes-de-programacion-mas-demandados\/\"><span style=\"font-weight: 400;\">most popular programming languages<\/span><\/a><span style=\"font-weight: 400;\"> by web developers and designers. It makes it easy to <\/span><b>creating interactive and dynamic spaces<\/b><span style=\"font-weight: 400;\">providing an optimal user experience.<\/span><\/p>\n<blockquote>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">In the beginning, JavaScript could only be used with the  tag, so programmers were forced to work with different languages and frameworks... until Node.JS came along.<\/span><\/p>\n<\/blockquote>\n<p><span style=\"font-weight: 400;\">But, <\/span><b>what is Node.JS and what is it for?<\/b><span style=\"font-weight: 400;\"> In this article, we tell you more about this cross-platform runtime environment for one of the most popular and popular <\/span><a href=\"https:\/\/immune.institute\/en\/lenguajes-de-programacion-para-movil\/\"><span style=\"font-weight: 400;\">mobile programming languages<\/span><\/a><span style=\"font-weight: 400;\"> most important at the present time.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">What is Node JS?<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">First of all, it should be noted that Node.JS is a fundamental and very popular tool for the development of web applications. In fact, it is used by almost every major brand: Microsoft, NASA, Netflix, PayPal, LinkedIn...&nbsp;<\/span><\/p>\n<p><b>Node.JS is<\/b> <b>the cross-platform server-side runtime environment that interprets the JavaScript language<\/b><span style=\"font-weight: 400;\">. In this way, the programming process is optimised, since thanks to Node.JS, the same language can be used on both the client and server sides, eliminating information asymmetries.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">In addition, Node.JS is open source, has a \"Single Threaded Event Loop\" architecture, and deals with <\/span><b>creating scalable applications<\/b><span style=\"font-weight: 400;\">. All this in order to be able to handle different clients quickly and simultaneously. Thanks to the latter, there are no process bottlenecks.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">How Node.JS works: key features<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">In response to the question of <\/span><b>what is Node.JS and why should you use it?<\/b><span style=\"font-weight: 400;\">The following features or functions of Node.JS are worth mentioning:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Built on Google Chrome's V8 engine: <\/b><span style=\"font-weight: 400;\">First of all, this is a good reason why you should use Node.JS. This engine is one of the most advanced in the JavaScript language, so its library is very fast when executing code.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Efficiency:<\/b><span style=\"font-weight: 400;\"> Node.JS is characterised by its efficiency when handling events. This is because this execution environment is very light, it weighs very little, which also improves its speed.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Event-driven:<\/b><span style=\"font-weight: 400;\"> Since Node.JS does not have to wait for the API to return data, the server employs an event notification system. This allows it to get a response from the API (or application programming interface) above.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Scalability: <\/b><span style=\"font-weight: 400;\">To run an application with Node.JS, you need to know that it is a very scalable mechanism. The server is non-blocking, so it compares well with other servers.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>No buffering:<\/b><span style=\"font-weight: 400;\"> That is, Node.JS does not generate data, so that the data remains buffered.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">And if you still don't know what Node.JS is and why you should use it, here are 7 reasons why you should use this cross-platform runtime environment.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">Why use Node.JS: 7 reasons to use it?<\/span><\/h2>\n<p><b>Find out what Node.JS is and why you should use it.<\/b><span style=\"font-weight: 400;\"> These are our top 7 reasons:<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">1. Various servers<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Node.JS can run on a wide variety of servers. Without going any further, it is present in both <\/span><b>Microsoft Windows as well as Mac OS X and even Unix.<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">2. Exchange between professionals<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">As it is open source, it encourages the exchange between the work of the different specialists in the field. <\/span><span style=\"font-weight: 400;\">software development<\/span><span style=\"font-weight: 400;\">. Therefore, something very positive is created: <\/span><b>a collaborative community<\/b><span style=\"font-weight: 400;\"> between professional colleagues.&nbsp;&nbsp;<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">3. Reduce times<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">By optimising programming processes and data transfer between client and server, <\/span><b>times are also decreasing<\/b><span style=\"font-weight: 400;\"> and in a considerate way, too.&nbsp;<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">4. For high traffic applications<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Node.JS is highly recommended for apps with a lot of traffic and events. This is the case, for example, of <\/span><b>the social network Twitter<\/b><span style=\"font-weight: 400;\">where thousands of tweets are generated every day.<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">5. Performance<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">On the other hand, to the question of what Node.JS is and why you should use it, this section is key: its performance.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Programming experts have been pleasantly surprised by this quality. The <\/span><b>quality generated is very noticeable<\/b><span style=\"font-weight: 400;\">In addition, the margin of error has also decreased significantly.<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">6. For real-time apps<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Indeed, <\/span><b>video games<\/b><span style=\"font-weight: 400;\"> are a good example of this. Node.JS is also recommended for online chats.<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">7. Creation and innovation in applications<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">In short, Node.JS allows you to innovate in the invention of applications, thanks to its relevant <\/span><b>scalability<\/b><span style=\"font-weight: 400;\">. A whole new universe has opened up for programming professionals, allowing - for example - a large number of users to be connected at the same time.<\/span><\/p>\n<p><b>And you, would you like to go into programming?<\/b><span style=\"font-weight: 400;\"> Do you want to become an expert in Node.JS or any other area of this computer science speciality? At IMMUNE we have the <\/span><span style=\"font-weight: 400;\">Degree in <a href=\"https:\/\/immune.institute\/en\/ingenieria-software\/\">Software Development Engineering<\/a><\/span><span style=\"font-weight: 400;\">as well as very interesting Bootcamps in <\/span><a href=\"https:\/\/immune.institute\/en\/diseno-ux-ui\/\"><span style=\"font-weight: 400;\">UX\/UI Design<\/span><\/a><span style=\"font-weight: 400;\"> o <\/span><a href=\"https:\/\/immune.institute\/en\/bootcamp-full-stack-developer\/\"><span style=\"font-weight: 400;\">Web Development<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">&nbsp;You choose at our technological institute!<\/span><\/p>","protected":false},"excerpt":{"rendered":"<p>Sin duda, JavaScript es uno de los lenguajes de programaci\u00f3n m\u00e1s demandados por desarrolladores y dise\u00f1adores web. Y es que facilita la creaci\u00f3n de espacios interactivos y din\u00e1micos, proporcionando una experiencia de usuario \u00f3ptima. Al principio, con JavaScript solo se pod\u00eda emplear la etiqueta &lt;script&gt;, por lo que los programadores se ve\u00edan obligados a trabajar [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":7354,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_crdt_document":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-6682","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog"],"acf":[],"_links":{"self":[{"href":"https:\/\/immune.institute\/en\/wp-json\/wp\/v2\/posts\/6682","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/immune.institute\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/immune.institute\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/immune.institute\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/immune.institute\/en\/wp-json\/wp\/v2\/comments?post=6682"}],"version-history":[{"count":0,"href":"https:\/\/immune.institute\/en\/wp-json\/wp\/v2\/posts\/6682\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/immune.institute\/en\/wp-json\/wp\/v2\/media\/7354"}],"wp:attachment":[{"href":"https:\/\/immune.institute\/en\/wp-json\/wp\/v2\/media?parent=6682"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/immune.institute\/en\/wp-json\/wp\/v2\/categories?post=6682"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/immune.institute\/en\/wp-json\/wp\/v2\/tags?post=6682"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}