Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Copyright
Dedication
Negus Live Linux Series
Acknowledgments
About the Author
Introduction
The Audience for This Book
The Organization of This Book
About the CD-ROM for This Book
What You Need to Use This Book
I. Ajax Boot Camp
1. Ajax and a Brave New World Wide Web
Dining with Ajax
Ajax, Sting, and Asynchronicity
To Reload, or Not Reload
What Exactly Is Ajax?
Real-World Ajax
Google Suggest
Netflix
Flickr
Google Maps
Ajax Isn’t for Everything
The Shipping Charge Calculator Revisited
Summary
2. Inside an Ajax Application
The Nuts and Bolts of Ajax
HTML and CSS
JavaScript
XML and Ajax Data
PHP and the Server
The Ajax Request Lifecycle
Getting to Know the Ajax Toolkit
The ajaxkit.js File
The domkit.js File
The modalimgkit.js File
The validatekit.js File
The infowinkit.js File
The ratingkit.js File
Dismantling the E-Book Viewer
The E-Books
The Booker Web Page
Customizing the E-Book Viewer
Summary
II. Building Real-World Ajax Applications
3. Dynamically Loading Web Data: An XML E-Book Viewer
The Challenge: Loading Data in Smaller Chunks
The Design: Designing an XML E-Book Viewer
The Client Request
The Server Response
Making Sense of the Client-Server Conversation
Putting Together the E-Book Viewer
The XML E-Books
The Booker Web Page
The Booker Server Script
Testing Booker
Giving Booker an Extreme Ajax Makeover
Summary
4. Using Ajax to Dynamically Populate Lists: A Stock Picker
The Challenge: Displaying Selected Stock Information
The Design: Designing a Stock Picker
The Client Requests
The Server Responses
Making Sense of the Client-to-Server Conversation
Putting Together the Stock Picker
The Stocks XML File
The Picker Web Page
The Quoter Server Script
Testing Picker
Giving Picker an Extreme Ajax Makeover
Summary
5. Tapping into RSS News Feeds
The Challenge: Querying News Feeds Dynamically
The Design: Designing a News Feed Application
The Client Request
The Server Response
Making Sense of the Client-to-Server Conversation
Putting Together the News Feeder Application
The News Feeder Web Page
The News Feeder Style Sheet
The News Feeder Server Script
Testing the News Feeder
Giving News Feeder an Extreme Ajax Makeover
Summary
6. Reading the User’s Mind with Auto-Complete
The Challenge: Anticipating Data Entry
The Design: Designing an Auto-Complete Application
The Client Request
The Server Response
Making Sense of the Client-to-Server Conversation
Putting Together the Completer Application
The Completer Web Page
The Completer Server Script
Testing Completer
Giving Completer an Extreme Ajax Makeover
Summary
7. Creating Responsive GUIs with Real-Time Validation
The Challenge: Checking User Input in Real Time
The Design: Designing a Validator Application
The Client Request
The Server Response
Making Sense of the Client-to-Server Conversation
Putting Together the Validator Application
The Validator Web Page
The ZIP Lookup Server Script
Testing Validator
Giving Validator an Extreme Ajax Makeover
Summary
8. A Killer Interface for Image Viewing
The Challenge: Loading Images Dynamically
The Design: Designing a Dynamic Image Viewer
Putting Together the Imaginator Application
Testing Imaginator
Giving Imaginator an Extreme Ajax Makeover
Summary
9. Presenting Information with Slick Popups
The Challenge: Creating Linked Popups
The Design: Designing an Information Popup Application
The Client Request
The Server Response
Making Sense of the Client-to-Server Conversation
Putting Together the Informer Application
The Informer Web Page
The Information Content Pages
Testing Informer
Giving Informer an Extreme Ajax Makeover
Summary
10. Forecasting the Weather with Ajax
The Challenge: Gathering Dynamic Weather Information
The Design: Designing a Weather Forecaster
The Client Request
The Server Response
Making Sense of the Client-to-Server Conversation
Putting Together the Forecaster Application
The Forecaster Web Page
The Forecaster Server Script
Testing Forecaster
Giving Forecaster an Extreme Ajax Makeover
Summary
11. Building an Ajax Shipping Calculator
The Challenge: Retrieving Live Shipping Charges
The Design: Designing a Shipper Application
The Client Request
The Server Response
Making Sense of the Client-to-Server Conversation
Putting Together the Shipper Application
The Shipper Web Page
The Shipper Server Script
Testing Shipper
Giving Shipper an Extreme Ajax Makeover
Summary
12. Adding an Ajax-Powered Rating System to Your Site
The Challenge: Adding Ratings to a Web Site
The Design: Designing a Rater Application
The Client Request
The Server Response
Making Sense of the Client-to-Server Conversation
Putting Together the Rater Application
The Rater Web Page
The Cookie Reset Web Page
Testing Rater
Giving Rater an Extreme Ajax Makeover
Summary
III. Appendices
A. The Past, Present, and Future of Ajax
The Road to Ajax
The Ajax Boom
What’s Next for Ajax?
B. A Quick and Dirty XMLHttpRequest Reference
Methods
open()
send()
abort()
overrideMimeType()
setRequestHeader()
getAllResponseHeaders()
getResponseHeader()
Properties
readyState
status
statusText
responseText
responseXML
Events
C. Using the Live Linux CD
Inside the Live CD
Running the Live CD
Setting Up Networking
Backing Up Your Data
Running the Live CD Directly on a Windows PC
Running the Live CD Directly on a Mac PC
Running the Live CD in Other Ways
← Prev
Back
Next →
← Prev
Back
Next →