O'Reilly logo

jQuery Design Patterns by Thodoris Greasidis

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using the jQuery Plugin Boilerplate

The jQuery Boilerplate project, which is available at https://github.com/jquery-boilerplate/jquery-patterns, offers several templates that can be used as starting points for the implementation of robust and extensible plugins. These templates incorporate a lot of best practices and design patterns such as those analyzed earlier in this chapter. Each of the templates packs a number of best practices that work well together, in an attempt to provide good starting points that better match the various use cases.

Perhaps the most widely used template is jquery.basic.plugin-boilerplate from Adam Sontag and Addy Osmani, which even though it is characterized as a generic template for beginners and above, successfully ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required