Object Oriented Javascript

Object Oriented Javascript, is of great demand and is a boon for web developers as it helps to build more efficient web applications using reusable code. Using OOJ web developers can make reusable and maintainable libraries. Object Oriented Javascript concepts are the base for any Javascript framework.

Objectives:

At the end of this course, you will be able to

  • Create scalable, reusable javascript applications and libraries
  •  

    What you will learn

    At the end of this course, you will be able to

  • Object Oriented Javascript concepts
  • Create and work with Objects
  • Functions and Closures
  • Constructors and prototype
  • Inheritance in javascript
  •  

    Prerequisites:

  • Knowledge of HTML & CSS is needed
  • Basic Knowledge in javascript would be helpful.
  •  

    Course Designed for:

    • Web developers, to gain a deeper understanding of Object oriented programming using Javascript
    • Developers, with basic knowledge in object-oriented programming concepts and want to use them to JavaScript for building dynamic web applications
    • This course together with any javascript framework(Angular/Node) is ideal for anyone who wants to make a career in building web applications.

     

    Course Outline:

    Introduction to Object Oriented Programming

  • Overview of Object Oriented Programming Concepts
  • Object and classes
  •  
    Overview of Javascript basics

  • Variables
  • Primitive and Reference data types
  • Arrays
  • Control Structures, Block, Loops, for – in
  • Introduction to Object Oriented Javascript
    Functions

  • What is a function?
  • Variable scope in functions
  • Pre-defined functions
  • Anonymous Functions
  • Callback Functions
  • Self-Invoking functions
  • Functions returning functions
  • Inner Functions
  •  
    Closures

  • Scope Chain
  • Lexical scope
  • Closures in a loop
  • Closure for creating getter/setter
  • Using Closure for iterator functionality
  • Understanding Objects

  • Objects in Javascript
  • Properties , Methods of Objects
  • Accessing Object’s properties
  • Calling Object methods
  • Modifying properties/methods
  • instanceof operator
  • Global Object
  • Constructor Functions
  • Passing Objects
  • Functions that return objects
  •  
    Built-in Objects

  • Object
  • Array
  • Function
  • Boolean
  • String
  • Date
  • The Prototype property

  • Adding methods and properties using the Prototype
  • Using the Prototype’s methods and properties
  • Own Vs Prototype properties
  • Overwriting Prototype’s property with own property
  • Use of isPrototypeOf()
  •  
    Inheritance

  • Prototype Chaining
  • Inheriting the Prototype only
  • Moving the inheritance part into a function
  • Access to parent from a child object
  • Copying properties
  • Copying properties by reference
  • Deep Copy Vs Shallow copy
  •