Post pobrano z: Develop Plugins Easier – jQuery Boilerplate
jQuery Boilerplate is a starting point and a ready-to-use skeleton for developing jQuery plugins.
It is very well-commented, truly object-oriented and implements public and private methods as well as public and private properties.
The comments are very detailed and just like an on-hands tutorial to the plugin development.
The boilerplate does not follow all the guidelines provided by the official jQuery documentation and states to provide better performance and memory usage by not creating multiple instances of itself and attaching them to the target DOM elements.
P.S. You may also like a previously-published WRD article: jQuery Plugin Development – 10 Tutorials To Get Started.