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: | 596 |
Created: | 2017-03-17 |
Others related eBooks about Node.js tutorial pdf
This is a Node.js PDF Tutorial for free download. You will learn About What Node.js is, What Node.js is not, Features, Followed by a some example of each of the modules of Node.js API. By the end of this Tutorial, you will be able to understand the basics of Node.js .
Download free course To Learn how to reading documents from the database with Node.js. training PDF tutorial .
Download Free training document about Node.js under 16 pages intended to advanced level-users.
Download free NodeJs tutorial course material and training in PDF file under 23 pages intended to beginners.
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 .