Node.js is a registered trademark of the Linux Foundation Discussion Responses, computer science homework help

User Generated

Ghgbe1313

Computer Science

Description

Respond to each post in 150 words.

211.7.1

Node.js is a registered trademark of the Linux Foundation that interfaces with the V8 JavaScript runtime model through the Google Chrome browser. In another words, node.js is a way to run JavaScript language on the server which is very lightweight and efficient. One of the principle concepts of node.js is its asynchronous functions that are embedded into the Chrome browser which basically allows everything to run in the background. Node.js works very well with RESTful application programming interfaces (which we learned about in last week’s forum assignment) offering simple data manipulation that you will not have to do a lot of re-computations to. Once you develop an application using JavaScript language through node.js you can then easily publish it to a website using the Express framework.

So far my takeaway from this week’s chapter is finding out how to build simple webpages using node.js development platform then publishing them through the Express framework. In my previous class we used the Python development platform to build and run programs, I would assume that node.js is very similar but used in a different way. According to nodejs.org the program is constantly under development with contributors around the world to keep it reliable, stable and up to date. This is vital to web developers in the field when utilizing node.js to develop web based applications.

In order to put it to use I would first need to download the node.js development platform on my computer. Once installed I could then utilize the JavaScript language to develop a program or webpage by writing the code. Then I would use the Google Chrome browser to run my script making sure the code is correct. Then fixing any errors and making the final publication of my work.


211.7.2

Node.js is a server-side platform built on Google Chrome's JavaScript V8 Engine 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. 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.

I learned that Node.js is asynchronous and event driven. This means that all APIs of Node.js library are asynchronous—non-blocking. Which means a Node.js based server never has to wait 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. Node.js is also extremely fast in code execution due to being built on Google Chrome’s V8 JavaScript Engine. Node.js applications also never have to buffer any data. These applications simply output the data in chunks. 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.

Node.js is best used for I/O bound Applications, Data Streaming Applications, Data Intensive Real-time Applications (DIRT), JSON APIs based Applications, and Single Page Applications.

User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

Attached.

INSERT SURNME HERE1
Responses
Institutional affiliation
Date
211.7.1
Great post! I agree with the student post based on their definition of Node.js. Simply, Node.js is
a cross-platform JavaScript runtime environment that is used to develop a different variety of
server tools and applications. Even though Node.js is not a framework for JavaScript, most of the
modules are usually written in Java...


Anonymous
Just the thing I needed, saved me a lot of time.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Related Tags