- Sur www.udacity.com
Object-Oriented JavaScript
Cours
en
Anglais
Ce contenu est noté 4.5 sur 5
- À son rythme
- Accès libre
- 5 séquences
- Niveau Introductif
Détails du cours
Déroulé
Lesson 1: Scopes and Closures
We’ll start by discussing JavaScript’s functional variable scoping features, including lexical scopes (variable availability as you write your code) and dynamics scopes (variable availability as your code actively runs). We’ll then discuss closures, an often misunderstood but incredibly useful feature available in only a handful of languages, including JavaScript.Lesson 2: The Keyword “this”
You’ll start your dive into JavaScript object-oriented features by first discovering the parameter “this”. You’ll learn how the value of “this” is determined within various code structures and why it might be a lot easier to think of “this” as a parameter rather than a keyword.Lesson 3: Prototype Delegation
You’re probably using one of JavaScript’s inheritance models already: prototype delegation! In this lesson you’ll learn more about this unique feature of JavaScript, how JavaScript uses this feature internally and how you can take advantage of it to maximize your application’s memory footprint.Lesson 4: Code Reuse
There are numerous ways to write concise, maintainable and reusable code in JavaScript and you’ll practice a number of them in this lesson. We’ll start writing a library using basic functions and learn the decorator pattern. Then, we’ll refactor this library into the functional, prototypal and pseudoclassical inheritance models. Finally, we’ll explore sub-classing -- coding objects that directly inherit from objects we’ve previously defined.Prérequis
Aucun.
Intervenants
- Marcus Phillips - Marcus Phillips works as Dean & CTO at Hack Reactor's 12 week immersive coding school, now offered onsite or online. He has worked professionally with the full stack, but is focused on JavaScript and fine-tuning his "rapid-iteration teaching" approach to education. Most recently he provided technical editing to the latest edition of Eloquent JS, and also runs training tracks for JSConf and HTML5 DevConf. Prior to co-founding Hack Reactor, Marcus led several technical training initiatives and worked on the JavaScript framework internals at Twitter.
Éditeur
Hack Reactor
Plateforme
Udacity est une entreprise fondé par Sebastian Thrun, David Stavens, et Mike Sokolsky offrant cours en ligne ouvert et massif.
Selon Thrun, l'origine du nom Udacity vient de la volonté de l'entreprise d'être "audacieux pour vous, l'étudiant ". Bien que Udacity se concentrait à l'origine sur une offre de cours universitaires, la plateforme se concentre désormais plus sur de formations destinés aux professionnels.
Complétez cette ressource pour donner votre avis