mkirby / js-lectures-oojs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Object Oriented Javascript

This series of lectures is meant to lead into the concepts of Object Oriented programming in Javascript. If you were a fan of OOP design patterns in Ruby, and wanted to see how to organize your code differently, these lectures are for you! Even if you aren't a huge fan of OOP, it'll be important to know going into Phase 4 and learning React, since you'll be expected to work with class syntax.

Video Playlist Links

Learning Objectives

  • Create classes using the class syntax (constructor, instance methods)
  • Understand the this keyword, and its similarities/differences to self in Ruby
  • Know when to use arrow functions
  • Understand the concept of prototypal inheritance

Outline

  • Practical OOJS
    • Learn the basics of OOJS syntax and some examples of structuring code using Object Oriented programming
  • this and Execution Context
    • Learn how the this keyword works
    • Methods vs Functions
    • Implicit vs Explicit Binding
    • Arrow Functions
  • Prototypal Inheritance
    • How objects get their behavior
    • How classes in JS differ from other Object Oriented languages

About


Languages

Language:JavaScript 48.6%Language:CSS 29.1%Language:Ruby 15.1%Language:HTML 7.1%