If you are looking to develop a jQuery plugin there’s a few resources that are key.
- jQuery has some recommendations on how to make plugins. This is great to get started and have best practices. It includes thoughts on simpel plugins, exposing only a single function to complex plugins that expose multiple methods and even have private functions that are not accessible. That’s great because otherwise you’d start to clutter up the $.fn variable space. This article is great because it goes through best practices and really hits on chainability, namespacing, events and data(including default values).
- Learning jQuery has a plugin development pattern as well. This follows the jQuery recommendations, with a more detailed, yet brief, example. It also includes incorporation of the meta data plugin
Nate is currently a Senior Presentation Layer Architect at Razorfish Chicago. As an SPLA Nate: participates in technology leadership team and resource allocations, manage fulltime and contractor resources, represents technology for groups of brands across multiple clients, furthers development of standards within the office, architects project implementations and fosters community and mentoring.
View all posts by Nate Frank