SlideShare ist ein Scribd-Unternehmen logo
1 von 8
Understanding Ajax
        Shyamala Prayaga
        May 2009
Agenda


          • Understanding Ajax

          • Backbone of Ajax

          • How Ajax works




Yodlee®, Inc. Copyright © 2009 - 5/14/2009 - CONFIDENTIAL   2
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
Ajax Backbone


          • JavaScript

          • XML

          • HTML

          • CSS




Yodlee®, Inc. Copyright © 2009 - 5/14/2009 - CONFIDENTIAL   4
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
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
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
Questions?




Yodlee®, Inc. Copyright © 2009 - 5/14/2009 - CONFIDENTIAL   8

Weitere ähnliche Inhalte

Was ist angesagt? (6)

Ajax
AjaxAjax
Ajax
 
Asynchronous javascript
 Asynchronous javascript Asynchronous javascript
Asynchronous javascript
 
Qtp Tutorial 4 Recording Of Tests In Qtp With Drag And Drop Web Elements
Qtp Tutorial 4   Recording Of Tests In Qtp With Drag And Drop Web ElementsQtp Tutorial 4   Recording Of Tests In Qtp With Drag And Drop Web Elements
Qtp Tutorial 4 Recording Of Tests In Qtp With Drag And Drop Web Elements
 
Using Schematron for Analyzing Conformance to Best Practices for EAD, TEI, an...
Using Schematron for Analyzing Conformance to Best Practices for EAD, TEI, an...Using Schematron for Analyzing Conformance to Best Practices for EAD, TEI, an...
Using Schematron for Analyzing Conformance to Best Practices for EAD, TEI, an...
 
Wicket Live on Stage
Wicket Live on StageWicket Live on Stage
Wicket Live on Stage
 
Advanced web application architecture - Talk
Advanced web application architecture - TalkAdvanced web application architecture - Talk
Advanced web application architecture - Talk
 

Ähnlich wie Ajax Backbone

AJAX
AJAXAJAX
AJAX
ARJUN
 

Ähnlich wie Ajax Backbone (20)

PHP - Introduction to PHP AJAX
PHP -  Introduction to PHP AJAXPHP -  Introduction to PHP AJAX
PHP - Introduction to PHP AJAX
 
AJAX
AJAXAJAX
AJAX
 
M Ramya
M RamyaM Ramya
M Ramya
 
Ajax
AjaxAjax
Ajax
 
Ajax
AjaxAjax
Ajax
 
Ajax Technology
Ajax TechnologyAjax Technology
Ajax Technology
 
JavaFX Uni Parthenope
JavaFX Uni ParthenopeJavaFX Uni Parthenope
JavaFX Uni Parthenope
 
Ajax
AjaxAjax
Ajax
 
Ajax
AjaxAjax
Ajax
 
Ajax
AjaxAjax
Ajax
 
feb19-webservices3
feb19-webservices3feb19-webservices3
feb19-webservices3
 
feb19-webservices3
feb19-webservices3feb19-webservices3
feb19-webservices3
 
Ajax
AjaxAjax
Ajax
 
Ajax
AjaxAjax
Ajax
 
Legacy java ee meet lambda
Legacy java ee  meet lambdaLegacy java ee  meet lambda
Legacy java ee meet lambda
 
Ajax
AjaxAjax
Ajax
 
Server Sent Events, Async Servlet, Web Sockets and JSON; born to work together!
Server Sent Events, Async Servlet, Web Sockets and JSON; born to work together!Server Sent Events, Async Servlet, Web Sockets and JSON; born to work together!
Server Sent Events, Async Servlet, Web Sockets and JSON; born to work together!
 
Timings API: Performance Assertion during the functional testing
 Timings API: Performance Assertion during the functional testing Timings API: Performance Assertion during the functional testing
Timings API: Performance Assertion during the functional testing
 
Ajax
AjaxAjax
Ajax
 
Building Applications Using Ajax
Building Applications Using AjaxBuilding Applications Using Ajax
Building Applications Using Ajax
 

Mehr von Shyamala Prayaga

Interaction design workshop
Interaction design workshopInteraction design workshop
Interaction design workshop
Shyamala Prayaga
 
Mobile accessibility challenges and best practices v2
Mobile accessibility   challenges and best practices v2Mobile accessibility   challenges and best practices v2
Mobile accessibility challenges and best practices v2
Shyamala Prayaga
 
Adobe Flex - Developing Rich Internet Application Workshop Day 2
Adobe Flex - Developing Rich Internet Application Workshop Day 2Adobe Flex - Developing Rich Internet Application Workshop Day 2
Adobe Flex - Developing Rich Internet Application Workshop Day 2
Shyamala Prayaga
 
Adobe Flex - Developing Rich Internet Application Workshop Day 2
Adobe Flex - Developing Rich Internet Application Workshop Day 2Adobe Flex - Developing Rich Internet Application Workshop Day 2
Adobe Flex - Developing Rich Internet Application Workshop Day 2
Shyamala Prayaga
 
iPhone application development training day 1
iPhone application development training day 1iPhone application development training day 1
iPhone application development training day 1
Shyamala Prayaga
 
Improving Site Performace Using Css Sprite
Improving Site Performace Using Css SpriteImproving Site Performace Using Css Sprite
Improving Site Performace Using Css Sprite
Shyamala Prayaga
 

Mehr von Shyamala Prayaga (20)

HealthyCodeMay2014
HealthyCodeMay2014HealthyCodeMay2014
HealthyCodeMay2014
 
Leveraging Augmented Reality Capability for enhancing the shopping experience
Leveraging Augmented Reality Capability for enhancing the shopping experienceLeveraging Augmented Reality Capability for enhancing the shopping experience
Leveraging Augmented Reality Capability for enhancing the shopping experience
 
My Interview with Healthy code Magazine: Future of Android Design
My Interview with Healthy code Magazine: Future of Android DesignMy Interview with Healthy code Magazine: Future of Android Design
My Interview with Healthy code Magazine: Future of Android Design
 
Ticketing Application
Ticketing ApplicationTicketing Application
Ticketing Application
 
Interaction design workshop
Interaction design workshopInteraction design workshop
Interaction design workshop
 
Android design in action
Android design in actionAndroid design in action
Android design in action
 
Mobile accessibility challenges and best practices v2
Mobile accessibility   challenges and best practices v2Mobile accessibility   challenges and best practices v2
Mobile accessibility challenges and best practices v2
 
Mobile Prototyping
Mobile PrototypingMobile Prototyping
Mobile Prototyping
 
MOBILE INTERACTION PATTERNS AND NON PATTERNS
MOBILE INTERACTION PATTERNS AND NON PATTERNSMOBILE INTERACTION PATTERNS AND NON PATTERNS
MOBILE INTERACTION PATTERNS AND NON PATTERNS
 
Adobe Flex - Developing Rich Internet Application Workshop Day 2
Adobe Flex - Developing Rich Internet Application Workshop Day 2Adobe Flex - Developing Rich Internet Application Workshop Day 2
Adobe Flex - Developing Rich Internet Application Workshop Day 2
 
Adobe Flex - Developing Rich Internet Application Workshop Day 2
Adobe Flex - Developing Rich Internet Application Workshop Day 2Adobe Flex - Developing Rich Internet Application Workshop Day 2
Adobe Flex - Developing Rich Internet Application Workshop Day 2
 
Accessibility and ucd
Accessibility and ucdAccessibility and ucd
Accessibility and ucd
 
Android Design
Android DesignAndroid Design
Android Design
 
Mobile UI and Usability Guidelines V1
Mobile UI and Usability Guidelines V1Mobile UI and Usability Guidelines V1
Mobile UI and Usability Guidelines V1
 
Mobile Web Frameworks
Mobile Web FrameworksMobile Web Frameworks
Mobile Web Frameworks
 
iPhone application development training day 1
iPhone application development training day 1iPhone application development training day 1
iPhone application development training day 1
 
Usability Testing
Usability TestingUsability Testing
Usability Testing
 
Json
JsonJson
Json
 
Ethenographic research
Ethenographic researchEthenographic research
Ethenographic research
 
Improving Site Performace Using Css Sprite
Improving Site Performace Using Css SpriteImproving Site Performace Using Css Sprite
Improving Site Performace Using Css Sprite
 

Kürzlich hochgeladen

Kürzlich hochgeladen (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 

Ajax Backbone

  • 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