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

PPTX
Introduction to ASP.NET
PPT
Jsp ppt
PDF
SOAP-based Web Services
PPT
Introduction to JavaScript (1).ppt
PPTX
Ajax
PPT
javaScript.ppt
PPTX
REST & RESTful Web Services
Introduction to ASP.NET
Jsp ppt
SOAP-based Web Services
Introduction to JavaScript (1).ppt
Ajax
javaScript.ppt
REST & RESTful Web Services

What's hot (20)

PPT
Java Script ppt
PDF
Basics of JavaScript
PPT
Ajax Presentation
PDF
JavaScript - Chapter 12 - Document Object Model
PDF
javascript objects
PPTX
What Is Express JS?
PPTX
Java Server Pages(jsp)
PPTX
HTTP request and response
PPT
Java Servlets
PPTX
Markup language classification, designing static and dynamic
PPTX
Javascript event handler
PPTX
Ajax ppt - 32 slides
PPT
Cookies and sessions
PPTX
JSON: The Basics
PPT
Web Application Introduction
PPT
Javascript
PDF
Asynchronous JavaScript Programming with Callbacks & Promises
PPTX
PPTX
Event In JavaScript
Java Script ppt
Basics of JavaScript
Ajax Presentation
JavaScript - Chapter 12 - Document Object Model
javascript objects
What Is Express JS?
Java Server Pages(jsp)
HTTP request and response
Java Servlets
Markup language classification, designing static and dynamic
Javascript event handler
Ajax ppt - 32 slides
Cookies and sessions
JSON: The Basics
Web Application Introduction
Javascript
Asynchronous JavaScript Programming with Callbacks & Promises
Event In JavaScript
Ad

Viewers also liked (20)

PDF
Introduction to ajax
PPT
Ajax Ppt
PDF
Ajax Introduction Presentation
PPT
An Introduction to Ajax Programming
PPTX
Introduction to ajax
PPT
Introduction to ajax
PPTX
Ajax presentation
PPTX
JSON(JavaScript Object Notation)
PDF
Ajax Tutorial
PDF
основы Ajax презентация
PPTX
Fourth Dimension Level 1
PPTX
Overview of AJAX
PPTX
Systemcall
PDF
Jsf Ajax
DOC
Hemanth Kumar - Drupal Architect
PPT
Vb script
PPT
Open Ldap Integration and Configuration with Lifray 6.2
DOC
SYED_PHPMYSQL_CV
Introduction to ajax
Ajax Ppt
Ajax Introduction Presentation
An Introduction to Ajax Programming
Introduction to ajax
Introduction to ajax
Ajax presentation
JSON(JavaScript Object Notation)
Ajax Tutorial
основы Ajax презентация
Fourth Dimension Level 1
Overview of AJAX
Systemcall
Jsf Ajax
Hemanth Kumar - Drupal Architect
Vb script
Open Ldap Integration and Configuration with Lifray 6.2
SYED_PHPMYSQL_CV
Ad

Similar to Ajax Ppt 1 (20)

PPTX
AJAX Introduction [Autosaved].pptx
PDF
Ajax -a_new_approach_to_web_applications
PDF
Ajax
TXT
25250716 seminar-on-ajax text
PDF
Ajax basics
PPTX
PPTX
Intoduction to Ajax
PPTX
PPT
Using Ajax In Domino Web Applications
PPT
Ajax
PDF
Web 2.0 & Ajax Basics
PPT
PPTX
Ajax:From Desktop Applications towards Ajax Web Applications
PPSX
Ajax part i
PPTX
Introduction to ajax
PDF
Ajax Security Dangers
PDF
Ajax
AJAX Introduction [Autosaved].pptx
Ajax -a_new_approach_to_web_applications
Ajax
25250716 seminar-on-ajax text
Ajax basics
Intoduction to Ajax
Using Ajax In Domino Web Applications
Ajax
Web 2.0 & Ajax Basics
Ajax:From Desktop Applications towards Ajax Web Applications
Ajax part i
Introduction to ajax
Ajax Security Dangers
Ajax

Recently uploaded (20)

PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Empathic Computing: Creating Shared Understanding
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Chapter 2 Digital Image Fundamentals.pdf
PPTX
Cloud computing and distributed systems.
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
madgavkar20181017ppt McKinsey Presentation.pdf
PDF
Advanced Soft Computing BINUS July 2025.pdf
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Modernizing your data center with Dell and AMD
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Advanced IT Governance
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
Understanding_Digital_Forensics_Presentation.pptx
NewMind AI Weekly Chronicles - August'25 Week I
Empathic Computing: Creating Shared Understanding
20250228 LYD VKU AI Blended-Learning.pptx
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
MYSQL Presentation for SQL database connectivity
Diabetes mellitus diagnosis method based random forest with bat algorithm
Chapter 2 Digital Image Fundamentals.pdf
Cloud computing and distributed systems.
Dropbox Q2 2025 Financial Results & Investor Presentation
madgavkar20181017ppt McKinsey Presentation.pdf
Advanced Soft Computing BINUS July 2025.pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Modernizing your data center with Dell and AMD
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Advanced IT Governance
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Review of recent advances in non-invasive hemoglobin estimation
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)

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.