views:

100

answers:

3

Hi all,

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.

+2  A: 
galambalazs
Crockford's stuff is one of the better resources on patterns in JavaScript.
Greg
fact... http://crockfordfacts.com/ :)
galambalazs
+2  A: 
friedo
+3  A: 

APress has a book called "Pro Javascript Design Patterns" that is probably just what you're looking for. While the author (Diaz Harmes) is certainly not "the gang of four", I think he does a pretty good job; I know I learned quite a bit from it (and it got 4.5 stars on Amazon).

Amazon link: http://www.amazon.com/JavaScript-Design-Patterns-Recipes-Problem-Solution/dp/159059908X

alt text

machineghost