1.      AJAX Introduction                                                                                                   

1.1        How Does AJAX Work ?

1.2        What Can We Do With AJAX ?

1.3        When is AJAX a Good Choice ?


2.  It’s All About JavaScript                                                                                            

2.1       AJAX’s Live Examples

2.2       Enter JavaScript

2.3       Browser Events

2.4       JavaScript Functions

2.5       Storing Data

2.6       Condition Checking with IF Statement

2.7       The FOR Loop

2.8       While Loop

2.9       Pushing Some Buttons 

  1. Programming In AJAX                                                                                              

3.1        Writing Some AJAX

3.2        Interactive MouseOvers Using AJAX

3.3        Server-Side Scripting

3.4        Some XML

3.5        Passing Data To The Server Using GET

3.6        Passing Data To The Server Using POST



         Making Web applications look and feel like desktop applications is what this book is all about — that’s what Ajax does. Although Web development is getting more and more popular, users still experience the nasty part of having to click a button, wait until a new page loads, click another button, wait until a new page loads, and so on. That’s where Ajax comes in. With Ajax, you communicate with the server behind the scenes, grab the data you want and display it instantly in a Web page — no page refreshes needed, no flickering in the browser, no waiting. That’s a big deal, because at last it lets Web applications start to look like desktop applications. With today’s faster connections, grabbing data from the server is usually a snap, so Web software can have the same look and feel of software on the user’s desktop. And that, in a nutshell, is going to be the future of Web programming — now the applications in your browser can look and work just like the applications installed on your computer. No wonder Ajax is the hottest topic to come along in years.

 In this part . . .

 This part introduces you to Ajax. You get a guided tour of the Ajax world here, and you get a chance to see how Ajax is used today. A good sampling of Ajax applications are on view in Chapter 1, just waiting for you to check them out for yourself so you can see what Ajax has to offer. From autocomplete and live searches to Google Maps, I pack a lot of Ajax in here. Next comes Chapter 2, which provides the JavaScript foundation that the rest of the book relies on. If you already know JavaScript, feel free to skip that material, but otherwise, take a look. Ajax is built on JavaScript, so you want to make sure you’ve got all the JavaScript you need under your belt before going forward.


Lets see one talking between two IT people……

 We aren’t getting enough orders on our Web site,” storms the CEO.

 “People just don’t like clicking all those buttons and waiting for a new page all the time. It’s too distracting.”

 “How about a simpler solution?” you ask. “What if people could stay on the same page and just drag the items they want to buy to a shopping cart? No page refreshes, no fuss, no muss.”

 “You mean people wouldn’t have to navigate from page to page to add items to a shopping cart and then check out? Customers could do everything on a single Web page?”

 “Yep,” you say. “And that page would automatically let our software on the server know what items the customer had purchased — all without having to reload the Web page.”

“I love it!” the CEO says. “What’s it called?”

“Ajax,” you say.

Welcome to the world of Ajax, the technology that lets Web software act like desktop software. One of the biggest problems with traditional  Web applications is that they have that “Web” feel — you have to keep clicking buttons to move from page to page, and watch the screen flicker as your browser loads a new Web page. Ajax is here to take care of that issue, because it enables you grab data from the server without reloading new pages into the browser.

How Does Ajax Work?

With Ajax, Web applications finally start feeling like desktop applications to your users. That’s because Ajax enables your Web applications to work behind the scenes, getting data as they need it, and displaying that data as you want. And as more and more people get fast Internet connections, working behind the scenes to access data is going to become all the rage. Soon, it’ll be impossible to distinguish dedicated desktop software from software that’s actually on the Internet, far from the user’s machine. To help you understand how Ajax works, the following sections look at Ajax from a user’s and a programmer’s perspective.

For whole report, Download  .doc file

No comments: