We've covered a lot of content in the last few pages, some of which may make your head spin, so let's take a breather and consider what we have learned.
We kicked off with an introduction to the patching of libraries, such as jQuery, and the term duck punching (or monkey patching). We looked at how we can replace or modify the existing behavior of jQuery by using this method, before moving on to create a basic monkey patch and working through its application to code.
Next up came a look at some of the benefits we can gain by using monkey patches; we spoke about the risk involved and some pitfalls that we need to consider when creating and applying patches.
We then switched to working through a number of demos that explored some of the ways in which we can alter code temporarily, before finishing with a look at how we can get our patches out into use for production.
Developing any form of patch or plugin requires well-maintained code if were to be successful. In the next chapter, we'll...