DEV Community

Ahmed Musallam
Ahmed Musallam

Posted on

Tell me about jQuery Patterns!

Yesterday, Ben wrote this question:

And it got me curious about jQuery patterns/frameworks that people use to make maintaining large jQuery projects easier.

I've been using jQuery Widget getting a custom download of jQuery UI with only the widget API Or I make my own stateful components via JS prototypes and try to make an API to scope querying the DOM to the specific HTML subtree. I even wrote a small tool to distant interactions via pub/sub model.

Anyway, I really want to hear what other people do to maintain their large jQuery applications?

Top comments (1)

Collapse
 
jdforsythe profile image
Jeremy Forsythe

I'd suggest the rewrite from scratch strategy. :)