SlideShare a Scribd company logo
Ajax --M J Prakash
Ajax Session Agenda  Why we need Ajax? What Actually Ajax? How Ajax Works? Why Ajax Become Popular? How Ajax is Different  from normal Applications? Examples with Raw Ajax Ajax Frame Works? Examples with Frame works? Ajax Benefits Ajax Most Popular sites?
Need Of Ajax To build Rich Internet Applications * Time shown with out day light savings What is the Rich Internet  Applications?
Rich Internet Applications These are the web applications that have the functionality and features of traditional  desktop applications. This applications typically runs in web browser(not need any softwarre installation) Transfers the processing neccessary for the user interface to webclient and keep the bulk of the back on to server.
Benefits From RIAs Benifits Richer More Responsive Client /Server Balance Asynchronous Communication NetWork Efficiency
Introduction Of AJAX AJAX , is a  web development  technique used for creating interactive  web applications .  The intent is to make web pages feel more responsive by exchanging small amounts of data with the server behind the scenes, so that the entire web page does not have to be reloaded each time the user requests a change. This is intended to increase the web page's interactivity, speed, functionality, and  usability
What actually Ajax (Js+Css+Dom+xmlHttpRequest+xml)  AJAX ---- Jesse James Garrett Ajax is n’t a technology.It’s really several technologies,each flourishing in its own right, coming together in powerful as Ajax. --Standards-based presentation using X/HTML and Css --Dynamic display and interaction using the  Document Object Model(DOM) --Data interchange and manipulation using XML and XLST --Asynchronous data retrieval using XmlHTTPRequest. And JavaScript for carrying events from HTML body to HTML head.
How Ajax Works
How Ajax Works with Simple Example  A client event occurs.   An XMLHttpRequest object is created and configured.   The XMLHttpRequest object makes a call.   The request is processed by the ValidateServlet.   The ValidateServlet returns an XML document containing the result.   The XMLHttpRequest object calls the callback() function and processes the result.   The HTML DOM is updated.
Simple Example
Why Ajax Become Popular Sites like  Google Mail (Gmail.com) , Google Maps (google.com/maps), Google Groups, Google Suggest, Flickr, and Amazon’s  A9.com   have really made AJAX popular. These projects demonstrate that Ajax is not another technology that only works in a laboratory, but also practical for real-world applications And also Ajax applications can be any size, from the very simple, single-function Google Suggest to the very complex and sophisticated Google Maps.
How Ajax is Different  from normal Applications
How Classic web application model works  Most user actions in the interface trigger an HTTP request back to a web server. The server does some processing — retrieving data, crunching numbers, talking to various legacy systems — and then returns an HTML page to the client.
How Classic web application model works This approach makes a lot of technical sense, but it doesn’t make for a great user experience and arise questions like While the server is doing its thing, what’s the user doing? --Waiting.
How Ajax Application Model Works  An Ajax application eliminates the start-stop-start-stop nature of interaction on the Web by introducing an intermediary — an Ajax engine — between the user and the server. It seems like adding a layer to the application would make it less responsive, but the opposite is true. Instead of loading a webpage, at the start of the session, the browser loads an Ajax engine — written in JavaScript .
Ajax Engine Responsibilities The Engine Responsibilities:- Rendering the interface the user sees  Communicating with the server on the user’s behalf. The Ajax engine allows the user’s interaction with the application to happen asynchronously — independent of communication with the server. So the user is never staring at a blank browser window
The synchronous interaction pattern of a traditional web application (top) compared with the asynchronous pattern of an Ajax application (bottom).
Examples with Raw Ajax
Ajax Frame Works The goal of the framework is to provide the Ajax engine. Framework eases the work of the Ajax programmer  at two levels: - On the client side:- It offers JavaScript functions to send requests to the server.  On the server side:- It processes the requests, searches for the data, and transmits them to the browser...
Ajax FrameWorks Types Ajax Frame Works Direct Ajax FWs   Ajax component   Server-driven Ajax   language/platform
Frameworks by language/platform JavaScript -- JavaScript Frameworks are browser-side frameworks  Ex:-JQuery,Prototype,Yahoo UI Library,DojoToolKit,Qooxdoo, Clean Ajax,Ext, Spry framework ,  Script.aculo.us C++   -- C++ Toolkits are interfaces to AJAX technology. Ex:-Wt(witty)   Java  -- Such frameworks permit the use of Java web services interactively with web pages. DWR , a remoting toolkit and DHTML library , Google Web Toolkit , a widget library with Java to Javascript compiler  ThinWire , open source Swing-like AJAX framework for developing web applications  Echo , a java framework for AJAX servlets  .NET ASP.NET AJAX ,  Ajax.NET Professional PHP Xajax ,Sajax
Examples with Frame works  Yahoo ,DWR, DOJO Path
Ajax Benefits  --Richer User Interface --More Responsive --Client /Server Balance --NetWork Efficiency
Ajax More Popular Sites
Why Ajax is Bad  Disabled scripting Loss of visibility to search engines Building an Ajax-Powered Application will increase development time. Error Debugging very Difficult.
Questions QUESTIONS ?
ThanK U Meet me:-jayaprakash.narayanam@cgi.com Mail me:-jayaprakash.narayanam@cgi.com

More Related Content

What's hot (20)

PDF
IT2255 Web Essentials - Unit V Servlets and Database Connectivity
pkaviya
 
PDF
Basics of JavaScript
Bala Narayanan
 
PDF
Asynchronous JavaScript Programming with Callbacks & Promises
Hùng Nguyễn Huy
 
PDF
jQuery for beginners
Arulmurugan Rajaraman
 
PPT
PHP - Introduction to PHP AJAX
Vibrant Technologies & Computers
 
PPTX
Presentation on "An Introduction to ReactJS"
Flipkart
 
PPT
Ajax presentation
engcs2008
 
PPTX
Servlets
ZainabNoorGul
 
PDF
jQuery Essentials
Marc Grabanski
 
KEY
HTML CSS & Javascript
David Lindkvist
 
PDF
Intro to Asynchronous Javascript
Garrett Welson
 
PPTX
jQuery
Jay Poojara
 
PPTX
Reactjs
Neha Sharma
 
PPTX
What Is Express JS?
Simplilearn
 
PPTX
Web Development
Lena Petsenchuk
 
PPT
Advanced Web Development
Robert J. Stein
 
PPTX
An Introduction To REST API
Aniruddh Bhilvare
 
IT2255 Web Essentials - Unit V Servlets and Database Connectivity
pkaviya
 
Basics of JavaScript
Bala Narayanan
 
Asynchronous JavaScript Programming with Callbacks & Promises
Hùng Nguyễn Huy
 
jQuery for beginners
Arulmurugan Rajaraman
 
PHP - Introduction to PHP AJAX
Vibrant Technologies & Computers
 
Presentation on "An Introduction to ReactJS"
Flipkart
 
Ajax presentation
engcs2008
 
Servlets
ZainabNoorGul
 
jQuery Essentials
Marc Grabanski
 
HTML CSS & Javascript
David Lindkvist
 
Intro to Asynchronous Javascript
Garrett Welson
 
jQuery
Jay Poojara
 
Reactjs
Neha Sharma
 
What Is Express JS?
Simplilearn
 
Web Development
Lena Petsenchuk
 
Advanced Web Development
Robert J. Stein
 
An Introduction To REST API
Aniruddh Bhilvare
 

Viewers also liked (20)

PPT
Ajax Ppt
Hema Prasanth
 
PDF
Ajax Introduction Presentation
thinkphp
 
PPT
An Introduction to Ajax Programming
hchen1
 
PPTX
Introduction to ajax
Raja V
 
PPT
Introduction to ajax
Venkat Pinagadi
 
PPTX
JSON(JavaScript Object Notation)
Raghu nath
 
PDF
Ajax Tutorial
oscon2007
 
PDF
основы Ajax презентация
sivorka
 
PPTX
Fourth Dimension Level 1
Ehtesham Mirxa
 
PPTX
Overview of AJAX
Roshith S Pai
 
PPTX
Systemcall
Mahesh Shitole
 
PDF
Jsf Ajax
rajivmordani
 
DOC
Hemanth Kumar - Drupal Architect
Hemanth Kumar
 
PPT
Vb script
mcatahir947
 
PPT
Open Ldap Integration and Configuration with Lifray 6.2
Vinaykumar Hebballi
 
DOC
SYED_PHPMYSQL_CV
Naser Syed
 
PPTX
5. stored procedure and functions
Amrit Kaur
 
PPT
Json vs Gson vs Jackson
Vinaykumar Hebballi
 
Ajax Ppt
Hema Prasanth
 
Ajax Introduction Presentation
thinkphp
 
An Introduction to Ajax Programming
hchen1
 
Introduction to ajax
Raja V
 
Introduction to ajax
Venkat Pinagadi
 
JSON(JavaScript Object Notation)
Raghu nath
 
Ajax Tutorial
oscon2007
 
основы Ajax презентация
sivorka
 
Fourth Dimension Level 1
Ehtesham Mirxa
 
Overview of AJAX
Roshith S Pai
 
Systemcall
Mahesh Shitole
 
Jsf Ajax
rajivmordani
 
Hemanth Kumar - Drupal Architect
Hemanth Kumar
 
Vb script
mcatahir947
 
Open Ldap Integration and Configuration with Lifray 6.2
Vinaykumar Hebballi
 
SYED_PHPMYSQL_CV
Naser Syed
 
5. stored procedure and functions
Amrit Kaur
 
Json vs Gson vs Jackson
Vinaykumar Hebballi
 
Ad

Similar to Ajax Ppt 1 (20)

PPT
Lessons from the Trenches: Engineering Great AJAX Experiences
goodfriday
 
PPT
Lessons
guest1019f4
 
PDF
Ajax & Reverse Ajax Presenation
Rishabh Garg
 
TXT
25250716 seminar-on-ajax text
Kamleshh Chandnani
 
PDF
Ajax
soumya
 
PPT
Ajax
TSUBHASHRI
 
PDF
Ajax -a_new_approach_to_web_applications
luongthuha
 
ODP
Ajax Basics And Framework
shivas
 
PPT
Using Ajax In Domino Web Applications
dominion
 
PPT
Ajax: User Experience
petrov
 
PPT
Advantages and disadvantages of an ajax based client application
Placinta Alin
 
PPT
Ajax
guest873a50
 
PPT
Ajax and PHP
John Coggeshall
 
PPT
Ajax
rahmed_sct
 
PPTX
Introduction to ajax
Pihu Goel
 
Lessons from the Trenches: Engineering Great AJAX Experiences
goodfriday
 
Lessons
guest1019f4
 
Ajax & Reverse Ajax Presenation
Rishabh Garg
 
25250716 seminar-on-ajax text
Kamleshh Chandnani
 
Ajax
soumya
 
Ajax -a_new_approach_to_web_applications
luongthuha
 
Ajax Basics And Framework
shivas
 
Using Ajax In Domino Web Applications
dominion
 
Ajax: User Experience
petrov
 
Advantages and disadvantages of an ajax based client application
Placinta Alin
 
Ajax and PHP
John Coggeshall
 
Introduction to ajax
Pihu Goel
 
Ad

Recently uploaded (20)

PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PPTX
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
PPTX
Agile Chennai 18-19 July 2025 | Workshop - Enhancing Agile Collaboration with...
AgileNetwork
 
PPTX
Machine Learning Benefits Across Industries
SynapseIndia
 
PDF
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
PDF
Alpha Altcoin Setup : TIA - 19th July 2025
CIFDAQ
 
PDF
visibel.ai Company Profile – Real-Time AI Solution for CCTV
visibelaiproject
 
PDF
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
 
PPTX
python advanced data structure dictionary with examples python advanced data ...
sprasanna11
 
PDF
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
PPTX
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PDF
The Future of Artificial Intelligence (AI)
Mukul
 
PDF
Basics of Electronics for IOT(actuators ,microcontroller etc..)
arnavmanesh
 
PDF
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
PDF
OpenInfra ID 2025 - Are Containers Dying? Rethinking Isolation with MicroVMs.pdf
Muhammad Yuga Nugraha
 
PPTX
PCU Keynote at IEEE World Congress on Services 250710.pptx
Ramesh Jain
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
Agile Chennai 18-19 July 2025 | Workshop - Enhancing Agile Collaboration with...
AgileNetwork
 
Machine Learning Benefits Across Industries
SynapseIndia
 
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
Alpha Altcoin Setup : TIA - 19th July 2025
CIFDAQ
 
visibel.ai Company Profile – Real-Time AI Solution for CCTV
visibelaiproject
 
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
Simple and concise overview about Quantum computing..pptx
mughal641
 
python advanced data structure dictionary with examples python advanced data ...
sprasanna11
 
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
The Future of Artificial Intelligence (AI)
Mukul
 
Basics of Electronics for IOT(actuators ,microcontroller etc..)
arnavmanesh
 
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
OpenInfra ID 2025 - Are Containers Dying? Rethinking Isolation with MicroVMs.pdf
Muhammad Yuga Nugraha
 
PCU Keynote at IEEE World Congress on Services 250710.pptx
Ramesh Jain
 

Ajax Ppt 1

  • 1. Ajax --M J Prakash
  • 2. Ajax Session Agenda Why we need Ajax? What Actually Ajax? How Ajax Works? Why Ajax Become Popular? How Ajax is Different from normal Applications? Examples with Raw Ajax Ajax Frame Works? Examples with Frame works? Ajax Benefits Ajax Most Popular sites?
  • 3. Need Of Ajax To build Rich Internet Applications * Time shown with out day light savings What is the Rich Internet Applications?
  • 4. Rich Internet Applications These are the web applications that have the functionality and features of traditional desktop applications. This applications typically runs in web browser(not need any softwarre installation) Transfers the processing neccessary for the user interface to webclient and keep the bulk of the back on to server.
  • 5. Benefits From RIAs Benifits Richer More Responsive Client /Server Balance Asynchronous Communication NetWork Efficiency
  • 6. Introduction Of AJAX AJAX , is a web development technique used for creating interactive web applications . The intent is to make web pages feel more responsive by exchanging small amounts of data with the server behind the scenes, so that the entire web page does not have to be reloaded each time the user requests a change. This is intended to increase the web page's interactivity, speed, functionality, and usability
  • 7. What actually Ajax (Js+Css+Dom+xmlHttpRequest+xml)  AJAX ---- Jesse James Garrett Ajax is n’t a technology.It’s really several technologies,each flourishing in its own right, coming together in powerful as Ajax. --Standards-based presentation using X/HTML and Css --Dynamic display and interaction using the Document Object Model(DOM) --Data interchange and manipulation using XML and XLST --Asynchronous data retrieval using XmlHTTPRequest. And JavaScript for carrying events from HTML body to HTML head.
  • 9. How Ajax Works with Simple Example A client event occurs. An XMLHttpRequest object is created and configured. The XMLHttpRequest object makes a call. The request is processed by the ValidateServlet. The ValidateServlet returns an XML document containing the result. The XMLHttpRequest object calls the callback() function and processes the result. The HTML DOM is updated.
  • 11. Why Ajax Become Popular Sites like Google Mail (Gmail.com) , Google Maps (google.com/maps), Google Groups, Google Suggest, Flickr, and Amazon’s A9.com have really made AJAX popular. These projects demonstrate that Ajax is not another technology that only works in a laboratory, but also practical for real-world applications And also Ajax applications can be any size, from the very simple, single-function Google Suggest to the very complex and sophisticated Google Maps.
  • 12. How Ajax is Different from normal Applications
  • 13. How Classic web application model works Most user actions in the interface trigger an HTTP request back to a web server. The server does some processing — retrieving data, crunching numbers, talking to various legacy systems — and then returns an HTML page to the client.
  • 14. How Classic web application model works This approach makes a lot of technical sense, but it doesn’t make for a great user experience and arise questions like While the server is doing its thing, what’s the user doing? --Waiting.
  • 15. How Ajax Application Model Works An Ajax application eliminates the start-stop-start-stop nature of interaction on the Web by introducing an intermediary — an Ajax engine — between the user and the server. It seems like adding a layer to the application would make it less responsive, but the opposite is true. Instead of loading a webpage, at the start of the session, the browser loads an Ajax engine — written in JavaScript .
  • 16. Ajax Engine Responsibilities The Engine Responsibilities:- Rendering the interface the user sees Communicating with the server on the user’s behalf. The Ajax engine allows the user’s interaction with the application to happen asynchronously — independent of communication with the server. So the user is never staring at a blank browser window
  • 17. The synchronous interaction pattern of a traditional web application (top) compared with the asynchronous pattern of an Ajax application (bottom).
  • 19. Ajax Frame Works The goal of the framework is to provide the Ajax engine. Framework eases the work of the Ajax programmer at two levels: - On the client side:- It offers JavaScript functions to send requests to the server. On the server side:- It processes the requests, searches for the data, and transmits them to the browser...
  • 20. Ajax FrameWorks Types Ajax Frame Works Direct Ajax FWs Ajax component Server-driven Ajax language/platform
  • 21. Frameworks by language/platform JavaScript -- JavaScript Frameworks are browser-side frameworks Ex:-JQuery,Prototype,Yahoo UI Library,DojoToolKit,Qooxdoo, Clean Ajax,Ext, Spry framework , Script.aculo.us C++ -- C++ Toolkits are interfaces to AJAX technology. Ex:-Wt(witty) Java -- Such frameworks permit the use of Java web services interactively with web pages. DWR , a remoting toolkit and DHTML library , Google Web Toolkit , a widget library with Java to Javascript compiler ThinWire , open source Swing-like AJAX framework for developing web applications Echo , a java framework for AJAX servlets .NET ASP.NET AJAX , Ajax.NET Professional PHP Xajax ,Sajax
  • 22. Examples with Frame works Yahoo ,DWR, DOJO Path
  • 23. Ajax Benefits --Richer User Interface --More Responsive --Client /Server Balance --NetWork Efficiency
  • 25. Why Ajax is Bad Disabled scripting Loss of visibility to search engines Building an Ajax-Powered Application will increase development time. Error Debugging very Difficult.
  • 27. ThanK U Meet me:-jayaprakash.narayanam@cgi.com Mail me:-jayaprakash.narayanam@cgi.com