Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JavaScript design patterns [closed]

This is a question for general discussion. Are there any good, comprehensive resources for useful JavaScript design patterns. I am trying to avoid references that attempt to coerce JavaScript into, say, Java by imposing patterns more suited to another language. Let's let JS be JS and shape our patterns around the strengths.

Please any discussion would be valued by more than just me, I suspect.

like image 330
jerome Avatar asked Jul 02 '10 20:07

jerome


People also ask

Can you use design patterns in JavaScript?

A pattern is a reusable solution that can be applied to commonly occurring problems in software design - in our case - in writing JavaScript web applications. Another way of looking at patterns are as templates for how we solve problems - ones which can be used in quite a few different situations.

How many JavaScript design patterns are there?

The book explores the capabilities and pitfalls of object-oriented programming, and describes 23 useful patterns that you can implement to solve common programming problems. These patterns are not algorithms or specific implementations.

Are there more than 23 design patterns?

As per the design pattern reference book Design Patterns - Elements of Reusable Object-Oriented Software , there are 23 design patterns which can be classified in three categories: Creational, Structural and Behavioral patterns.


1 Answers

Here's an on-line resource:

Essential JavaScript Design Patterns For Beginners

like image 53
dpan Avatar answered Sep 21 '22 04:09

dpan