An open API service indexing awesome lists of open source software.

https://github.com/pleft/patterns.js

Javascript Patterns with examples
https://github.com/pleft/patterns.js

Last synced: about 1 year ago
JSON representation

Javascript Patterns with examples

Awesome Lists containing this project

README

          

#patterns.js

Javascript Patterns with examples

##patterns covered:

- constructor pattern
- decorator pattern
- module pattern
- prototypal pattern
- singleton pattern
- factory pattern
- facade pattern
- observer pattern
- surrogate pattern (not sure if it is *pattern*)


###sources:
* [http://carldanley.com/javascript-design-patterns/](http://carldanley.com/javascript-design-patterns/)
* [http://addyosmani.com/resources/essentialjsdesignpatterns/book/](http://addyosmani.com/resources/essentialjsdesignpatterns/book/)

###useful links:
* [https://bitbucket.org/mvardakis/javascript-stuff/](https://bitbucket.org/mvardakis/javascript-stuff/), An interesting repo, check the inheritance example.