Technical Seminar
AJAX WEB APPLICATIONS
By,
Pramodh N S
(1sj07cs057)
Seminar Coordinator:
Mr.S.Manjunath.Lecturer, B.E, M.Tech.
Overview
Classifications of Applications
Comparison of Pros and cons between Web
and Desktop Applications
Importance of Web Applications
How to make Web Applications so that they
seem as if they are Desktop Applications.
Introduction To Ajax
What Is ajax?
Why ajax?
Is ajax a language? Or a new technology? Or a
new Product? Or just a framework?
Defining Ajax
Ajax Is a neither a new technology nor a new
programming language, its a new way
programming the web using the existing
technologies.
Technologies and Protocols
Supported by Ajax
The Hypertext Transfer Markup Languages: HTML,XHTML,
XML.
Language to describe the presentation of a document:Cascading
Style Sheets (CSS).
Interaction and dynamic display: W3C DocumentObject Model
(DOM).
Client-side language and parse data: JavaScript.
Asynchronous data transfer and communication withthe server :
XMLHttpRequest object (XHR)
Technologies and Protocols
Supported by Ajax
Manipulation, transformation and data exchange:XML,
XSLT, HTML, JSON, Plain Text.
Transfer Protocol: HTTP, HTTPS.
Server-side languages: JSP, JSF, Perl, Ruby, PHP,Cold
Fusion, ASP, and CGI applications.
Types Of Communications In Web
Applications
Synchronous Communication:
Multipage Interface Model
Asynchronous Communication:
Single Page Interface
Synchronous communication
2_asynchronous.png
Asynchronous Communication
Traditional and Ajax Web
Application Models
Advantages of Ajax
Cross-Browser and Cross-Platform Compatibility.
Ajax application can be build with open standards
technologies, is not tied to proprietary software.
Lower cost of development.
The code can be optimized and separated.
More rich interaction with the user, by
example:autocomplete, drag and drop, transparency,
shading,Z-ordering, etc.
More speed, and less wait time for screen updated.
Widespread adoption of Ajax by industry leaders.
Integration with others proprietaries technologies.
Disadvantages Of Ajax
Same security problems as in classic Web appli-
cations.
Think of different way in the development and design.
The use of frameworks can generate
complexity.
More interaction through JavaScript.
More code for old browser.
Special code for some functions of Internet
Explorer.
How To Resolve Its
Complexity??
FireDetective, a tool that uses dynamic analysis at both
the client (browser) and
server side to facilitate the understanding of Ajax
applications.
Architecture Of The Fire
Detective Tool
Security Concerns In Ajax
THE MAIN IS RISKS ARE THE COMMON MISTAKES
IN DESIGN AND DEVELOPMENT.
XHR is the heart of the ajax application and it is called in
javascript.
Validation of data is done in the client side rather than server
side, which opens the door for SQL injection.
Writing the server access information on the client side
which is a major security concern because of inexperience
programming.
Ajax Web Applications
CONCLUSION
My Pleasure To Try Answering Your Questions