Wir verwenden Cookies und Analyse-Tools, um die Nutzerfreundlichkeit der Internet-Seite zu verbessern und für Marketingzwecke. Wenn Sie fortfahren, diese Seite zu verwenden, nehmen wir an, dass Sie damit einverstanden sind. Zur Datenschutzerklärung.
JavaScript Object Programming
Details
JavaScript is highly relevant meme for book on demand database services in terms of revenue
JavaScript is a top meme in MIS and one of the most popular languages according to Tiobe Programming Index.
Author of over a dozen books on programming
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
AudienceThis 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.
A compact guide useful for intermediate and advanced JavaScript programmers and web developers A unique offering full of inheritance and inheritance alternatives for JavaScript programmers Author of over a dozen books on programming
Autorentext
Martin Rinehart, a self-confessed JavaScript lover, set aside work on his five-volume frontend-engineering textbook project for long enough to write this small book on JavaScript inheritance. He wanted to eliminate some of the massive confusion surrounding this important subject. Martin is the author of over a dozen books on programming, and of the JSWindows system that brings a windowing UI to browser-based applications.
Klappentext
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
Zusammenfassung
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
AudienceThis 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.
Inhalt
- 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.
Weitere Informationen
- Allgemeine Informationen
- GTIN 09781484217863
- Genre Information Technology
- Auflage 1st edition
- Lesemotiv Verstehen
- Anzahl Seiten 132
- Größe H235mm x B155mm x T8mm
- Jahr 2015
- EAN 9781484217863
- Format Kartonierter Einband
- ISBN 1484217861
- Veröffentlichung 25.12.2015
- Titel JavaScript Object Programming
- Autor Martin Rinehart
- Gewicht 213g
- Herausgeber Apress
- Sprache Englisch