Chapter 6. More Powerful Ajax Frameworks

<feature><title>In This Chapter</title> <objective>

Dragging and dropping with online shopping carts

</objective>
<objective>

Using the XHConn framework

</objective>
<objective>

Using the Sack framework

</objective>
<objective>

Handling older browsers with HTMLHttpRequest

</objective>
<objective>

Handling XML with Sarissa

</objective>
<objective>

Working with Rico

</objective>
</feature>

The CEO comes to you and says, “We need an easier way for customers to purchase televisions from our Web site. Too many customers don’t like the multistage process of moving from page to page with a shopping cart to buy things. We’re losing money.”

“Okay,” you say, “how about using Ajax?”

“Great idea!” says the CEO. “How?”

“Well, you could let the users just drag and drop the articles they want to purchase into a shopping cart visually. That way they could buy as many televisions as they want without leaving the same page.”

“Great!” says the CEO. “Now we can finally get our $19,995 televisions moving.”

“$19,995 for a television?” you ask. “Hmm. I think I know the reason you’re not moving televisions, and it has nothing to do with shopping carts.”

Some of the examples in this chapter use Ajax frameworks that are available for free online. Before you try to run a particular example, make sure that the files needed for the associated framework is in the same folder on your server as the example you’re trying to run. For copyright reasons, the code for the Ajax frameworks that ...

Get Ajax For Dummies® now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.