Librería Portfolio Librería Portfolio

Búsqueda avanzada

TIENE EN SU CESTA DE LA COMPRA

0 productos

en total 0,00 €

THE PRINCIPLES OF OBJECT-ORIENTED JAVASCRIPT
Título:
THE PRINCIPLES OF OBJECT-ORIENTED JAVASCRIPT
Subtítulo:
Autor:
ZAKAS, N
Editorial:
NO STARCH PRESS
Año de edición:
2014
Materia
PROGRAMACION INTERNET
ISBN:
978-1-59327-540-2
Páginas:
120
24,50 €

 

Sinopsis

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-oriented language that puts many design decisions right into your hands.

In The Principles of Object-Oriented JavaScript, Nicholas C. Zakas thoroughly explores JavaScript´s object-oriented nature, revealing the language´s unique implementation of inheritance and other key characteristics. You´ll learn:

The difference between primitive and reference values
What makes JavaScript functions so unique
The various ways to create objects
How to define your own constructors
How to work with and understand prototypes
Inheritance patterns for types and objects


The Principles of Object-Oriented JavaScript will leave even experienced developers with a deeper understanding of JavaScript. Unlock the secrets behind how objects work in JavaScript so you can write clearer, more flexible, and more efficient code.



Chapter 1 Primitive and Reference Types
What Are Types?
Primitive Types
Reference Types
Instantiating Built-in Types
Property Access
Identifying Reference Types
Identifying Arrays
Primitive Wrapper Types
Summary
Chapter 2 Functions
Declarations vs. Expressions
Functions as Values
Parameters
Overloading
Object Methods
Summary
Chapter 3 Understanding Objects
Defining Properties
Detecting Properties
Removing Properties
Enumeration
Types of Properties
Property Attributes
Preventing Object Modification
Summary
Chapter 4 Constructors and Prototypes
Constructors
Prototypes
Summary
Chapter 5 Inheritance
Prototype Chaining and Object.prototype
Object Inheritance
Constructor Inheritance
Constructor Stealing
Accessing Supertype Methods
Summary
Chapter 6 Object Patterns
Private and Privileged Members
Mixins
Scope-Safe Constructors
Summary