Professional jQuery

Book description

A complete, in-depth look at jQuery

If you're looking for a single resource that completely encompasses jQuery and related technologies, then look no further. This authoritative guide dives right into exploring jQuery, the leading framework used for standards-based, client-side web development. You'll discover how jQuery is structured so that it can be used to accomplish a wide range of tasks and you'll learn how to integrate jQuery into your web pages. The authors provide helpful lessons and valuable examples so that you can get a firm grasp on how best to maximize the capabilities of jQuery.

  • Begins with a look at where to access the latest version of jQuery and reviews a number of useful tools to help get started with this popular framework

  • Describes how to manipulate DOM elements, work with HTML forms, and create visual effects

  • Covers working with AJAX and JSON

  • Explains techniques for using and developing jQuery plugins

  • Details developing jQuery for mobile devices

You'll quickly see for yourself why jQuery is rapidly growing in popularity as developers are looking to build sites that are fully functional today and can handle the technologies of tomorrow.

Table of contents

  1. Cover
  2. Contents
  3. Part I: jQuery Fundamentals
    1. Chapter 1: Getting Started
      1. What jQuery Is Good At
      2. Hardware and Browser Requirements
      3. Obtaining jQuery and jQuery UI
      4. “Hello World” Example
      5. JavaScript Conventions Used in This Book
      6. Development Tools
      7. Debugging JavaScript and jQuery
      8. Using the FireQuery Plugin
      9. Summary
    2. Chapter 2: Javascript Primer
      1. Understanding Numbers
      2. Working with Strings
      3. Understanding Booleans
      4. Comparison Types
      5. A Brief Note About Dates
      6. Reviewing Miscellaneous Types
      7. Revisiting Variables
      8. Understanding Objects
      9. Using Functions
      10. Understanding Execution Context
      11. Working with Scope and Closures
      12. Understanding Access Levels
      13. Applying Modules
      14. Using JavaScript Arrays
      15. Augmenting Types
      16. Applying JS Best Practices
      17. Putting It All Together
      18. Summary
      19. Note
    3. Chapter 3: The jQuery Core
      1. Understanding the Structure of a jQuery Script
      2. Using JavaScript Unobtrusively
      3. The jQuery Framework Structure
      4. Understanding the DOM and Events
      5. Using jQuery with Other JavaScript Libraries
      6. Summary
      7. Notes
    4. Chapter 4: DOM Element Selection and Manipulation
      1. The Power of jQuery Selectors
      2. Doing DOM Traversal
      3. Accessing and Modifying Elements, Attributes, and Content
      4. Generating HTML
      5. Summary
    5. Chapter 5: Event Handling
      1. Understanding the Browser Event Model
      2. Understanding How jQuery Handles Events
      3. Applying jQuery Event Handlers
      4. Working with Events
      5. JQuery’s New Event API
      6. Summary
      7. Notes
    6. Chapter 6: Html Forms, Data, and Ajax
      1. jQuery Data Appreciation
      2. Using Form Validations
      3. Working with HTML Form Elements
      4. Revisiting Ajax Basics
      5. Applying Ajax with jQuery
      6. Summary
      7. Notes
    7. Chapter 7: Animations and Effects
      1. Animating Elements
      2. Animating CSS Properties
      3. Resizing Elements
      4. Designing Custom Animations
      5. Animations with HTML5 Canvas
      6. Summary
      7. Notes
  4. Part II: Applied jQuery
    1. Chapter 8: jQuery UI Part I—Making Things Look Slick
      1. Theming and Styling
      2. Using ThemeRoller
      3. Using jQuery UI Widgets
      4. Progressbar
      5. Slider
      6. Summary
      7. Notes
    2. Chapter 9: jQuery UI Part 2—Mouse Interactions
      1. Dragging and Dropping
      2. Sorting
      3. Resizing Elements
      4. Making Elements Selectable
      5. Summary
    3. Chapter 10: Writing Effective jQuery Code
      1. Optimization Techniques
      2. Use JavaScript Patterns
      3. Using $.data()
      4. Summary
    4. Chapter 11: jQuery Templates
      1. Taming a Tangle of Strings
      2. Summary
    5. Chapter 12: Writing jQuery Plugins
      1. The Plugin Basics
      2. Utilize and Learn from Existing Plugin Patterns
      3. A Closer Look at the Widget Factory
      4. An Example Plugin Implementation
      5. Summary
    6. Chapter 13: Advanced Asynchronous Programming With jQuery Deferred
      1. Building Blocks
      2. The jQuery Deferred Object
      3. Summary
    7. Chapter 14: Unit Testing With Qunit
      1. An Introduction to Unit Testing
      2. What Is Unit Testing?
      3. Getting Started with QUnit
      4. Asynchronous Testing
      5. Putting it All Together in a Test Suite
      6. Summary
  5. Appendix: Plugins Used in This Book
  6. Introduction
  7. Advertisement

Product information

  • Title: Professional jQuery
  • Author(s): Cesar Otero, Rob Larsen
  • Release date: April 2012
  • Publisher(s): Wrox
  • ISBN: 9781118026687