Advertisement

JavaScript Object Programming

  • Authors
  • Martin¬†Rinehart

Table of contents

  1. Front Matter
    Pages i-xix
  2. Martin Rinehart
    Pages 1-14
  3. Martin Rinehart
    Pages 15-24
  4. Martin Rinehart
    Pages 25-35
  5. Martin Rinehart
    Pages 37-49
  6. Martin Rinehart
    Pages 51-58
  7. Martin Rinehart
    Pages 59-63
  8. Martin Rinehart
    Pages 65-82
  9. Martin Rinehart
    Pages 83-88
  10. Martin Rinehart
    Pages 89-95
  11. Martin Rinehart
    Pages 97-106
  12. Back Matter
    Pages 107-109

About this book

Introduction

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

Keywords

JavaScript programming objects oo inheritance web development object programming prototype constructor

Bibliographic information

Industry Sectors
Pharma
Automotive
Biotechnology
Finance, Business & Banking
Electronics
IT & Software
Telecommunications
Aerospace
Engineering