This book will help the intermediate JavaScript programmer learn to use both types of inheritance. For classical inheritance, it is accompanied by a substantial online system (a windowing UI library) that shows classical inheritance at its best. The same system shows how OP "capabilities" can elminate much of the need for inheritance.
For experienced JavaScript programmers, this book shows why most of the old views of JavaScript's inheritance have not done it justice. JavaScript classes inherit from JavaScript's prototypes, a fact that makes JavaScript's prototypes, when used correctly, functional equivalents to C++ classes (not to prototypes in true prototypal languages, like Self).
In this book, you'll learn the following:
- What are objects, JavaScript objects and object programming
- What is and how to use inheritance and JavaScript inheritance as well as inheritance alternativesHow to design for JavaScript
- What are and how to use OO principles in JavaScript
- How to use Constructors with JavaScript and more
Dieser Download kann aus rechtlichen Gründen nur mit Rechnungsadresse in A, B, BG, CY, CZ, D, DK, EW, E, FIN, F, GR, HR, H, IRL, I, LT, L, LR, M, NL, PL, P, R, S, SLO, SK ausgeliefert werden.
"It promises to briefly explains the advantages of Object model and to show how these concept can be implemented in JavaScript. And it does it! ... the book starts with creating objects and explaining the two distinct models of JS objects. Then it goes into manipulation of objects, inheritance theory and practice, oop principles, etc. Pretty interesting, if you are a JS professional. There is enough code amongst the examples and each chapter finishes with a small summary." (Vitosh Academy, vitoshacademy.com, June, 2016)