02Geek HTML5 and JavaScript, TypeScript, React, Flash, ActionScript online School
Previous VideoPrevious Video

What are design patterns?

<p>A design pattern is a solution to a common programing problem in software design. Patterns are not complete solutions but conceptual ideas for dealing with common issues. Patterns help communicate a common language among developers. </p> <h2>Keynotes:</h2> <ul><li> What are design patterns? <ul><li> A proven solution to a common issue in software design. </li><li> Patterns encourage reusable design strategies. </li><li> Common vocabulary and structure. </li></ul> </li><li> What design patterns are not? <ul><li> An exact solution to a problem. </li><li> They don't replace good design strategy. </li><li> Can lead to inefficient solutions </li></ul> </li><li> What makes a pattern. <ul><li> purpose </li><li> usefulness </li><li> applicability </li><li> acceptance (early stages proto-pattern) </li></ul> </li><li> Common Types of Patterns <ul><li> Creational Patterns </li><li> Structural Patterns </li><li> Behavioral Patterns </li></ul> </li></ul>

What are design patterns?

A design pattern is a solution to a common programing problem in software design.

09:00

The problem with the global scope

By the end of this lesson, we will have a built application that has some issues that call for a design pattern to rescue us.

12:16

Moving to one object and namespace

In this lesson, we will condense our code into an object and move it into a unique namespace protecting it from mistaken overrides.

08:07

The Module Design Pattern

The Module Design Pattern enables us to have a separation between our private and public API %u2013 protecting the code from external resources.

08:25

The Module Reveal Pattern

While the Module design pattern was very powerful it had a few limitations and they related mainly to the fact that we had to treat the public and private members differently. The Module Reveal Patter

06:47

Controlling the global access completely

our goal in this lesson is to remove access all together to the global scope.

05:56