SlideShare a Scribd company logo
AJAX 
Abhilasha Lahigude.
WHAT IS 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. 
 Classic web pages, (which do not use AJAX) 
must reload the entire page if the content 
should change.
WHY USE AJAX? 
Very user-visible effect 
 Rich UI experience in a Web page 
 Portable across browsers 
 Plus, all advantages of zero-install Web app 
 Ajax Apps: 
 Dynamic data 
 Static or dynamic forms, controls, code, etc. 
 Best of both worlds
CLASSIC VS AJAX
SOME EXAMPLES 
Login forms Google Suggest 
Chat Rooms And Instant Messaging Lightboxes instead of pop-ups
HOW AJAX WORKS
HOW TO USE AJAX? 
The typical method for using Ajax is the following: 
 A JavaScript creates an XMLHttpRequest object, 
initializes it with relevant information as necessary, and 
sends it to the server. The script (or web page) can 
continue after sending it to the server. 
 The server responds by sending the contents of a file or 
the output of a server side program (written, for 
example, in PHP). 
 When the response arrives from the server, a JavaScript 
function is triggered to act on the data supplied by the 
server. 
 This JavaScript response function typically refreshes the 
display using the DOM, avoiding the requirement to 
reload or refresh the entire page.
WE IMPLEMENTED 
 The following example will demonstrate how a web page can communicate 
with a web server while a user type characters in an input field:
1. HTML & CSS 
- User interface 
- Input from user 
- Display output 
- To style the data 
3. JavaScript 
-creates an 
XMLHttpRequest 
object 
-initializes it 
-sends it to the 
server 
-interact with the 
information 
2. PHP 
-saved on server 
-generate xml 
-send to clients 
computer 
-communication 
between JS and 
server 
-transferring data
HTML
PHP
JAVASCRIPT
THANK YOU

More Related Content

PPTX
Overview of AJAX
Roshith S Pai
 
PPT
Ajax presentation
engcs2008
 
PPT
Advantages and disadvantages of an ajax based client application
Placinta Alin
 
PPTX
Introduction to ajax
Pihu Goel
 
ODP
Ajax
Home
 
PPT
Ajax
AdamGyohannes
 
Overview of AJAX
Roshith S Pai
 
Ajax presentation
engcs2008
 
Advantages and disadvantages of an ajax based client application
Placinta Alin
 
Introduction to ajax
Pihu Goel
 
Ajax
Home
 

What's hot (20)

PPT
Ajax Presentation
alaa.moustafa
 
PPTX
Ajax technology
Safal Agrawal
 
PDF
Ajax basics
Vel004
 
PDF
Ajax
soumya
 
PPT
Ajax
guest873a50
 
PPT
Ajax
sujaykumar
 
PDF
Ajax Introduction Presentation
thinkphp
 
PPT
Ajax Using JSP with prototype.js
Tushar Chauhan
 
ODP
Ajax Basics And Framework
shivas
 
PPT
Ajax
Siya Agarwal
 
PDF
Ajax & Reverse Ajax Presenation
Rishabh Garg
 
PPTX
Ajax assignment help
john mayer
 
PPTX
Ajax Technology
Zia_Rehman
 
PPTX
Introduction to ajax
Raja V
 
PPT
Inner core of Ajax
Muhammad Junaid Ansari
 
DOCX
Jquery Ajax
Anand Kumar Rajana
 
ODP
technology@web
Dinesh kumar
 
Ajax Presentation
alaa.moustafa
 
Ajax technology
Safal Agrawal
 
Ajax basics
Vel004
 
Ajax
soumya
 
Ajax Introduction Presentation
thinkphp
 
Ajax Using JSP with prototype.js
Tushar Chauhan
 
Ajax Basics And Framework
shivas
 
Ajax & Reverse Ajax Presenation
Rishabh Garg
 
Ajax assignment help
john mayer
 
Ajax Technology
Zia_Rehman
 
Introduction to ajax
Raja V
 
Inner core of Ajax
Muhammad Junaid Ansari
 
Jquery Ajax
Anand Kumar Rajana
 
technology@web
Dinesh kumar
 
Ad

Similar to AJAX (20)

TXT
25250716 seminar-on-ajax text
Kamleshh Chandnani
 
PPTX
Ajax
Tech_MX
 
PPTX
Introduction about-ajax-framework
Sakthi Bro
 
PPT
Ajax
TSUBHASHRI
 
PDF
Core Java tutorial at Unit Nexus
Unit Nexus Pvt. Ltd.
 
PPTX
AJAX.pptx
Ganesh Chavan
 
PPT
Ajax
Manav Prasad
 
PPT
Ajax tutorial by bally chohan
WebVineet
 
PPT
Web Programming using Asynchronous JavaX
SivanN6
 
PPTX
AJAX Introduction [Autosaved].pptx
Jobin86
 
PDF
Ajax
Usman Khan
 
PPT
AJAX
Akhil Kumar
 
PPTX
Web-Engineering-Lec-14 (1) .pptx
iamayesha2526
 
PPTX
Web-Engineering-Lec-14 (1 ).pptx
iamayesha2526
 
25250716 seminar-on-ajax text
Kamleshh Chandnani
 
Ajax
Tech_MX
 
Introduction about-ajax-framework
Sakthi Bro
 
Core Java tutorial at Unit Nexus
Unit Nexus Pvt. Ltd.
 
AJAX.pptx
Ganesh Chavan
 
Ajax tutorial by bally chohan
WebVineet
 
Web Programming using Asynchronous JavaX
SivanN6
 
AJAX Introduction [Autosaved].pptx
Jobin86
 
Ajax
Usman Khan
 
Web-Engineering-Lec-14 (1) .pptx
iamayesha2526
 
Web-Engineering-Lec-14 (1 ).pptx
iamayesha2526
 
Ad

More from Abhilasha Lahigude (9)

PPTX
Replication in Distributed Database
Abhilasha Lahigude
 
PPTX
Fragmentation and types of fragmentation in Distributed Database
Abhilasha Lahigude
 
DOCX
Leave Management System: Software Requirements Specification Document(SRS)
Abhilasha Lahigude
 
PPTX
Acid properties
Abhilasha Lahigude
 
PPTX
Public awareness to protect environment
Abhilasha Lahigude
 
PPTX
Hotspots of biodiversity
Abhilasha Lahigude
 
PPTX
Disaster management(EVS)
Abhilasha Lahigude
 
PPTX
Object oriented analysis &design - requirement analysis
Abhilasha Lahigude
 
DOCX
Online property management system design document
Abhilasha Lahigude
 
Replication in Distributed Database
Abhilasha Lahigude
 
Fragmentation and types of fragmentation in Distributed Database
Abhilasha Lahigude
 
Leave Management System: Software Requirements Specification Document(SRS)
Abhilasha Lahigude
 
Acid properties
Abhilasha Lahigude
 
Public awareness to protect environment
Abhilasha Lahigude
 
Hotspots of biodiversity
Abhilasha Lahigude
 
Disaster management(EVS)
Abhilasha Lahigude
 
Object oriented analysis &design - requirement analysis
Abhilasha Lahigude
 
Online property management system design document
Abhilasha Lahigude
 

Recently uploaded (20)

PDF
2025 Laurence Sigler - Advancing Decision Support. Content Management Ecommer...
Francisco Javier Mora Serrano
 
PDF
Chad Ayach - A Versatile Aerospace Professional
Chad Ayach
 
PPTX
22PCOAM21 Session 2 Understanding Data Source.pptx
Guru Nanak Technical Institutions
 
PDF
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
PPTX
Online Cab Booking and Management System.pptx
diptipaneri80
 
PPTX
FUNDAMENTALS OF ELECTRIC VEHICLES UNIT-1
MikkiliSuresh
 
PDF
2010_Book_EnvironmentalBioengineering (1).pdf
EmilianoRodriguezTll
 
PPTX
sunil mishra pptmmmmmmmmmmmmmmmmmmmmmmmmm
singhamit111
 
PDF
Unit I Part II.pdf : Security Fundamentals
Dr. Madhuri Jawale
 
PPTX
Information Retrieval and Extraction - Module 7
premSankar19
 
DOCX
SAR - EEEfdfdsdasdsdasdasdasdasdasdasdasda.docx
Kanimozhi676285
 
PDF
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
PDF
All chapters of Strength of materials.ppt
girmabiniyam1234
 
PDF
Machine Learning All topics Covers In This Single Slides
AmritTiwari19
 
PDF
Cryptography and Information :Security Fundamentals
Dr. Madhuri Jawale
 
PPT
Understanding the Key Components and Parts of a Drone System.ppt
Siva Reddy
 
PDF
Advanced LangChain & RAG: Building a Financial AI Assistant with Real-Time Data
Soufiane Sejjari
 
PPTX
Tunnel Ventilation System in Kanpur Metro
220105053
 
PDF
The Effect of Artifact Removal from EEG Signals on the Detection of Epileptic...
Partho Prosad
 
PDF
Zero carbon Building Design Guidelines V4
BassemOsman1
 
2025 Laurence Sigler - Advancing Decision Support. Content Management Ecommer...
Francisco Javier Mora Serrano
 
Chad Ayach - A Versatile Aerospace Professional
Chad Ayach
 
22PCOAM21 Session 2 Understanding Data Source.pptx
Guru Nanak Technical Institutions
 
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
Online Cab Booking and Management System.pptx
diptipaneri80
 
FUNDAMENTALS OF ELECTRIC VEHICLES UNIT-1
MikkiliSuresh
 
2010_Book_EnvironmentalBioengineering (1).pdf
EmilianoRodriguezTll
 
sunil mishra pptmmmmmmmmmmmmmmmmmmmmmmmmm
singhamit111
 
Unit I Part II.pdf : Security Fundamentals
Dr. Madhuri Jawale
 
Information Retrieval and Extraction - Module 7
premSankar19
 
SAR - EEEfdfdsdasdsdasdasdasdasdasdasdasda.docx
Kanimozhi676285
 
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
All chapters of Strength of materials.ppt
girmabiniyam1234
 
Machine Learning All topics Covers In This Single Slides
AmritTiwari19
 
Cryptography and Information :Security Fundamentals
Dr. Madhuri Jawale
 
Understanding the Key Components and Parts of a Drone System.ppt
Siva Reddy
 
Advanced LangChain & RAG: Building a Financial AI Assistant with Real-Time Data
Soufiane Sejjari
 
Tunnel Ventilation System in Kanpur Metro
220105053
 
The Effect of Artifact Removal from EEG Signals on the Detection of Epileptic...
Partho Prosad
 
Zero carbon Building Design Guidelines V4
BassemOsman1
 

AJAX

  • 2. WHAT IS 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.  Classic web pages, (which do not use AJAX) must reload the entire page if the content should change.
  • 3. WHY USE AJAX? Very user-visible effect  Rich UI experience in a Web page  Portable across browsers  Plus, all advantages of zero-install Web app  Ajax Apps:  Dynamic data  Static or dynamic forms, controls, code, etc.  Best of both worlds
  • 5. SOME EXAMPLES Login forms Google Suggest Chat Rooms And Instant Messaging Lightboxes instead of pop-ups
  • 7. HOW TO USE AJAX? The typical method for using Ajax is the following:  A JavaScript creates an XMLHttpRequest object, initializes it with relevant information as necessary, and sends it to the server. The script (or web page) can continue after sending it to the server.  The server responds by sending the contents of a file or the output of a server side program (written, for example, in PHP).  When the response arrives from the server, a JavaScript function is triggered to act on the data supplied by the server.  This JavaScript response function typically refreshes the display using the DOM, avoiding the requirement to reload or refresh the entire page.
  • 8. WE IMPLEMENTED  The following example will demonstrate how a web page can communicate with a web server while a user type characters in an input field:
  • 9. 1. HTML & CSS - User interface - Input from user - Display output - To style the data 3. JavaScript -creates an XMLHttpRequest object -initializes it -sends it to the server -interact with the information 2. PHP -saved on server -generate xml -send to clients computer -communication between JS and server -transferring data
  • 10. HTML
  • 11. PHP