empfehlenswert
Gibt einen schnellen Überblick zu den Grundlagen AJAX. Garniert mit einigen Beispielen und Verweisen auf recht hilfreiche Firefox Tools.
Wie wird der Javascript XMLHttpRequest' richtig eingesetzt.
CHAPTER 1 Introducing Ajax
A Short History of Web Applications
Browser History
The Evolution of Web Applications
CGI
Applets
Javascript
Servlets and ASPs and PHP ...Oh My!
Flash
The DHTML Revolution
The XML Derivatives
The Fundamental Problem
Ajax
The Usability Question
The Skill Set
Usage
Design Considerations
Summary
CHAPTER 2 Using the XMLHttpRequest Object
Overview of the XMLHttpRequest Object
Methods and Properties
An Example Interaction
GET vs.POST
Remote Scripting
Overview of Remote Scripting
A Remote Scripting Example
How to Send a Simple Request
A Simple Request Example
A Word About Security
DOM Level 3 Load and Save
The DOM
Summary
CHAPTER 3 Communicating with the Server: Sending Requests and Processing Responses
Processing the Server Response
Using the innerHTML Property to Create Dynamic Content
Parsing the Response As XML
Dynamically Editing Page Content with the W3C DOM
Sending Request Parameters
Sending Request Parameters As XML
Sending Data to the Server Using JSON
Summary
CHAPTER 4 Implementing Basic Ajax Techniques
Performing Validation
Reading Response Headers
Dynamically Loading List Boxes
Creating an Autorefreshing Page
Displaying a Progress Bar
Creating Tooltips
Dynamically Updating a Web Page
Accessing Web Services
Providing Autocomplete
Summary
CHAPTER 5 Building the Ultimate Ajax Developer's Toolbox
Documenting Javascript Code with JSDoc
Installation
Usage
Validating HTML Content with Firefox Extensions
HTML Validator
Checky
Searching for Nodes Using DOM Inspector
Performing Javascript Syntax Checking with JSLint
Performing Javascript Compression and Obfuscation
Using the Web Developer Extension for Firefox
Implementing Advanced Javascript Techniques
Object-Oriented Javascript via the prototype Property
Private Properties and Information Hiding with Javascript
Classical Inheritance in Javascript
Putting It All Together
Summary
CHAPTER 6 Testing Javascript with JsUnit
Rising to the Javascript Challenge
Introducing the Test-First Approach
Introducing JUnit
Exploring JsUnit
Getting Started
Writing Tests
Running Tests
Using Standard and Custom Query Strings
Working with JsUnit Server
Getting Help
What Else Can You Use?
Summary
CHAPTER 7 Exploring Javascript Debugging
Tools and Techniques
Debugging Ajax Requests with Greasemonkey
Introducing Greasemonkey
Using an XMLHttpRequest Debugging User Script for Greasemonkey
Inspecting Ajax Requests and Responses with the XMLHttpRequest Debugging User Script
Debugging Javascript
Using Firefox Javascript Console
Using Microsoft Script Debugger
Using Venkman
Summary
CHAPTER 8 Putting It All Together
Introducing Patterns
Implementing the Fade Anything Technique (FAT)
Implementing Auto Refresh
Implementing a Partial Page Paint
Implementing a Draggable DOM
Avoiding Common Gotchas
Learning Where to Go for More
Using a Framework
Introducing Taconite
The Theory of Taconite
The Solution
What Does Taconite Do with the Content?
Introducing Dashboard Applications
Building the Ajax Dashboard with Taconite
Introducing the General Features
Introducing the Design Features
Analyzing the Code
Analyzing the Weather Forecast Component
Analyzing the Headline News Component
How Does the Automatic Refreshing Work?
Building a Better Autocomplete
Summary
APPENDIX A Developing Cross-Browser Javascript
Appending Rows to a Table
Setting an Element's Style via Javascript
Setting an Element's class Attribute
Creating Input Elements
Adding Event Handlers to Input Elements
Creating Radio Buttons
Summary
APPENDIX B Introducing Ajax Frameworks
Browser-Side Frameworks
Dojo
Rico
qooxdoo
TIBET
Flash/Javascript Integration Kit
Google AJAXSLT
libXmlRequest
RSLite
SACK
sarrisa
XHConn
Server-Side Frameworks
CPAINT
Sajax
JSON/JSON-RPC
Direct Web Remoting
SWATO
Java BluePrints
Ajax.Net
Microsoft's Project Atlas
Ruby on Rails
INDEX
Das Buch ist schon recht kurz aber streckenweise kommen die Autoren ins Schwafeln, vor allem bei den Beispielen.
Hinter dem aktuellen AJAX Hype steckt eigentlich technisch nicht viel. Ein recht einfaches Javascript Objekt, der Rest ist Phantasie und Handwerk.
Das Buch ist ganz nett, der Inhalt wird aber nur eine kurze Halbwertszeit haben. Das Kapitel zu Javascript Debugging und Tools ist sehr interessant. Es werden viele schöne Firefox Extension vorgestellt. Mit JSUnit gibt es sogar eine Javascript Unit Test Umgebung.
Ryan Asleson, Nathanial T. Schutta
2006, apress, 1-59059-582-3, 273 Seiten
Amazon: http://www.amazon.de/exec/obidos/ASIN/1590595823
Verlag: http://www.apress.com/book/bookDisplay.html?bID=10042
AJAX, Javascript, Firefox, Extensions, Debugging
29-April-2006