Node.js Technology ReportQ1. What technology is selected? (Basic concepts, definitions, functionality) Traditionally websites were built using HTML and CSS. Over the time that websites have become heavier and more complicated, scripting languages such as PHP, Python and Perl have been used with front-ends developed in the previously mentioned technologies (HTML and CSS). JavaScript was introduced and made web pages more interactive. With time and increased usage, jQuery was introduced. These were libraries of JavaScript functions frequently used in web pages. However, people who used these technologies were called “JavaScript Users” and not “JavaScript Developers”. Node.js allows you to run JavaScript code on the server side, outside of the browser. Node.js is a platform based on Chrome's JavaScript runtime. It uses Google's V8 VM, the same runtime environment for JavaScript used by Chrome. Features like the non-blocking, event-driven I/O model make it ideal for data-intensive real-time applications running on distributed devices. The asynchronous nature of the scripting language and identical identity to JavaScript are key assets, making it much easier to use. express competition in the application. Event driven, single threaded. The most important concept of Node.js is that it is event-driven and executes its event on a single thread. This means that there are several events in the event loop but only one will work at a time. An event may send a callback to another event but only one event will occur. This saves multithread overhead. A request arrives at the node.js web server and is handled by a listener object to process the response. In the meantime, the web server will remain ready to accept any new requests. The handling of the previous answer will remain in a que...... middle of paper ......and used to share code between the browser and the backend. JavaScript is on its way to becoming a truly universal language. And the final reason is pure speed. V8 constantly pushes the limits to become one of the fastest dynamic language interpreters on the planet. In addition to that, the node I/O structures are really lightweight and make maximum use of the system's I/O capabilities. Package Management: Node Package Manager (NPM) Node Package Manager is the foundation of deployment systems for Node.js and powers many platform-as-a-service (PaaS) providers for Node.js, simplifying the deployment of smaller applications between providers. NPM can help you benefit by obtaining and managing thousands of open source packages so you don't have to build everything yourself.Q5. How to use this technology (procedure, tips and guidelines)Syntax tutorialDemo video
tags