Autor: Philip Kirkbride, Vinicius Isola, Et al
Broj strana: 664
ISBN broj: 9781838820213
Izdavač:
PACKT PUBLISHING
Godina izdanja: 2019.
![]() |
![]() |
![]() |
![]() |
![]() |
||||
In depth knowledge of JavaScript makes it easier to learn a variety of other frameworks, including React, Angular, and related tools and libraries. This book is designed to help you cover the core JavaScript concepts you need to build modern applications. You'll start by learning how to represent an HTML document in the Document Object Model (DOM). Then, you'll combine your knowledge of the DOM and Node.js to create a web scraper for practical situations. As you read through further lessons, you'll create a Node.js-based RESTful API using the Express library for Node.js. You'll also understand how modular designs can be used for better reusability and collaboration with multiple developers on a single project. Later lessons will guide you through building unit tests, which ensure that the core functionality of your program is not affected over time. The book will also demonstrate how constructors, async/await, and events can load your applications quickly and efficiently. Finally, you'll gain useful insights into functional programming concepts such as immutability, pure functions, and higher-order functions. By the end of this book, you'll have the skills you need to tackle any real-world JavaScript development problem using a modern JavaScript approach, both for the client and server sides.
Table of contents
1 JavaScript, HTML, and the DOM
Introduction
HTML and the DOM
Developer Tools
Summary
2 Node.js and npm
Introduction
What is Node.js?
Node Version Manager (nvm)
Node Package Manager (npm)
Summary
3 Node.js APIs and Web Scraping
Introduction
Globals
FileSystem APIs
HTTP APIs
What is Scraping?
Summary
4 RESTful APIs with Node.js
Introduction
What is an API?
What is REST?
Type Checking and Validating the Input Sent to an Endpoint
Useful Defaults and Easy Inputs
Middleware
The Contents of a JWT
MongoDB
Summary
5 Modular JavaScript
Introduction
ES6 Modules
Object-Oriented Programming (OOP)
npm Package
Summary
6 Code Quality
Introduction
Clear Naming
Unit Tests
Integration Tests
End-to-End Testing
Puppeteer
Summary
7 Advanced JavaScript
Introduction
Language Features Supported in ES5, ES6, ES7, ES8, and ES9
OOP in JavaScript
Sorting
Maps and Sets
Math, Date, and String
Symbols, Iterators, Generators, and Proxies
Summary
8 Asynchronous Programming
Introduction
Callback Hell
Async and Await
Summary
9 Event-Driven Programming and Built-In Modules
Introduction
The Traditional Approach versus Event-Driven Programming
Eventing
Node.js Built-In Modules
Handling Large Files in Node.js
Summary
10 Functional Programming with JavaScript
Introduction
Functions – First-Class Citizens
Pure Functions
Higher-Order Functions
Function Composition
Immutability and Side Effects
Introduction to GraphQL Language Schemas and Queries
Summary
Budite prvi koji će ostaviti komentar.
Cena: 2420 rsd
Popust i do: 1476 rsd
Cena: 2200 rsd
Popust i do: 1342 rsd
© Sva prava pridržana, Kompjuter biblioteka, Beograd, Obalskih radnika 4a, Telefon: +381 11 252 0 272 |
||