Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Introduction to Design Patterns!
You have completed Introduction to Design Patterns!
Preview
Let's explore the Structural design pattern category.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
So,without further ado,
there's your old friend adapter.
0:00
You'll see these names in classes so
keep an eye out for them.
0:03
Let's take a quick look at the ever
popular lifesaver, Facade.
0:07
>> Why don't we take a look at
the Facade Pattern in JavaScript.
0:12
Addy Osmani has published a really great
look at design patterns in JavaScript.
0:15
And I really like his facade
patterns that he discussed here.
0:19
There's a link to this
in the teacher's notes.
0:23
So this pattern lets you
mask the complexity of APIs.
0:25
So let's scroll down, he's got an awesome
code sample here that really shows it off.
0:29
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up