Mr. Umesh Prasad Rout Ashok Kumar Pradhan 0905227085 Mca 2 Sem, Cvrca
Mr. Umesh Prasad Rout Ashok Kumar Pradhan 0905227085 Mca 2 Sem, Cvrca
Presented By:- Ashok Kumar Pradhan Guided by:-Mr. Umesh Prasad Rout
Reg. No.:- 0905227085
MCA 2nd SEM,CVRCA
Outline
1. What is Ajax
2. History of Ajax
3. Why use Ajax
4. Ajax as a combination of technology
5. How Ajax works
6. Advantages
7. Disadvantages
8. Future
9. Conclusion
10. References
What is Ajax ?
AJAX (shorthand for Asynchronous JavaScript and XML):
Continued…
Ajax as a combination of technology
HTML/XHTML and CSS
Used to represent web page.
DOM(Document Object Model)
To access data inside the page.
XML(Extensible Markup language)
For interchange and manipulation of data.
JavaScript
Used to bring all these technology to work together.
How AJAX works
Traditional Web Application Model
HTTP Request
(URL,POST,GET,Parameters,..) Server
Client
Computer
Computer
HTTP
Browser HTTP Response
(HTML/DHTML ,Contents…)
Service
Continued…
How AJAX works
Default Synchronous Processing
Client HTTP Re
q uest
Browser
(State A)
(state A) HTTP
State B
Server
A + ( ……)=
Stat e
Client
R es ponse
Browser HTTP e P ag
(state B) A New
Asynchronous Processing Scenarios
AA
Client HTTP Request
Browser
(state A) PA GE
s p o n s e-NEW HTTP
HTTP Re
Client Server
N SE
U E S T/RESPO
Client
Browser RE Q
Browser
(state B)
Client S T/ RES PONSE
REQUE
(state C)
Browser
(state D) Using XMLHttpRequest
Walkthrough An Example
Client vs. Server Scripting
Server Side Scripting
Web server does all the work
Ex:-
GWT
Yahoo Toolkit
Thanking you
Is Ajax c
Ja
GWT ? o des are c
ser cov
M ross bro
D O
Yahoo Toolkit
w mapS
atc
t is ible? rip
h a t
W
Any Queries ?
? Is Ajax is a framework or platform
Fr amew or k
RIA IDE
nt?
a n a s erv er in te ract with AJAX clie
How c
XML
?
ser Flash
e rs S
r ow s Brow CS
i c h b
Wh