Create bookmark
Ajax Hacks
Tips & Tools for Creating Responsive Web Sites
Notes
Please login to add notes
- Contents
- Foreword
- + Credits
- + Preface
-
+
Ajax Basics
- It’s Not a Floor Wax
- Handle with Care
- XMLHttpRequest
- + Detect Browser Compatibility with the Request Object
- + Use the Request Object to POST Data to the Server
- Use Your Own Library for XMLHttpRequest
- Receive Data as XML
- Get Plain Old Strings
- + Receive Data as a Number
- + Receive Data in JSON Format
- + Handle Request Object Errors
- Dig into the HTTP Response
- + Generate a Styled Message with a CSS File
- + Generate a Styled User Message on the Fly
-
+
Web Forms
- + Submit Text Field or textarea Values to the Server Without a Browser Refresh
- + Display Text Field or textarea Values Using Server Data
- + Submit Selection-List Values to the Server Without a Round Trip
- + Dynamically Generate a New Selection List Using Server Data
- + Extend an Existing Selection List
- + Submit Checkbox Values to the Server Without a Round Trip
- + Dynamically Generate a New Checkbox Group with Server Data
- + Populate an Existing Checkbox Group from the Server
- + Change Unordered Lists Using an HTTP Response
- + Submit Hidden Tag Values to a Server Component
-
+
Validation
-
+
Power Hacks for Web Developers
- + Get Access to the Google Maps API
- + Use the Google Maps API Request Object
- + Use Ajax with a Google Maps and Yahoo! Maps Mash-up
- + Display a Weather.com XML Data Feed
- + Use Ajax with a Yahoo! Maps and GeoURL Mash-up
- + Debug Ajax-Generated Tags in Firefox
- + Fetch a Postal Code
- + Create Large, Maintainable Bookmarklets
- + Use Permanent Client-Side Storage for Ajax Applications
- + Control Browser History with iframes
- + Send Cookie Values to a Server Program
- + Use XMLHttpRequest to Scrape an Energy Price from a Web Page
- + Send an Email with XMLHttpRequest
- + Find the Browser’s Locale Information
- + Create an RSS Feed Reader
-
+
Direct Web Remoting (DWR) for Java Jocks
- + Integrate DWR into Your Java Web Application
- + Use DWR to Populate a Selection List from a Java Array
- + Use DWR to Create a Selection List from a Java Map
- Display the Keys/Values from a Java HashMap on a Web Page
- Use DWR to Populate an Ordered List from a Java Array
- + Access a Custom Java Object with JavaScript
- Call a Built-in Java Object from JavaScript Using DWR
-
+
Hack Ajax with the Prototype and Rico Libraries
-
+
Work with Ajax and Ruby on Rails
- Sensible MVC
- + Install Ruby on Rails
- + Monitor Remote Calls with Rails
- Make Your JavaScript Available to Rails Applications
- + Dynamically Generate a Selection List in a Rails Template
- + Find Out Whether Ajax Is Calling in the Request
- + Dynamically Generate a Selection List Using Database Data
- + Periodically Make a Remote Call
- + Dynamically View Request Information for XMLHttpRequest
-
+
Savor the script.aculo.us JavaScript Library
-
+
Options and Efficiencies
- + Fix the Browser Back Button in Ajax Applications
- + Handle Bookmarks and Back Buttons with RSH
- Set a Time Limit for the HTTP Request
- + Improve Maintainability, Performance, and Reliability for Large JavaScript Applications
- Obfuscate JavaScript and Ajax Code
- + Use a Dynamic script Tag to Make Web Services Requests
- + Configure Apache to Deal with Cross-Domain Issues
- + Run a Search Engine Inside Your Browser
- + Use Declarative Markup Instead of Script via XForms
- + Build a Client-Side Cache
- + Create an Auto-Complete Field
- + Dynamically Display More Information About a Topic
- + Use Strings and Arrays to Dynamically Generate HTML
- Index
Ajax, the popular term for Asynchronous JavaScript and XML, is one of the most important combinations of technologies for web developers to know these days. With its rich grouping of technologies, Ajax developers can create interactive web applications with XML-based web services, using JavaScript in the browser to process the web server response.
Taking complete advantage of Ajax, however, requires something more than your typical "how-to" book. What it calls for is Ajax Hacks from O'Reilly. This valuable guide provides direct, hands-on solutions that take the mystery out of Ajax's many capabilities. Each hack represents a clever way to accomplish a specific task, saving you countless hours of searching for the right answer.
A smart collection of 80 insider tips and tricks, Ajax Hacks covers all of the technology's finer points. Want to build next-generation web applications today? This book can show you how. Among the multitude of topics addressed, it shows you techniques for:
Using Ajax with Google Maps and Yahoo Maps
Displaying Weather.com data
Scraping stock quotes
Fetching postal codes
Building web forms with auto-complete functionality
Ajax Hacks also features a number of advanced hacks for accelerated web developers. Discover how to create huge, maintainable bookmarklets, how to use client-side storage for Ajax applications, and how to call a built-in Java object from JavaScript using Ajax. The book even addresses best practices for testing Ajax applications and improving maintenance, performance, and reliability for JavaScript code.
The latest in O"Reilly's celebrated Hacks series, Ajax Hacks smartly complements other O'Reilly titles such as Head Rush Ajax and JavaScript: The Definitive Guide.
Test the closed alpha on paperc.com
Book Details
Authors
Categories
Computers > Programming Languages > JavaScript
Publishers
Publication year : 2006
License: All rights reserved ©
Times read: 267

