SlideShare una empresa de Scribd logo
1 de 18
Descargar para leer sin conexión
AJAX Basics
History of AJAX


 Starts with web pages

 Static web pages

 Static html page is loaded

 No interaction with user

 Dynamic web pages

 html page is generated dynamically

 Interaction with user

 Becomes slower as functionality increases

 Speed becomes untolerable, so AJAX has been born
What is AJAX?


 Asynchronous JavaScript and XML (AJAX).

 Not a stand-alone language or technology.

 Combines a set of known technologies in order to create faster and
more user friendly web pages.

 Client side technology.

 Makes web pages more responsive by exchanging small amounts of
data.

 Allows the web page to change its content without refreshing the
whole page.

 Web browser technology independent of web server software.
What is So Cool about AJAX?




 Connection between client side script and server side script.

 Better user experience.

 More flexibility.

 More options.
AJAX Technologies




 Extensible Markup Language (XML)

 Hyper Text Markup Language (HTML)

 JavaScript

 Cascading Style Sheet (CSS)

 ASP or JSP (server side)
AJAX Examples

Google Maps

User can drag the entire map by using the mouse instead of clicking on a
button or something

Google Suggest

Google will offer suggestions.

Gmail

Gmail is a new kind of webmail, built on the idea that email can be more
intuitive, efficient and useful

Yahoo Maps (new)

Now it's even easier and more fun to get where you're going!
Why it is Popular?



 Google helped popularize, and legitimize it in Gmail.

 Increase Usability of Web Applications.

 Rich Internet applications without Flash.

 Save Bandwidth.

 Download only data you need.

 Faster interfaces.
Advantages of AJAX




 Better internet Application

 Requests only the content that needs to be updated

 Respond quickly to the input

 Page can be reloaded individually

 Reduces connections to the server

Prevents unnecessary reloading of a page
AJAX Browser Support




Internet Explorer            Opera




Mozilla Firefox              Flock




  Safari                     Netscape
How AJAX Works?



 AJAX is based on Javascript, and the main functionality is to access
the web server inside the Javascript code.

 We access to the server using special objects; we send data and
retrieve data.

 When user initiates an event, a javascript function is called which
accesses server using the objects.

 The received information is shown to the user by means of the
Javascript’s functions.
Working…..




                                                              The client process the returned
                                                              xml document using JavaScript
Using JavaScript, an                                          and updates the page content
instance of the xmlHttp
request is then sent
                                     Internet




                          The Http Request is processed by
                          the server. A response is created
                          And returned as xml data to the
                          client
Working cont…..

XMLHTTPRequest Object

Heart of the AJAX Engine and it is responsible to carry the HTTP request
to the server asynchronously.

Talking with the Server

XMLHTTPRequest talks with the server with its appropriate methods and
properties asynchronously at the backside.

Server Response

As per the Server script is concerned the request from the XMLHTTPRequest is
just another HTTP request.

Dealing with the Server Response

Once after the AJAX Engine gets notified about the successful execution.
It modifies the data according to the functionality and keeps in place.
AJAX Server



AJAX is about creating clever applications that can use the data.

Requesting Text Files

Many AJAX applications requests pure text files to retrieve data for
the application.

Requesting XML Files

A very common AJAX method is to request XML files to retrieve
application data.
Requesting ASP or PHP Files

Requesting an ASP or PHP file is the most common way to access
database information.

Requesting HTML Files

Requesting HTML files is a common method for filling out different
information on a web page.

Submitting Forms

With AJAX you can easily submit form data without having to reload the
page.
Ajax Frameworks




Framework    Framework Example
JavaScript   Yahoo User Interface Library (YUI)
Java         Google Web Toolkit
.NET         ASP.NET AJAX
PHP          Sajax
Python       Pyjamas
Ajax Security


Server Side

AJAX-based Web applications use the same server side security
schemes of regular Web applications.


Client Side

 Downloaded JavaScript code is constrained by sand-box security
 model and can be relaxed for signed JavaScript.
Issues with Ajax



 Complexity is increased

 AJAX-based applications can be difficult to debug, test, and maintain

 Toolkits/Frameworks are not mature yet

 No standardization of the XMLHttpRequest yet

 No support of XMLHttpRequest in old browsers

 JavaScript technology dependency & incompatibility

 JavaScript code is visible to a hacker
Thank You

Más contenido relacionado

La actualidad más candente

Architecture in Ajax Applications
Architecture in Ajax ApplicationsArchitecture in Ajax Applications
Architecture in Ajax ApplicationsAlois Reitbauer
 
Asynchronous JavaScript & XML (AJAX)
Asynchronous JavaScript & XML (AJAX)Asynchronous JavaScript & XML (AJAX)
Asynchronous JavaScript & XML (AJAX)Adnan Sohail
 
Ajax presentation
Ajax presentationAjax presentation
Ajax presentationengcs2008
 
Ajax:From Desktop Applications towards Ajax Web Applications
Ajax:From Desktop Applications towards Ajax Web ApplicationsAjax:From Desktop Applications towards Ajax Web Applications
Ajax:From Desktop Applications towards Ajax Web ApplicationsSiva Kumar
 
Introduction about-ajax-framework
Introduction about-ajax-frameworkIntroduction about-ajax-framework
Introduction about-ajax-frameworkSakthi Bro
 
Introduction to ajax
Introduction to ajaxIntroduction to ajax
Introduction to ajaxNir Elbaz
 
An Introduction to Ajax Programming
An Introduction to Ajax ProgrammingAn Introduction to Ajax Programming
An Introduction to Ajax Programminghchen1
 
Introduction to ajax
Introduction to ajaxIntroduction to ajax
Introduction to ajaxRaja V
 

La actualidad más candente (20)

Ajax
AjaxAjax
Ajax
 
Architecture in Ajax Applications
Architecture in Ajax ApplicationsArchitecture in Ajax Applications
Architecture in Ajax Applications
 
Inner core of Ajax
Inner core of Ajax Inner core of Ajax
Inner core of Ajax
 
Overview of AJAX
Overview of AJAXOverview of AJAX
Overview of AJAX
 
Asynchronous JavaScript & XML (AJAX)
Asynchronous JavaScript & XML (AJAX)Asynchronous JavaScript & XML (AJAX)
Asynchronous JavaScript & XML (AJAX)
 
Ajax workshop
Ajax workshopAjax workshop
Ajax workshop
 
Ajax
AjaxAjax
Ajax
 
Ajax and PHP
Ajax and PHPAjax and PHP
Ajax and PHP
 
Ajax presentation
Ajax presentationAjax presentation
Ajax presentation
 
Introduction to ajax
Introduction to ajaxIntroduction to ajax
Introduction to ajax
 
Ajax:From Desktop Applications towards Ajax Web Applications
Ajax:From Desktop Applications towards Ajax Web ApplicationsAjax:From Desktop Applications towards Ajax Web Applications
Ajax:From Desktop Applications towards Ajax Web Applications
 
Ajax Presentation
Ajax PresentationAjax Presentation
Ajax Presentation
 
Introduction about-ajax-framework
Introduction about-ajax-frameworkIntroduction about-ajax-framework
Introduction about-ajax-framework
 
Ajax
AjaxAjax
Ajax
 
Introduction to ajax
Introduction to ajaxIntroduction to ajax
Introduction to ajax
 
An Introduction to Ajax Programming
An Introduction to Ajax ProgrammingAn Introduction to Ajax Programming
An Introduction to Ajax Programming
 
Ajax part i
Ajax part iAjax part i
Ajax part i
 
Ajax
AjaxAjax
Ajax
 
Ajax
AjaxAjax
Ajax
 
Introduction to ajax
Introduction to ajaxIntroduction to ajax
Introduction to ajax
 

Destacado

Ajax Patterns : Periodic Refresh & Multi Stage Download
Ajax Patterns : Periodic Refresh & Multi Stage DownloadAjax Patterns : Periodic Refresh & Multi Stage Download
Ajax Patterns : Periodic Refresh & Multi Stage DownloadEshan Mudwel
 
Introduction to xml
Introduction to xmlIntroduction to xml
Introduction to xmlsoumya
 
The Presentation Come-Back Kid
The Presentation Come-Back KidThe Presentation Come-Back Kid
The Presentation Come-Back KidEthos3
 

Destacado (6)

Xml
XmlXml
Xml
 
Json
JsonJson
Json
 
Dom
DomDom
Dom
 
Ajax Patterns : Periodic Refresh & Multi Stage Download
Ajax Patterns : Periodic Refresh & Multi Stage DownloadAjax Patterns : Periodic Refresh & Multi Stage Download
Ajax Patterns : Periodic Refresh & Multi Stage Download
 
Introduction to xml
Introduction to xmlIntroduction to xml
Introduction to xml
 
The Presentation Come-Back Kid
The Presentation Come-Back KidThe Presentation Come-Back Kid
The Presentation Come-Back Kid
 

Similar a Ajax (20)

Ajax
AjaxAjax
Ajax
 
M Ramya
M RamyaM Ramya
M Ramya
 
Ajax
AjaxAjax
Ajax
 
Ajax
AjaxAjax
Ajax
 
AJAX
AJAXAJAX
AJAX
 
Ajax
AjaxAjax
Ajax
 
25250716 seminar-on-ajax text
25250716 seminar-on-ajax text25250716 seminar-on-ajax text
25250716 seminar-on-ajax text
 
Ajax.ppt
Ajax.pptAjax.ppt
Ajax.ppt
 
AJAX
AJAXAJAX
AJAX
 
Ajax
AjaxAjax
Ajax
 
Mashup
MashupMashup
Mashup
 
Ajax
AjaxAjax
Ajax
 
Ajax
AjaxAjax
Ajax
 
Ajax
AjaxAjax
Ajax
 
AJAX.pptx
AJAX.pptxAJAX.pptx
AJAX.pptx
 
AJAX
AJAXAJAX
AJAX
 
Ajax
AjaxAjax
Ajax
 
Intoduction to Ajax
Intoduction to AjaxIntoduction to Ajax
Intoduction to Ajax
 
Copy of ajax tutorial
Copy of ajax tutorialCopy of ajax tutorial
Copy of ajax tutorial
 
Ajax & Reverse Ajax Presenation
Ajax & Reverse Ajax PresenationAjax & Reverse Ajax Presenation
Ajax & Reverse Ajax Presenation
 

Último

unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????blackmambaettijean
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 

Último (20)

unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 

Ajax

  • 2. History of AJAX  Starts with web pages  Static web pages  Static html page is loaded  No interaction with user  Dynamic web pages  html page is generated dynamically  Interaction with user  Becomes slower as functionality increases  Speed becomes untolerable, so AJAX has been born
  • 3. What is AJAX?  Asynchronous JavaScript and XML (AJAX).  Not a stand-alone language or technology.  Combines a set of known technologies in order to create faster and more user friendly web pages.  Client side technology.  Makes web pages more responsive by exchanging small amounts of data.  Allows the web page to change its content without refreshing the whole page.  Web browser technology independent of web server software.
  • 4. What is So Cool about AJAX?  Connection between client side script and server side script.  Better user experience.  More flexibility.  More options.
  • 5. AJAX Technologies  Extensible Markup Language (XML)  Hyper Text Markup Language (HTML)  JavaScript  Cascading Style Sheet (CSS)  ASP or JSP (server side)
  • 6. AJAX Examples Google Maps User can drag the entire map by using the mouse instead of clicking on a button or something Google Suggest Google will offer suggestions. Gmail Gmail is a new kind of webmail, built on the idea that email can be more intuitive, efficient and useful Yahoo Maps (new) Now it's even easier and more fun to get where you're going!
  • 7. Why it is Popular?  Google helped popularize, and legitimize it in Gmail.  Increase Usability of Web Applications.  Rich Internet applications without Flash.  Save Bandwidth.  Download only data you need.  Faster interfaces.
  • 8. Advantages of AJAX  Better internet Application  Requests only the content that needs to be updated  Respond quickly to the input  Page can be reloaded individually  Reduces connections to the server Prevents unnecessary reloading of a page
  • 9. AJAX Browser Support Internet Explorer Opera Mozilla Firefox Flock Safari Netscape
  • 10. How AJAX Works?  AJAX is based on Javascript, and the main functionality is to access the web server inside the Javascript code.  We access to the server using special objects; we send data and retrieve data.  When user initiates an event, a javascript function is called which accesses server using the objects.  The received information is shown to the user by means of the Javascript’s functions.
  • 11. Working….. The client process the returned xml document using JavaScript Using JavaScript, an and updates the page content instance of the xmlHttp request is then sent Internet The Http Request is processed by the server. A response is created And returned as xml data to the client
  • 12. Working cont….. XMLHTTPRequest Object Heart of the AJAX Engine and it is responsible to carry the HTTP request to the server asynchronously. Talking with the Server XMLHTTPRequest talks with the server with its appropriate methods and properties asynchronously at the backside. Server Response As per the Server script is concerned the request from the XMLHTTPRequest is just another HTTP request. Dealing with the Server Response Once after the AJAX Engine gets notified about the successful execution. It modifies the data according to the functionality and keeps in place.
  • 13. AJAX Server AJAX is about creating clever applications that can use the data. Requesting Text Files Many AJAX applications requests pure text files to retrieve data for the application. Requesting XML Files A very common AJAX method is to request XML files to retrieve application data.
  • 14. Requesting ASP or PHP Files Requesting an ASP or PHP file is the most common way to access database information. Requesting HTML Files Requesting HTML files is a common method for filling out different information on a web page. Submitting Forms With AJAX you can easily submit form data without having to reload the page.
  • 15. Ajax Frameworks Framework Framework Example JavaScript Yahoo User Interface Library (YUI) Java Google Web Toolkit .NET ASP.NET AJAX PHP Sajax Python Pyjamas
  • 16. Ajax Security Server Side AJAX-based Web applications use the same server side security schemes of regular Web applications. Client Side Downloaded JavaScript code is constrained by sand-box security model and can be relaxed for signed JavaScript.
  • 17. Issues with Ajax  Complexity is increased  AJAX-based applications can be difficult to debug, test, and maintain  Toolkits/Frameworks are not mature yet  No standardization of the XMLHttpRequest yet  No support of XMLHttpRequest in old browsers  JavaScript technology dependency & incompatibility  JavaScript code is visible to a hacker