Object-Oriented JavaScript - Second Edition
Learn |
|
---|---|
About | JavaScript is the behavior, the third pillar in today's paradigm that looks at web pages as something that consists of clearly distinguishable parts: content (HTML), presentation (CSS) and behavior (JavaScript). Using JavaScript, you can create not only web pages but also desktop widgets, browser and application extensions, and other pieces of software. It's a pretty good deal: you learn one language and then code all kinds of different applications. While there's one chapter specifically dedicated to the web browser environment including DOM, Events and AJAX tutorials, the rest is applicable to the other environments
|
Features |
|
Page Count | 382 |
Course Length | 11 hours 27 minutes |
ISBN | 9781849693127 |
Date Of Publication | 25 Jul 2013 |
Prototype chaining |
Inheriting the prototype only |
Uber – access to the parent from a child object |
Isolating the inheritance part into a function |
Copying properties |
Heads-up when copying by reference |
Objects inherit from objects |
Deep copy |
object() |
Using a mix of prototypal inheritance and copying properties |
Multiple inheritance |
Parasitic inheritance |
Borrowing a constructor |
Summary |
Case study – drawing shapes |
Exercises |
Including JavaScript in an HTML page |
BOM and DOM – an overview |
BOM |
DOM |
Events |
XMLHttpRequest |
Summary |
Exercises |