Your SlideShare is downloading. ×
Ajax Backbone
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Ajax Backbone

937
views

Published on

Published in: Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
937
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Understanding Ajax Shyamala Prayaga May 2009
  • 2. Agenda • Understanding Ajax • Backbone of Ajax • How Ajax works Yodlee®, Inc. Copyright © 2009 - 5/14/2009 - CONFIDENTIAL 2
  • 3. What is Ajax? • Ajax stands for Asynchronous JavaScript and XML • Not a new technology • New technique for creating better, faster and interactive applications Yodlee®, Inc. Copyright © 2009 - 5/14/2009 - CONFIDENTIAL 3
  • 4. Ajax Backbone • JavaScript • XML • HTML • CSS Yodlee®, Inc. Copyright © 2009 - 5/14/2009 - CONFIDENTIAL 4
  • 5. How Ajax Works? • JavaScript communicates directly with the server, through the JavaScript XMLHttpRequest object. • All new browsers use the built-in JavaScript XMLHttpRequest object to create an XMLHttpRequest object • IE5 and IE6 uses an ActiveXObject Yodlee®, Inc. Copyright © 2009 - 5/14/2009 - CONFIDENTIAL 5
  • 6. XMLHttpRequest object Properties • onreadystatechange property - stores the function that will process the response from a server • readyState property - readyState property holds the status of the server's response. • responseText property - The data sent back from a server can be retrieved with the responseText property. Yodlee®, Inc. Copyright © 2009 - 5/14/2009 - CONFIDENTIAL 6
  • 7. Sending response to the server • open() method – takes three arguments – The first argument defines which method to use when sending the request (GET or POST). – The second argument specifies the URL of the server-side script. – The third argument specifies that the request should be handled asynchronously. • Send() method – sends the request off to the server. Yodlee®, Inc. Copyright © 2009 - 5/14/2009 - CONFIDENTIAL 7
  • 8. Questions? Yodlee®, Inc. Copyright © 2009 - 5/14/2009 - CONFIDENTIAL 8