Mastering jQuery

Elevate your development skills by leveraging every available ounce of jQuery
Preview in Mapt

Mastering jQuery

Alex Libby

1 customer reviews
Elevate your development skills by leveraging every available ounce of jQuery

Quick links: > What will you learn?> Table of content> Product reviews

Mapt Subscription
FREE
$29.99/m after trial
eBook
$22.40
RRP $31.99
Save 29%
Print + eBook
$39.99
RRP $39.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$22.40
$39.99
$29.99 p/m after trial
RRP $31.99
RRP $39.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Mastering jQuery Book Cover
Mastering jQuery
$ 31.99
$ 22.40
Responsive Web Design with HTML5 and CSS3 - Second Edition Book Cover
Responsive Web Design with HTML5 and CSS3 - Second Edition
$ 31.99
$ 22.40
Buy 2 for $35.00
Save $28.98
Add to Cart

Book Details

ISBN 139781783985463
Paperback400 pages

Book Description

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.

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.

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.

Table of Contents

Chapter 1: Installing jQuery
Downloading and installing jQuery
Using other sources to install jQuery
Customizing the downloads of jQuery from Git
Adding source map support
Working with Modernizr as a fallback
Best practices for loading jQuery
Summary
Chapter 2: Customizing jQuery
Getting prepared
Patching the library on the run
Replacing or modifying existing behaviors
Creating a basic monkey patch
Considering the benefits of monkey patching
Updating animation support in jQuery
Adding WebP support to jQuery
Considering the pitfalls of monkey patching
Distributing or applying patches
Summary
Chapter 3: Organizing Your Code
Introducing design patterns
Defining design patterns
Dissecting the structure of a design pattern
Categorizing patterns
Exploring the use of patterns within the jQuery library
Summary
Chapter 4: Working with Forms
Exploring the need for form validation
Creating a basic form
Starting with simple HTML5 validation
Using jQuery to validate our forms
Validating forms using regex statements
Building a simple validation plugin
Developing a plugin architecture for validation
Creating an advanced contact form using AJAX
Developing an advanced file upload form using jQuery
Summary
Chapter 5: Integrating AJAX
Revisiting AJAX
Improving the speed of loading data with static sites
Using localStorage to cache AJAX content
Using callbacks to handle multiple AJAX requests
Enhancing your code with jQuery Deferreds and Promises
Working with Deferreds and Promises
Modifying our advance contact form
Detailing AJAX best practices
Summary
Chapter 6: Animating in jQuery
Choosing CSS or jQuery
Controlling the jQuery animation queue
Improving jQuery animations
Introducing easing functions
Designing custom animations
Implementing some custom animations
Animating in a responsive website
Handling animation requests on a responsive site
Animating content for mobile devices
Implementing responsive parallax scrolling
Summary
Chapter 7: Advanced Event Handling
Introducing event handling
Delegating events
Using the $.proxy function
Creating and decoupling custom event types
Namespacing events
Summary
Chapter 8: Using jQuery Effects
Revisiting effects
Creating custom effects
Applying custom easing functions to effects
Adding callbacks to our effects
Controlling content with jQuery's Promises
Creating and managing the effect queue
Summary
Chapter 9: Using the Web Performance APIs
An introduction to the Page Visibility API
Supporting the API
Implementing the Page Visibility API
Detecting support for the Page Visibility API
Using the API in a practical context
Introducing the requestAnimationFrame API
Some examples of using requestAnimationFrame
Summary
Chapter 10: Manipulating Images
Manipulating colors in images
Adding filters using CSS3
Blending images using CSS3
Applying filters with CamanJS
Creating simple filters manually
Animating images with filters
Creating a signature pad and exporting the image
Capturing and manipulating webcam images
Finishing up
Summary
Chapter 11: Authoring Advanced Plugins
Detecting signs of a poorly developed plugin
Introducing design patterns
Designing an advanced plugin
Converting animations to use CSS3 automatically
Extending our plugin
Packaging our plugin using Bower
Automating the provision of documentation
Returning values from our plugin
Exploring best practices and principles
Summary
Chapter 12: Using jQuery with the Node-WebKit Project
Setting the scene
Introducing Node-WebKit
Preparing our development environment
Installing and building our first application
Building our simple application
Packaging and deploying your app
Taking things further
Summary
Chapter 13: Enhancing Performance in jQuery
Understanding why performance is critical
Monitoring the speed of jQuery using Firebug
Automating performance monitoring
Linting jQuery code automatically
Minifying code using NodeJS
Working out unused JavaScript
Implementing best practices
Staying with the use of jQuery
Summary
Chapter 14: Testing jQuery
Revisiting QUnit
Automating tests with QUnit
Exploring best practices when using QUnit
Summary

What You Will Learn

  • Learn how to better organize your code, using one of the many design patterns available for the library
  • Develop your skills further in some of the core jQuery subjects, such as event handling, using AJAX, and animating elements
  • Develop your skills within technologies where you might not consider using jQuery, such as the Page Visibility API or using node-webKit
  • Explore some of the more advanced tips and tricks for optimizing jQuery to maintain performance
  • Learn how to improve your development workflow when testing jQuery to help reduce the manual effort needed to produce results
  • Automate testing using NodeJS and RequireJS

Authors

Table of Contents

Chapter 1: Installing jQuery
Downloading and installing jQuery
Using other sources to install jQuery
Customizing the downloads of jQuery from Git
Adding source map support
Working with Modernizr as a fallback
Best practices for loading jQuery
Summary
Chapter 2: Customizing jQuery
Getting prepared
Patching the library on the run
Replacing or modifying existing behaviors
Creating a basic monkey patch
Considering the benefits of monkey patching
Updating animation support in jQuery
Adding WebP support to jQuery
Considering the pitfalls of monkey patching
Distributing or applying patches
Summary
Chapter 3: Organizing Your Code
Introducing design patterns
Defining design patterns
Dissecting the structure of a design pattern
Categorizing patterns
Exploring the use of patterns within the jQuery library
Summary
Chapter 4: Working with Forms
Exploring the need for form validation
Creating a basic form
Starting with simple HTML5 validation
Using jQuery to validate our forms
Validating forms using regex statements
Building a simple validation plugin
Developing a plugin architecture for validation
Creating an advanced contact form using AJAX
Developing an advanced file upload form using jQuery
Summary
Chapter 5: Integrating AJAX
Revisiting AJAX
Improving the speed of loading data with static sites
Using localStorage to cache AJAX content
Using callbacks to handle multiple AJAX requests
Enhancing your code with jQuery Deferreds and Promises
Working with Deferreds and Promises
Modifying our advance contact form
Detailing AJAX best practices
Summary
Chapter 6: Animating in jQuery
Choosing CSS or jQuery
Controlling the jQuery animation queue
Improving jQuery animations
Introducing easing functions
Designing custom animations
Implementing some custom animations
Animating in a responsive website
Handling animation requests on a responsive site
Animating content for mobile devices
Implementing responsive parallax scrolling
Summary
Chapter 7: Advanced Event Handling
Introducing event handling
Delegating events
Using the $.proxy function
Creating and decoupling custom event types
Namespacing events
Summary
Chapter 8: Using jQuery Effects
Revisiting effects
Creating custom effects
Applying custom easing functions to effects
Adding callbacks to our effects
Controlling content with jQuery's Promises
Creating and managing the effect queue
Summary
Chapter 9: Using the Web Performance APIs
An introduction to the Page Visibility API
Supporting the API
Implementing the Page Visibility API
Detecting support for the Page Visibility API
Using the API in a practical context
Introducing the requestAnimationFrame API
Some examples of using requestAnimationFrame
Summary
Chapter 10: Manipulating Images
Manipulating colors in images
Adding filters using CSS3
Blending images using CSS3
Applying filters with CamanJS
Creating simple filters manually
Animating images with filters
Creating a signature pad and exporting the image
Capturing and manipulating webcam images
Finishing up
Summary
Chapter 11: Authoring Advanced Plugins
Detecting signs of a poorly developed plugin
Introducing design patterns
Designing an advanced plugin
Converting animations to use CSS3 automatically
Extending our plugin
Packaging our plugin using Bower
Automating the provision of documentation
Returning values from our plugin
Exploring best practices and principles
Summary
Chapter 12: Using jQuery with the Node-WebKit Project
Setting the scene
Introducing Node-WebKit
Preparing our development environment
Installing and building our first application
Building our simple application
Packaging and deploying your app
Taking things further
Summary
Chapter 13: Enhancing Performance in jQuery
Understanding why performance is critical
Monitoring the speed of jQuery using Firebug
Automating performance monitoring
Linting jQuery code automatically
Minifying code using NodeJS
Working out unused JavaScript
Implementing best practices
Staying with the use of jQuery
Summary
Chapter 14: Testing jQuery
Revisiting QUnit
Automating tests with QUnit
Exploring best practices when using QUnit
Summary

Book Details

ISBN 139781783985463
Paperback400 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Responsive Web Design with HTML5 and CSS3 - Second Edition Book Cover
Responsive Web Design with HTML5 and CSS3 - Second Edition
$ 31.99
$ 22.40
jQuery Design Patterns Book Cover
jQuery Design Patterns
$ 31.99
$ 22.40
Mastering JavaScript Single Page Application Development Book Cover
Mastering JavaScript Single Page Application Development
$ 35.99
$ 25.20
Mastering JavaScript Book Cover
Mastering JavaScript
$ 35.99
$ 25.20
HTML5 and CSS3: Building Responsive Websites Book Cover
HTML5 and CSS3: Building Responsive Websites
$ 67.99
$ 47.60
jQuery Essentials Book Cover
jQuery Essentials
$ 19.99
$ 14.00