Node.js: Build Web APIs and Applications with Node.js , 4th Edition
- Length: 130 pages
- Edition: 4
- Language: English
- Publication Date: 2021-04-02
- ISBN-10: B091MMX82V
- Sales Rank: #348180 (See Top 100 Books)
javascript has existed since 1995 and has since taken over as the dominant language for web development. For much of its life, JavaScript was used mainly for client-side scripting inside <script> tags executing in web browsers. This limitation meant that developers were often working in many different languages and frameworks between the front-end (client-side) and backend (server-side) aspects of a web application.
Although there were other projects to bring JavaScript to server-side applications, the functionality took off with the launch of Node.js in 2009. Node allows developers to write JavaScript code that runs directly in a computer process itself instead of in a browser. Node can, therefore, be used to write server-side applications with access to the operating system, file system, and everything else required to build fully-functional applications.
Node.js is written in C, C++, and JavaScript, and it is built on the open-source V8 JavaScript engine which also powers JS in browsers such as Google Chrome. As V8 supports new features in JavaScript, they are incorporated into Node.
Introduction What Is Node.js? How Do I Install Node.js? Node Binaries vs Version Manager “Hello, World!” the Node.js Way node hello.js Node.js Has Excellent Support for Modern JavaScript Installing a Package Globally jshint index.js Installing a Package Locally JavaScript and Node.js JavaScript and You An advert Server Side JavaScript "Hello World" A Complete Web Application with Node.js Use cases The Application Stack Building the Application Stack A Basic HTTP Server Analyzing our HTTP server Passing Functions from Side to Side How passing functions makes our HTTP server work Event Driven Callbacks How our Server manipulates requests Finding a place for our server module What is needed to "route" requests? Execution in the realm of verbs Routing to true request handlers Making Petition Handlers Respond How should this not be done? Blocking and Non-Blocking Responding to Request Handlers with Non-Blocking Operations Serving something useful Handling POST Requests
Donate to keep this site alive
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.