subject

Udacity: Object-Oriented JavaScript

 with  Marcus Phillips
Have you been dabbling with JavaScript but find your files keep turning into a mess of spaghetti code? Do you find yourself copying and pasting lines of code over and over throughout your application? Surely there’s a better way, right?

Yes, there is a better way -- object-oriented programming will allow you to build websites using reusable blocks of code known as libraries, similar to using bricks to build a house. This course is designed to teach web developers how to utilize the various object-oriented programming features within JavaScript, and more importantly, how to write reusable and maintainable libraries that will make your life easier.

Why Take This Course?
As a Front-End Web Developer, JavaScript is one of the most important languages in your toolbox. A strong foundation in the language’s features empowers you to write efficient and performant web applications. In this course you’ll explore a variety of ways to write object-oriented code in JavaScript.

You’ll build a variety of JavaScript objects and explore how their different inheritance models affect your code’s execution and in-memory model. You’ll use these features to write memory efficient code and seek simplicity and modularity in your own code.

Syllabus

### 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.
11 Student
reviews
Cost Free Online Course
Pace Self Paced
Institution Hack Reactor
Provider Udacity
Language English
Hours 6 hours a week
Calendar 5 weeks long
+ Add to My Courses
Learn Data Analysis udacity.com

Learn to become a Data Analyst. Job offer guaranteed or get a full refund.

Advertisement
Become a Data Scientist datacamp.com

Learn Python & R at your own pace. Start now for free!

Advertisement
FAQ View All
What are MOOCs?
MOOCs stand for Massive Open Online Courses. These are free online courses from universities around the world (eg. Stanford Harvard MIT) offered to anyone with an internet connection.
How do I register?
To register for a course, click on "Go to Class" button on the course page. This will take you to the providers website where you can register for the course.
How do these MOOCs or free online courses work?
MOOCs are designed for an online audience, teaching primarily through short (5-20 min.) pre recorded video lectures, that you watch on weekly schedule when convenient for you.  They also have student discussion forums, homework/assignments, and online quizzes or exams.

11 reviews for Udacity's Object-Oriented JavaScript

Write a review
5 out of 5 people found the following review useful
3 years ago
Esakki Raj completed this course, spending 5 hours a week on it and found the course difficulty to be medium.
- Very good course for intermediate javascript developers.

- Have some basics knowledge of javascript before starting this course.

- Well organised chapters.
Was this review helpful to you? YES | NO
1 out of 1 people found the following review useful
2 years ago
Santhosh Vaiyapuri completed this course.
Excellent class. The most confusing parts of JavaScript are taught so clearly. The examples given are so simple yet so informative.
Was this review helpful to you? YES | NO
0 out of 1 people found the following review useful
2 years ago
Qz completed this course.
Was this review helpful to you? YES | NO
0 out of 1 people found the following review useful
2 years ago
profile picture
Shashank Sharma completed this course.
Was this review helpful to you? YES | NO
2 years ago
Chris Duncan completed this course.
Was this review helpful to you? YES | NO
a year ago
Davide Madrisan completed this course.
Was this review helpful to you? YES | NO
a year ago
profile picture
Said Aspen completed this course.
Was this review helpful to you? YES | NO
10 months ago
Sean P. Cook audited this course.
Was this review helpful to you? YES | NO
2 years ago
Andy Sidhu completed this course.
Was this review helpful to you? YES | NO
2 years ago
Daniel Campos completed this course.
Was this review helpful to you? YES | NO
2 years ago
Tai completed this course.
Was this review helpful to you? YES | NO