This tutorial is designed for software programmers who want to learn the basics of Node.js and its architectural concepts.
The purpose of this document is to allow you to develop applications with Node.js by learning all the advanced notions you will need with JavaScript.
Node.js is a framework for designing sites programmed in JavaScript on the server side. Its first version dates from 2009. However, unlike PHP for example, it is not a simple script language running on a pre-existing server; In fact, it is necessary to code itself with node the different layers of the server. It will thus be necessary to set up:
- The HTTP server itself, with the management of various HTPP messages
- Routing queries to the correct server pages
- What to retrieve the parameters entered in the URL
- A system to send content to the client based on the URL
- A device enabling, in JavaScript, to manage accesses to the file system to allow not only the reading, but also the writing and even the sending of files by the user.
Table of contents
- Threads
- Events
- Event queue
- Inner loop
- Example readRequest(socket)
- Add events and an event queue
- Add a proper module system
- Node.js reading a file
- Node Modules
- Import using require()
- Module files have a private scope
- Huge library of modules (npm)
- Node Buffer class
- Buffer operations
- Programming with Events/Callbacks
- Listener/emitter pattern
- Typical EventEmitter patterns
- Readable streams
- Socket setup for TCP connections
- TCP Networking on Node.js
Size : | 145.34 Kb |
Downloads: | 597 |
Created: | 2017-03-17 |
Warning: Trying to access array offset on false in /home/tutovnfz/public_html/amp/article-amp.php on line 263
Others related eBooks about Node.js tutorial pdf
Node.js is a popular open-source runtime environment that can execute JavaScript outside o..., download free Node.js tutorial in PDF (418 pages) created by David Landup .
Node.js is an event-based, non-blocking, asynchronous I/O framework that uses Google's V8 ..., download free Node.js tutorial in PDF (414 pages) created by .
Download free course To Learn how to reading documents from the database with Node.js. training PDF tutorial .
Download free Node.JS tutorial course in PDF, training file in 111 chapters and 334 pages. Free unaffiliated ebook created from Stack OverFlow contributor.
Node.js is built on top of the Google Chrome V8 JavaScript engine, and it's mainly used to..., download free Node.js tutorial in PDF (189 pages) created by .