CHAPTER 9

image

Creating Plug-ins with jQuery

Web developers often tend to deviate from the path of software engineering. This chapter will bridge the gap by explaining and demonstrating a very essential principle of software engineering—reusability. In this chapter, we will familiarize you with plug-ins in a jQuery context. You will learn that (jQuery) plug-ins are often handy in regard to functionalities that span multiple projects. By the end of this chapter, you will become familiar with

  • Why you would need a plug-in
  • The basic features of a plug-in
  • How to write a good plug-in
  • Creating a form validation plug-in
  • Creating an accordion plug-in

What ...

Get Practical jQuery now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.