Introduction to Callbacks, Broadcasters, and Listeners
Offered By: egghead.io
Course Description
Overview
Before we dive deep into the pattern of composing callbacks and closures, we need to take start with the definitions and basic building blocks that we will be using for the rest of the course.
You'll be able to answer questions like:
What is a Closure?
What is a Callback?
Why does Callback Hell happen and how can we handle it?
We will see that by establishing a contract between functions and holding to the pattern that is established, you will have gained a lot of power and flexibility in writing reusable, robust functions.
You're in Section 01 of Composing Closures and Callbacks in JavaScript.
You'll be able to answer questions like:
What is a Closure?
What is a Callback?
Why does Callback Hell happen and how can we handle it?
We will see that by establishing a contract between functions and holding to the pattern that is established, you will have gained a lot of power and flexibility in writing reusable, robust functions.
You're in Section 01 of Composing Closures and Callbacks in JavaScript.
Syllabus
- What Is a Closure in JavaScript
- What Is a Callback in JavaScript
- Can a Function Be a Closure and a Callback?
- Compose Closures and Callbacks to Create New Functions
- Defining the Broadcaster and Listener Relationship
- Time is a Hidden Variable in JavaScript
- Solve Callback Hell with Composition
- Passing Values Through Callback Hell
Taught by
John Lindquist
Related Courses
Programming LanguagesUniversity of Virginia via Udacity Building a Basic Website
University of Massachusetts Amherst via Independent iDESWEB, Introducción al desarrollo web
MirÃadax Web Engineering II: Developing Mobile HTML5 Apps
Technische Hochschule Mittelhessen via iversity Web Application Architectures
University of New Mexico via Coursera