Extending jQuery


Extending jQuery teaches you to build custom extensions to the jQuery library. It covers all the extension points within jQuery and provides guidelines and techniques on how to make use of them. You’ll not only discover how to write plugins, but how to design them for maximum reuse. You’ll also learn how to write new widgets and effects for jQuery UI. Along the way, you’ll explore extensions in key areas including Ajax, events, animation, and validation.

jQuery, the most popular JavaScript library, helps make client-side scripting of HTML easy. It offers many built-in abilities to traverse and alter the DOM, but it can’t do everything. Fortunately, you can tap into jQuery’s numerous extension points to create your own selectors and filters, plugins, animations, and more.

Extending jQuery teaches you to build custom extensions to the jQuery library. In it, you’ll discover how to write plugins and how to design them for maximum reuse. You’ll also learn to write new widgets and effects for the jQuery UI. Along the way, you’ll explore extensions in key areas including Ajax, events, animation, and validation.

This book assumes intermediate-level knowledge of jQuery and JavaScript. No experience writing plugins or other extensions is required.

What’s Inside

  • Create jQuery UI widgets and effects
  • Make extensions available for distribution and reuse
  • Build your own libraries

Table of Contents
Part 1: Simple extensions
Chapter 1. jQuery extensions
Chapter 2. A first plugin
Chapter 3. Selectors and filters

Part 2: Plugins and functions
Chapter 4. Plugin principles
Chapter 5. Collection plugins
Chapter 6. Function plugins
Chapter 7. Test, package, and document your plugin

Part 3: Extending jQuery UI
Chapter 8. jQuery UI widgets
Chapter 9. jQuery UI mouse interactions
Chapter 10. jQuery UI effects

Part 4: Other extensions
Chapter 11. Animating properties
Chapter 12. Extending Ajax
Chapter 13. Extending events
Chapter 14. Creating validation rules

Book Details

  • Paperback: 312 pages
  • Publisher: Manning Publications (August 2013)
  • Language: English
  • ISBN-10: 161729103X
  • ISBN-13: 978-1617291036
Download [18.8 MiB]

You may also like...

Leave a Reply