Wednesday, October 18, 2017
Proxy Structural Software Design Pattern

Proxy Pattern

The Proxy pattern uses one object as the interface for another object It sits between users or clients of the object and the object itself client makes request to proxy, proxy...
Component Structural Design Pattern

Composite Pattern

Used to treat single objects or collections of objects in the same way Compositions are used to create nested structures of nodes a node may be a single node (leaf) or...
Adapter Structural Design Pattern

Adapter Pattern

Used to convert one interface to another an objects interface is the method and properties exposed by the object, what we use to interact with the object useful pattern when something...
Decorator Structural Design Pattern

Decorator Pattern

Structural pattern used to add new functionality to existing objects using JavaScript we can extend classes whenever we want, but the decorator pattern is still used to minimize the amount...
Facade Structural Design Pattern

Facade Pattern

The facade is a simple interface that is shown to the public to hide the complexity of the underlying system they conceal the implementation It is a structural pattern that simplifies...
Browser Speech Tutorial

Speech Synthesis API

Here is a brand new addition to browser API's, the Speech Synthesis API.  It is used to make the browser read text out loud to the viewer, and can...
Iterator Design Pattern

Iterator Pattern

Javascript itself has iteration built into the language there are a number of for and forEach methods to iterate through arrays we have the forIn loop to iterate through objects Iterator pattern...
Mediator Software Design Pattern

Mediator Pattern

Situation: If you have multiple independent modules that work in a system (parts of a web page or a user interface system) and they must be kept seperate...
Strategy Software Design Pattern

Strategy Pattern

The strategy pattern is used to allow for a behavior to be selected at code run time. this can be based on input data or other cues The different behaviors are...