X

Beginning Object-Oriented Programming with JavaScript

Course Overview

This course teaches students how easy it is to define objects with the new ECMAScript classes. From there, students will go through some essential OOP principles, forming a base for students to get hands-on with encapsulation. You’ll get to work with the different methods of inheritance. From there, students will move on to some advanced patterns for object creation, and they will get a strong idea of how to use interesting patterns to present data to users and to bind data. Students will manage dynamic typing using various data types and get familiar with duck typing and polymorphism.

Who Should Attend

This course is for existing developers who are new to OOP in JavaScript. They will be looking to build their understanding of modern web development, using the features from the latest changes to the ECMAScript specification.

Course Objectives

By the end of this course, students will discover whether JavaScript is asynchronous and learn to write asynchronous code using callbacks and events.

Course Outline

1 - DIVING INTO OBJECTS AND OOP PRINCIPLES

  • Creating and Managing Object Literals .
  • Defining Object Constructors
  • Using Object Prototypes
  • Using Classes
  • Beginning with Object-Oriented JavaScript
  • Checking Abstraction and Modeling Support
  • Analyzing OOP Principles Support in JavaScript

2 - WORKING WITH ENCAPSULATION AND INFORMATION HIDING

  • Setting up Strategies for Encapsulation and Information Hiding
  • Using the Meta-Closure Approach
  • Using Property Descriptors
  • Implementing Information Hiding in ES6 Classes

3 - INHERITING AND CREATING MIXINS

  • Implementing Objects, Inheritance, and Prototypes
  • Using Class Inheritance
  • Controlling Inheritance
  • Implementing Multiple Inheritance
  • Creating and Using Mixins

4 - DEFINING CONTRACTS WITH DUCK TYPING

  • Managing Dynamic Typing
  • Defining Contracts and Interfaces
  • Implementing Duck Typing
  • Comparing Duck Typing and Polymorphism

5 - ADVANCED OBJECT CREATION

  • Mastering Design Patterns, Object Creation, and Singletons
  • Implementing an Object Factory
  • Exploiting the Builder Pattern

6 - WORKING WITH DATA

  • Managing User Interfaces
  • Implementing Presentation Patterns
  • What is Data Binding?
  • Implementing Data Binding
  • Applying the Publish/Subscribe Pattern

7 - ASYNCHRONOUS PROGRAMMING AND PROMISES

  • Is JavaScript Asynchronous?
  • Writing Asynchronous Code
  • Introducing Promises

8 - ORGANIZING CODE

  • Taking Control of the Global Scope
  • Creating Namespaces
  • Organizing Code with the Module Pattern
  • Loading the Module
  • Using the ECMAScript 2015 Modules

Enroll Today

This is a 3-day class

Price: $1,650.00
Payment Options

ILT Instructor‑Led Training

OLL Online LIVE

GTR  Guaranteed to Run

Class times are listed Eastern time. This class is available for Private Group Training

To sort by location or date, click the ‘When’ and ‘Where’ column headings.

Class dates not listed.
Please contact us for available
dates and times.