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

Chapter 10. Plugin and Widget Development Patterns

This chapter focuses on the design patterns and best practices used when implementing jQuery Plugins. We will learn here how to abstract parts of an application into separate jQuery Plugins, promoting the Separation of Concerns principle and code reusability.

We will firstly analyze the simplest ways that a jQuery Plugin can be implemented, learn the various conventions of jQuery Plugin development and the basic characteristics that every plugin should satisfy in order to follow jQuery principles. We will then proceed with an introduction to the most widely used design patterns and analyze the characteristics and benefits of each of them. By the end of this chapter, we will be able to implement ...

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