July 2012
Intermediate to advanced
254 pages
6h 16m
English
In this chapter so far, we have explored several time-saving design patterns and best practices that can be employed to improve how jQuery plug-ins can be written. Some are better suited to certain use cases than others, but I hope on the whole these patterns are useful.
Remember, when selecting a pattern, it is important to be practical. Don’t use a plug-in pattern just for the sake of it, rather, invest time in understanding the underlying structure, and establish how well it solves your problem or fits the component you’re trying to build.