DEV Community

loading...

Tell me about jQuery Patterns!

Ahmed Musallam
Lead Developer: Adobe Experience Manager. Father of one. Minnesota. Occasionally write here: ahmedmusallam.com and there: https://blogs.perficientdigital.com/author/amusallam/
・1 min read

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?

Discussion (1)

Collapse
jdforsythe profile image
Jeremy Forsythe

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