Book Image

Mastering jQuery

By : Alex Libby
Book Image

Mastering jQuery

By: Alex Libby

Overview of this book

<p>Mastering jQuery has been written not only to help maximize your skills with core functionality in the library, but also to explore some of the more intriguing ways of using the library to achieve real-world solutions that could feature on any website or online environment.</p> <p>You'll start with a look at some of the more advanced ways to incorporate the library into your pages, followed by working with forms and advanced form validation using regular expressions. Next you'll move on to animating in jQuery, advanced event handling, and using jQuery effects.</p> <p>Finally, you will develop practical examples of using jQuery with external functionality such as node-webkit, before finishing with a session on optimizing your version of the library for maximum efficiency and exploring best practices for using QUnit.</p>
Table of Contents (21 chapters)
Mastering jQuery
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


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...