Javascript Design Patterns: Module Pattern

Category : code

Date : March 20, 2016

If you have worked on any sort of javascript project it is most likely that you have come across this module pattern. People use it as a toolbox to encapsulate all the like methods like AJAX Calls or Storage Calls etc. This is one of most popular design pattern also known as Douglas Crockford’s pattern for creating objects. Out implementation is slightly tweaked version of it, called Revealing Module Pattern.

If you have any questions, comments or suggestions, feel free to join the discussion below!