jQuery Plugin Authoring Best Practices

jQuery plugins are everywhere, and the chance that YOU will write one—if you haven't already—are pretty high. There are many techniques you should know for writing your own reusable jQuery plugin in a way that makes it feel like a natural extension of jQuery. In this talk, you'll learn how to create custom selectors, chainable methods that double as getters and setters, and traversal or filtering methods that are .end()-able. In addition, you'll learn how to organize your code in IIFEs and namespaces and extend option defaults.