JavaScript Object Programming

Rinehart, Martin.

JavaScript Object Programming [electronic resource] / by Martin Rinehart. - XIX, 109 p. 14 illus. online resource.

1. Objects -- 2. JavaScript Objects -- 3. Object Programming -- 4. Inheritance -- 5. JavaScript Inheritance -- 6. Inheritance Alternatives -- 7. Designing for JavaScript -- 8. OOP Principles -- 9. On Constructors -- A. Notes.

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.

9781484217870

10.1007/978-1-4842-1787-0 doi


Computer science.
Computer programming.
Software engineering.
Programming languages (Electronic computers).
Computer Science.
Programming Languages, Compilers, Interpreters.
Programming Techniques.
Software Engineering.

QA76.7-76.73 QA76.76.C65

005.13

Powered by Koha