Second, demystify jQuery and gain a deeper understanding of what’s going on with it by watching Paul Irish’s “10 Things I Learned From the jQuery Source”. Watching this really made a lot of things “click” in my head and gave me a better understanding of what is happening when you use jQuery.
Third, I’d recommend reading some stuff by Addy Osmani on design patterns. He gives some best practices on how to make a jQuery plugin. It seemed a little over my head at first, but I promise it’ll make sense if you stay with it and let all the new knowledge you took in gel together.
- Essential jQuery Plugin Patterns (especially look at “A Lightweight Start”)
- jQuery Plugin Design Patterns (from a larger eBook on JS design patterns)
With these tools in your toolbox, you can’t fail. Go forth and make cool things for the web.