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


Maintaining performant sites is a key part of development. There is more to it than just optimizing code, so let's take a moment to review what we've learnt in this chapter.

We kicked off with a look at the reasons for understanding why performance is critical, before going through various ways to monitor performance, from the simple eyeballing of statistics in Firebug to automating our checks using Grunt.

We then moved on to understand how we can lint our code automatically, as one of the many ways of optimizing our code, before minifying it for production use. We then dived off to take a look at how we can work out if our code contains any unused code, which can be safely removed as part of streamlining our code.

We then rounded up the chapter with a look at implementing best practices. The focus here was less on providing specific examples, and more on sharing some tips and tricks that can be applied to any site. We then used this as a basis for designing a strategy to help maintain...