SlideShare a Scribd company logo
Ajax
Disclaimer: This presentation is prepared by trainees of
baabtra as a part of mentoring program. This is not official
document of baabtra –Mentoring Partner
Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
Anaghabalakrishnan
anaghabalakrishnan07@gmail.com
www.facebook.com/username
twitter.com/username
in.linkedin.com/in/profilename
12345656
topic
AJAX
AJAX = Asynchronous JavaScript and XML.
AJAX is a technique for creating fast and
dynamic web pages.
AJAX allows web pages to be updated
asynchronously by exchanging small amounts
of data with the server behind the scenes.
This means that it is possible to update parts
of a web page, without reloading the whole
page.
Overview of Ajax
Ajax refers to JavaScript and XML,
technologies that are widely used for creating
dynamic and asynchronous wed content.
While Ajax is not limited to JavaScript and
XML technologies, more often than not they
are used together by wed applications.
Advantages of Ajax
 Form data validation in real time, eliminating
the need to submit the form for verification
 Enhanced functionality for wed pages, such as
user name and password prompts
 Partial update of the wed content, avoiding
complete page reloads
Disadvantages of Ajax
• Search engine would not be able to index an
Ajax application.
• The server information can not be accessed
within AJAX.
• AJAX is not well integrated with any browser.
• ActiveX request are enabled only in IE 5 and IE
6
Ajax Working With browser
Ajax unfortunately doesn’t have same code
for all browser, it has little bit different for all
the browser. The keystone of Ajax is
XMLHttpRequest object. And it will be very
necessary for you to know about the
XMLHttpObject, how it makes all browser
compactible with the code
Ajax Frame Works
• The global of the framework is to provide the
Ajax engine.
• Framework eases the work of the Ajax
programmer at two levels:-
1. On the client side:-
It offers JavaScript function to send
request to the server.
2. On the server side:-
it processes the requests, search for
the data, and transmits them to the
browser.
Ajax FrameWorks Types
Ajax FrameWorks Types
Direct Ajax FWs Ajax Component
Server-driven
Ajax
Languages/
Platform
Ajax XMLHttpRequest
AJAX- Create an XMLHttpRequest Object
The XMLHttpRequest Object
All modern browsers support the
XMLHttpRequest object(IE5 and IE6 uses an
ActiveXobject).
The XMLHttpRequest object is used to
exchange data with a server behind the
scenes. This means that it is possible to
update parts of a wed page, without reloading
the whole page.
Ajax –Server Response
Server Response
To get the response from a server, use the
response Text or responseXML property of the
XMLHttpRequest object.
Property Description
ResponseText get the response data as string
responseXML get the response data as Xml
data
Example of Ajax
<!DOCTYPE html>
<html>
<body>
<div id=“myDiv”><h2>Let AJAX change this
text</h2></div>
<button type=“button”
onclick=“loadXMLDoc()”>change
content</button>
</body>
</html>
Want to learn more about programming or Looking to become a good programmer?
Are you wasting time on searching so many contents online?
Do you want to learn things quickly?
Tired of spending huge amount of money to become a Software professional?
Do an online course
@ baabtra.com
We put industry standards to practice. Our structured, activity based courses are so designed
to make a quick, good software professional out of anybody who holds a passion for coding.
Thankyou…
Follow us @ twitter.com/baabtra
Like us @ facebook.com/baabtra
Subscribe to us @ youtube.com/baabtra
Become a follower @ slideshare.net/BaabtraMentoringPartner
Connect to us @ in.linkedin.com/in/baabtra
Give a feedback @ massbaab.com/baabtra
Thanks in advance
www.baabtra.com | www.massbaab.com |www.baabte.com
Emarald Mall (Big Bazar Building)
Mavoor Road, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
NC Complex, Near Bus Stand
Mukkam, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
Cafit Square,
Hilite Business Park,
Near Pantheerankavu,
Kozhikode
Start up Village
Eranakulam,
Kerala, India.
Email: info@baabtra.com
Contact Us

More Related Content

PPTX
Overview of AJAX
PPT
Introduction to ajax
PPT
PPT
Ajax Ppt 1
PPT
Asynchronous JavaScript & XML (AJAX)
PPT
Using Ajax In Domino Web Applications
PPT
Ajax Presentation
PPTX
Architecture in Ajax Applications
Overview of AJAX
Introduction to ajax
Ajax Ppt 1
Asynchronous JavaScript & XML (AJAX)
Using Ajax In Domino Web Applications
Ajax Presentation
Architecture in Ajax Applications

What's hot (20)

PDF
Introduction to ajax
PPTX
Ajax technology
PDF
Ajax basics
DOCX
Jquery Ajax
PPT
Introduction To Asp.Net Ajax
PPTX
Ajax and ASP.NET AJAX
PPTX
Ajax PPT
PPT
Ajax & ASP.NET 2
PPSX
Ajax part i
PPTX
Ajax Technology
PPT
Ajax and PHP
ODP
Ajax Basics And Framework
PPT
PHP - Introduction to PHP AJAX
PDF
AJAX in ASP.NET
PPTX
Introduction to ajax
Introduction to ajax
Ajax technology
Ajax basics
Jquery Ajax
Introduction To Asp.Net Ajax
Ajax and ASP.NET AJAX
Ajax PPT
Ajax & ASP.NET 2
Ajax part i
Ajax Technology
Ajax and PHP
Ajax Basics And Framework
PHP - Introduction to PHP AJAX
AJAX in ASP.NET
Introduction to ajax
Ad

Viewers also liked (12)

PPTX
JEE: EJB & CDI v praxi
PPTX
EJB3 Basics
PDF
Ejb notes
PPTX
Introduction to EJB
PDF
Lecture 8 Enterprise Java Beans (EJB)
PPT
Java beans
PDF
Enterprise Java Beans - EJB
PDF
21 Essential JavaScript Interview Questions
PPT
PDF
Ajax Introduction Presentation
PPTX
Ajax ppt - 32 slides
JEE: EJB & CDI v praxi
EJB3 Basics
Ejb notes
Introduction to EJB
Lecture 8 Enterprise Java Beans (EJB)
Java beans
Enterprise Java Beans - EJB
21 Essential JavaScript Interview Questions
Ajax Introduction Presentation
Ajax ppt - 32 slides
Ad

Similar to Ajax (20)

PPT
PDF
Ajax
TXT
25250716 seminar-on-ajax text
PPT
PPTX
PPTX
Introduction to ajax
PPTX
Walther Ajax4
PPTX
Ajax assignment help
PPT
jQuery Ajax
PPT
Ajax presentation
PPT
SynapseIndia asp.net2.0 ajax Development
PPT
AJAX
PPT
Mashup
PPTX
Web-Engineering-Lec-14 (1) .pptx
Ajax
25250716 seminar-on-ajax text
Introduction to ajax
Walther Ajax4
Ajax assignment help
jQuery Ajax
Ajax presentation
SynapseIndia asp.net2.0 ajax Development
AJAX
Mashup
Web-Engineering-Lec-14 (1) .pptx

Recently uploaded (20)

PDF
Empathic Computing: Creating Shared Understanding
PDF
August Patch Tuesday
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
A Presentation on Artificial Intelligence
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
Tartificialntelligence_presentation.pptx
PPT
Teaching material agriculture food technology
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
Mushroom cultivation and it's methods.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Empathic Computing: Creating Shared Understanding
August Patch Tuesday
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
A Presentation on Artificial Intelligence
Encapsulation_ Review paper, used for researhc scholars
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Programs and apps: productivity, graphics, security and other tools
Tartificialntelligence_presentation.pptx
Teaching material agriculture food technology
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Unlocking AI with Model Context Protocol (MCP)
A comparative study of natural language inference in Swahili using monolingua...
A comparative analysis of optical character recognition models for extracting...
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Diabetes mellitus diagnosis method based random forest with bat algorithm
Reach Out and Touch Someone: Haptics and Empathic Computing
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Mushroom cultivation and it's methods.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11

Ajax

  • 2. Disclaimer: This presentation is prepared by trainees of baabtra as a part of mentoring program. This is not official document of baabtra –Mentoring Partner Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
  • 4. AJAX AJAX = Asynchronous JavaScript and XML. AJAX is a technique for creating fast and dynamic web pages. AJAX allows web pages to be updated asynchronously by exchanging small amounts of data with the server behind the scenes. This means that it is possible to update parts of a web page, without reloading the whole page.
  • 5. Overview of Ajax Ajax refers to JavaScript and XML, technologies that are widely used for creating dynamic and asynchronous wed content. While Ajax is not limited to JavaScript and XML technologies, more often than not they are used together by wed applications.
  • 6. Advantages of Ajax  Form data validation in real time, eliminating the need to submit the form for verification  Enhanced functionality for wed pages, such as user name and password prompts  Partial update of the wed content, avoiding complete page reloads
  • 7. Disadvantages of Ajax • Search engine would not be able to index an Ajax application. • The server information can not be accessed within AJAX. • AJAX is not well integrated with any browser. • ActiveX request are enabled only in IE 5 and IE 6
  • 8. Ajax Working With browser Ajax unfortunately doesn’t have same code for all browser, it has little bit different for all the browser. The keystone of Ajax is XMLHttpRequest object. And it will be very necessary for you to know about the XMLHttpObject, how it makes all browser compactible with the code
  • 9. Ajax Frame Works • The global of the framework is to provide the Ajax engine. • Framework eases the work of the Ajax programmer at two levels:- 1. On the client side:- It offers JavaScript function to send request to the server. 2. On the server side:- it processes the requests, search for the data, and transmits them to the browser.
  • 10. Ajax FrameWorks Types Ajax FrameWorks Types Direct Ajax FWs Ajax Component Server-driven Ajax Languages/ Platform
  • 11. Ajax XMLHttpRequest AJAX- Create an XMLHttpRequest Object The XMLHttpRequest Object All modern browsers support the XMLHttpRequest object(IE5 and IE6 uses an ActiveXobject). The XMLHttpRequest object is used to exchange data with a server behind the scenes. This means that it is possible to update parts of a wed page, without reloading the whole page.
  • 12. Ajax –Server Response Server Response To get the response from a server, use the response Text or responseXML property of the XMLHttpRequest object. Property Description ResponseText get the response data as string responseXML get the response data as Xml data
  • 13. Example of Ajax <!DOCTYPE html> <html> <body> <div id=“myDiv”><h2>Let AJAX change this text</h2></div> <button type=“button” onclick=“loadXMLDoc()”>change content</button> </body> </html>
  • 14. Want to learn more about programming or Looking to become a good programmer? Are you wasting time on searching so many contents online? Do you want to learn things quickly? Tired of spending huge amount of money to become a Software professional? Do an online course @ baabtra.com We put industry standards to practice. Our structured, activity based courses are so designed to make a quick, good software professional out of anybody who holds a passion for coding.
  • 16. Follow us @ twitter.com/baabtra Like us @ facebook.com/baabtra Subscribe to us @ youtube.com/baabtra Become a follower @ slideshare.net/BaabtraMentoringPartner Connect to us @ in.linkedin.com/in/baabtra Give a feedback @ massbaab.com/baabtra Thanks in advance www.baabtra.com | www.massbaab.com |www.baabte.com
  • 17. Emarald Mall (Big Bazar Building) Mavoor Road, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 NC Complex, Near Bus Stand Mukkam, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 Cafit Square, Hilite Business Park, Near Pantheerankavu, Kozhikode Start up Village Eranakulam, Kerala, India. Email: [email protected] Contact Us