JavaScript Object Programming



Bookstore > Books > JavaScript Object Programming

Price$32.99
Rating
AuthorMartin Rinehart
PublisherApress
Published2015
Pages132
LanguageEnglish
FormatPaper book / ebook (PDF)
ISBN-101484217861
ISBN-139781484217863
EBook Hardcover Paperback

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.

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.




5 5 2

Similar Books


Introduction to JavaScript Object Notation

Introduction to JavaScript Object Notation

by Lindsay Bassett

What is JavaScript Object Notation (JSON) and how can you put it to work? This concise guide helps busy IT professionals get up and running quickly with this popular data interchange format, and provides a deep understanding of how JSON works. Author Lindsay Bassett begins with an overview of JSON syntax, data types, formatting, and secur...

Price:  $15.55  |  Publisher:  O'Reilly Media  |  Release:  2015

Learn Enough JavaScript to Be Dangerous

Learn Enough JavaScript to Be Dangerous

by Michael Hartl

JavaScript plays a key role in modern software development, not only because it is the only language that runs inside virtually all web browsers, but also because it has become widely used for back-end and general-purpose development as well. Although JavaScript is a big language, you don't need to learn "everything" about ...

Price:  $31.98  |  Publisher:  Addison-Wesley  |  Release:  2022

JavaScript Programmer's Reference

JavaScript Programmer's Reference

by Thomas Valentine, Jonathan Reid

JavaScript Programmer's Reference is an invaluable resource that won't stray far from your desktop (or your tablet!). It contains detailed information on every JavaScript object and command, and combines that reference with practical examples showcasing how you can use those commands in the real world. Whether you're just c...

Price:  $35.65  |  Publisher:  Apress  |  Release:  2013

Functional JavaScript

Functional JavaScript

by Michael Fogus

How can you overcome JavaScript language oddities and unsafe features? With this book, you'll learn how to create code that's beautiful, safe, and simple to understand and test by using JavaScript's functional programming support. Author Michael Fogus shows you how to apply functional-style concepts with Underscore.js, a Ja...

Price:  $6.42  |  Publisher:  O'Reilly Media  |  Release:  2013

JavaScript Data Structures and Algorithms

JavaScript Data Structures and Algorithms

by Sammie Bae

Explore data structures and algorithm concepts and their relation to everyday JavaScript development. A basic understanding of these ideas is essential to any JavaScript developer wishing to analyze and build great software solutions. You'll discover how to implement data structures such as hash tables, linked lists, stacks, queues,...

Price:  $26.76  |  Publisher:  Apress  |  Release:  2019

JavaScript Cookbook, 2nd Edition

JavaScript Cookbook, 2nd Edition

by Shelley Powers

Problem solving with JavaScript is a lot trickier now that its use has expanded considerably in size, scope, and complexity. This cookbook has your back, with recipes for common tasks across the JavaScript world, whether you're working in the browser, the server, or a mobile environment. Each recipe includes reusable code and practic...

Price:  $29.99  |  Publisher:  O'Reilly Media  |  Release:  2015

The Principles of Object-Oriented JavaScript

The Principles of Object-Oriented JavaScript

by Nicholas C. Zakas

If you've used a more traditional object-oriented language, such as C++ or Java, JavaScript probably doesn't seem object-oriented at all. It has no concept of classes, and you don't even need to define any objects in order to write code. But don't be fooled - JavaScript is an incredibly powerful and expressive object-o...

Price:  $10.99  |  Publisher:  No Starch Press  |  Release:  2014

JavaScript for Absolute Beginners

JavaScript for Absolute Beginners

by Terry McNavage

If you are new to both JavaScript and programming, this hands-on book is for you. Rather than staring blankly at gobbledygook, you'll explore JavaScript by entering and running hundreds of code samples in Firebug, a free JavaScript debugger. Then in the last two chapters, you'll leave the safety of Firebug and hand-code an uber ...

Price:  $19.99  |  Publisher:  Apress  |  Release:  2010