JavaScript Object Programming

Nonfiction, Computers, Internet, Web Development, General Computing, Programming
Cover of the book JavaScript Object Programming by Martin Rinehart, Apress
View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart
Author: Martin Rinehart ISBN: 9781484217870
Publisher: Apress Publication: December 30, 2015
Imprint: Apress Language: English
Author: Martin Rinehart
ISBN: 9781484217870
Publisher: Apress
Publication: December 30, 2015
Imprint: Apress
Language: English

This brief  book explains the advantages of the object model, inheritance, both classical and prototypical, and shows how these concepts can be implemented in JavaScript. It also shows how object programming (OP) opens a new world of design possibilities that go far beyond inheritance.

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 eliminate 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 prototypical languages, like Self). 

JavaScript's object programming (not inheritance) is what separates it from classical OOP languages like C++ and Java. Most important, basing inheritance on JavaScript's prototypal chain is possible, but is not the best choice for prototypal inheritance or classical inheritance.

What You'll Learn

  • What are objects, JavaScript objects and object programming

  • What is and how to use inheritance and JavaScript inheritance as well as inheritance alternatives

  • How to design for JavaScript

  • What are and how to use OO principles in JavaScript

  • How to use Constructors with JavaScript and more

Audience

This book is for both intermediate and advanced JavaScript and Web development programmers. However, any programmer will understand the concepts and any JavaScript programmer should understand all of the concepts in this book.   The code there is shows examples of the concepts discussed.

View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart

This brief  book explains the advantages of the object model, inheritance, both classical and prototypical, and shows how these concepts can be implemented in JavaScript. It also shows how object programming (OP) opens a new world of design possibilities that go far beyond inheritance.

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 eliminate 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 prototypical languages, like Self). 

JavaScript's object programming (not inheritance) is what separates it from classical OOP languages like C++ and Java. Most important, basing inheritance on JavaScript's prototypal chain is possible, but is not the best choice for prototypal inheritance or classical inheritance.

What You'll Learn

Audience

This book is for both intermediate and advanced JavaScript and Web development programmers. However, any programmer will understand the concepts and any JavaScript programmer should understand all of the concepts in this book.   The code there is shows examples of the concepts discussed.

More books from Apress

Cover of the book Learn Unity 4 for iOS Game Development by Martin Rinehart
Cover of the book Introduction to Search Engine Optimization by Martin Rinehart
Cover of the book Windows 10 Revealed by Martin Rinehart
Cover of the book The Truth About HTML5 by Martin Rinehart
Cover of the book Migrating to Android for iOS Developers by Martin Rinehart
Cover of the book Oracle Certified Professional Java SE 7 Programmer Exams 1Z0-804 and 1Z0-805 by Martin Rinehart
Cover of the book Beginning Functional JavaScript by Martin Rinehart
Cover of the book Invest Like an Institution by Martin Rinehart
Cover of the book Practical Machine Learning with Python by Martin Rinehart
Cover of the book Beginning Oracle PL/SQL by Martin Rinehart
Cover of the book Beginning FPGA: Programming Metal by Martin Rinehart
Cover of the book Java Design Patterns by Martin Rinehart
Cover of the book Practical Free Alternatives to Commercial Software by Martin Rinehart
Cover of the book Spinning Up ServiceNow by Martin Rinehart
Cover of the book Parsing with Perl 6 Regexes and Grammars by Martin Rinehart
We use our own "cookies" and third party cookies to improve services and to see statistical information. By using this website, you agree to our Privacy Policy