SlideShare ist ein Scribd-Unternehmen logo
1 von 23
Downloaden Sie, um offline zu lesen
From Desktop Applications towards Ajax Web Applications
Agenda

    1   A brief History and Introduction of Ajax

    2   Defining Ajax &Technologies incorporated

✓   3   Communication

    4   The insight of Ajax Web Applications.

    5   Features of Ajax

    6   Conclusion
History

 1990’s-Webpages were completely Static.
 1995 – First version of JAVA with Applets.
 1996 – Microsoft introduced iFrame element to HTML.
 1999 – Dynamic Update of News stories and Stock
          quotes on msn.com
 1999 – Creation of XMLHttpActivex control and
         XMLHttpRequest Object.
 2002 – OddPost
History (contd..)

 2004 – Gmail
 2005 – Google Maps
 2005 – Jesse James Garrett’s article:”AJAX – A New
          Approach to Web applications”.
 2006 – W3C released first draft for XHR object.
Defining Ajax




  Ajax is not
        A technology
        A new Programming Language
        A Platform.
Defining Ajax



  Ajax is
     A technique that uses set of open standard
      technologies with support by cross-browser and
      cross-platform compatibility.
     It incorporates several technologies, each flourishing
      in its own right, coming together in powerful new ways.
     These technologies work together in different levels
      each with specific functionality.
Defining Ajax
        The technologies,levels,languages
and protocols used are


  Ajax incorporates
  • 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 Document Object
     Model.
  • Client-side language and parse data: JavaScript.
  • Asynchronous data transfer and communication with
    the server : XMLHttpRequest object (XHR).
Defining Ajax
        The technologies,levels,languages
and protocols used are (cont..)


  Ajax incorporates
  • 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.
Examples
Google Suggest:




Google Maps:
Examples(cont..)




Gmail Registration        Yahoo! Sports
Communication

 Communication usually occurs in two ways as following

       Synchronous(Traditional way)
       Asynchronous(Ajax way)
Synchronous Comm..

• Classical way of connection.
• Publication of information in static
  web pages is good example.
• The communication occurs as
       1. User Http request to server
       2. Server Process request (includes
          data retrieval and processing)
       3. Returns a HTML Page to the
          Client
Synchronous Comm..(contd..)

Traditional Web interaction


                              Client makes http request




                              Server returns a new page
                                                          Web server
Asynchronous Comm..

Ajax Web Interaction


                       Client makes http request for specific information




                               Server returns the requested information
                                                                            Web server




                                        Multiple requests are served
Synchronous Comm..(Contd..)




          Broken user activity and full page reload
Asynchronous Comm..(contd..)




            Ajax way of Communication
Insight of Ajax Web Application


 •   Ajax application in client side is formed of three layers
                    • User Interface (XHTML,DOM,CSS)
                    • Java script Code
                    • Ajax Engine
 •   Object for asynchronous communication is created based on the browser
      used.
           • Internet Explorer (ActiveX Object)
           • Firefox , Safari (XMLHttpRequest Object)
 •   XHR object sends request in asynchronous way, this request is through
     HTTP or HTTPS
Examples(cont..)
Features: Advantages


• Advantages
     • 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.
Features : Disadvantages


• Disadvantages
     •   Same security problems as in classic Web applications.
     •   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.
Who’s Using Ajax?
Conclusions

•   E-mails, calendars, spreadsheets, information managers,
    and word processors, are migrating of the traditional installation
    of programs in local desktop, towards Ajax Web applications.
•   These Ajax applications have the similar interactivity and speed as desktop
    programs. The Ajax Web applications are producing radically changes
    towards a new Internet age. New, better, useful and successful
     applications based on Ajax, are near.
•   It is necessary to understand and have some research how Ajax is working
     inside its new paradigms.
THANK YOU!

Weitere ähnliche Inhalte

Was ist angesagt? (20)

Ajax and PHP
Ajax and PHPAjax and PHP
Ajax and PHP
 
Ajax ppt
Ajax pptAjax ppt
Ajax ppt
 
Ajax Ppt 1
Ajax Ppt 1Ajax Ppt 1
Ajax Ppt 1
 
PHP - Introduction to PHP AJAX
PHP -  Introduction to PHP AJAXPHP -  Introduction to PHP AJAX
PHP - Introduction to PHP AJAX
 
Introduction to ajax
Introduction to ajaxIntroduction to ajax
Introduction to ajax
 
Introduction to ajax
Introduction to ajaxIntroduction to ajax
Introduction to ajax
 
Introduction to ajax
Introduction to ajaxIntroduction to ajax
Introduction to ajax
 
AJAX
AJAXAJAX
AJAX
 
Ajax Ppt
Ajax PptAjax Ppt
Ajax Ppt
 
Ajax ppt - 32 slides
Ajax ppt - 32 slidesAjax ppt - 32 slides
Ajax ppt - 32 slides
 
Advantages and disadvantages of an ajax based client application
Advantages and disadvantages of an ajax based client applicationAdvantages and disadvantages of an ajax based client application
Advantages and disadvantages of an ajax based client application
 
Using Ajax In Domino Web Applications
Using Ajax In Domino Web ApplicationsUsing Ajax In Domino Web Applications
Using Ajax In Domino Web Applications
 
Architecture in Ajax Applications
Architecture in Ajax ApplicationsArchitecture in Ajax Applications
Architecture in Ajax Applications
 
Ajax Introduction Presentation
Ajax   Introduction   PresentationAjax   Introduction   Presentation
Ajax Introduction Presentation
 
Asynchronous JavaScript & XML (AJAX)
Asynchronous JavaScript & XML (AJAX)Asynchronous JavaScript & XML (AJAX)
Asynchronous JavaScript & XML (AJAX)
 
Ajax
AjaxAjax
Ajax
 
Ajax
AjaxAjax
Ajax
 
Ajax
AjaxAjax
Ajax
 
Ajax presentation
Ajax presentationAjax presentation
Ajax presentation
 
Overview of AJAX
Overview of AJAXOverview of AJAX
Overview of AJAX
 

Ähnlich wie Ajax:From Desktop Applications towards Ajax Web Applications

WEB TECHNOLOGY Unit-5.pptx
WEB TECHNOLOGY Unit-5.pptxWEB TECHNOLOGY Unit-5.pptx
WEB TECHNOLOGY Unit-5.pptxkarthiksmart21
 
Asynchronous javascript and xml
Asynchronous javascript and xmlAsynchronous javascript and xml
Asynchronous javascript and xmlBui Kiet
 
Ajax & Reverse Ajax Presenation
Ajax & Reverse Ajax PresenationAjax & Reverse Ajax Presenation
Ajax & Reverse Ajax PresenationRishabh Garg
 
Lessons from the Trenches: Engineering Great AJAX Experiences
Lessons from the Trenches: Engineering Great AJAX ExperiencesLessons from the Trenches: Engineering Great AJAX Experiences
Lessons from the Trenches: Engineering Great AJAX Experiencesgoodfriday
 
Ajax Basics And Framework
Ajax Basics And FrameworkAjax Basics And Framework
Ajax Basics And Frameworkshivas
 
AJAX Introduction [Autosaved].pptx
AJAX Introduction [Autosaved].pptxAJAX Introduction [Autosaved].pptx
AJAX Introduction [Autosaved].pptxJobin86
 
Web Development Technologies
Web Development TechnologiesWeb Development Technologies
Web Development TechnologiesVignesh Prajapati
 
Introduction to Web Architecture
Introduction to Web ArchitectureIntroduction to Web Architecture
Introduction to Web ArchitectureChamnap Chhorn
 
Introductiontowebarchitecture 090922221506-phpapp01
Introductiontowebarchitecture 090922221506-phpapp01Introductiontowebarchitecture 090922221506-phpapp01
Introductiontowebarchitecture 090922221506-phpapp01Maisha Price
 
Ajax introduction
Ajax introductionAjax introduction
Ajax introductionsjmittal
 
Fundamentals of Web for Non-Developers
Fundamentals of Web for Non-DevelopersFundamentals of Web for Non-Developers
Fundamentals of Web for Non-DevelopersLemi Orhan Ergin
 

Ähnlich wie Ajax:From Desktop Applications towards Ajax Web Applications (20)

WEB TECHNOLOGY Unit-5.pptx
WEB TECHNOLOGY Unit-5.pptxWEB TECHNOLOGY Unit-5.pptx
WEB TECHNOLOGY Unit-5.pptx
 
Asynchronous javascript and xml
Asynchronous javascript and xmlAsynchronous javascript and xml
Asynchronous javascript and xml
 
Ajax & Reverse Ajax Presenation
Ajax & Reverse Ajax PresenationAjax & Reverse Ajax Presenation
Ajax & Reverse Ajax Presenation
 
Ajax
AjaxAjax
Ajax
 
Ajax
AjaxAjax
Ajax
 
Lessons
LessonsLessons
Lessons
 
Lessons from the Trenches: Engineering Great AJAX Experiences
Lessons from the Trenches: Engineering Great AJAX ExperiencesLessons from the Trenches: Engineering Great AJAX Experiences
Lessons from the Trenches: Engineering Great AJAX Experiences
 
Signal R 2015
Signal R 2015Signal R 2015
Signal R 2015
 
Ajax
AjaxAjax
Ajax
 
Ajax
Ajax Ajax
Ajax
 
Ajax Basics And Framework
Ajax Basics And FrameworkAjax Basics And Framework
Ajax Basics And Framework
 
AJAX - An introduction
AJAX - An introductionAJAX - An introduction
AJAX - An introduction
 
AJAX Introduction [Autosaved].pptx
AJAX Introduction [Autosaved].pptxAJAX Introduction [Autosaved].pptx
AJAX Introduction [Autosaved].pptx
 
AJAX
AJAXAJAX
AJAX
 
Web Development Technologies
Web Development TechnologiesWeb Development Technologies
Web Development Technologies
 
Introduction to Web Architecture
Introduction to Web ArchitectureIntroduction to Web Architecture
Introduction to Web Architecture
 
Introductiontowebarchitecture 090922221506-phpapp01
Introductiontowebarchitecture 090922221506-phpapp01Introductiontowebarchitecture 090922221506-phpapp01
Introductiontowebarchitecture 090922221506-phpapp01
 
Intoduction to Ajax
Intoduction to AjaxIntoduction to Ajax
Intoduction to Ajax
 
Ajax introduction
Ajax introductionAjax introduction
Ajax introduction
 
Fundamentals of Web for Non-Developers
Fundamentals of Web for Non-DevelopersFundamentals of Web for Non-Developers
Fundamentals of Web for Non-Developers
 

Kürzlich hochgeladen

Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQuiz Club NITW
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...DhatriParmar
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptxmary850239
 
BÀI TẬP BỔ TRỢ 4 KĨ NĂNG TIẾNG ANH LỚP 8 - CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC ...
BÀI TẬP BỔ TRỢ 4 KĨ NĂNG TIẾNG ANH LỚP 8 - CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC ...BÀI TẬP BỔ TRỢ 4 KĨ NĂNG TIẾNG ANH LỚP 8 - CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC ...
BÀI TẬP BỔ TRỢ 4 KĨ NĂNG TIẾNG ANH LỚP 8 - CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC ...Nguyen Thanh Tu Collection
 
CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...
CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...
CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...Nguyen Thanh Tu Collection
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptxDhatriParmar
 
Sulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesSulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesVijayaLaxmi84
 
ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6Vanessa Camilleri
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationdeepaannamalai16
 
Shark introduction Morphology and its behaviour characteristics
Shark introduction Morphology and its behaviour characteristicsShark introduction Morphology and its behaviour characteristics
Shark introduction Morphology and its behaviour characteristicsArubSultan
 
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDhatriParmar
 
Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17Celine George
 
4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptx4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptxmary850239
 
How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17Celine George
 
Employablity presentation and Future Career Plan.pptx
Employablity presentation and Future Career Plan.pptxEmployablity presentation and Future Career Plan.pptx
Employablity presentation and Future Career Plan.pptxryandux83rd
 
CLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptxCLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptxAnupam32727
 
DiskStorage_BasicFileStructuresandHashing.pdf
DiskStorage_BasicFileStructuresandHashing.pdfDiskStorage_BasicFileStructuresandHashing.pdf
DiskStorage_BasicFileStructuresandHashing.pdfChristalin Nelson
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxkarenfajardo43
 

Kürzlich hochgeladen (20)

Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx
 
BÀI TẬP BỔ TRỢ 4 KĨ NĂNG TIẾNG ANH LỚP 8 - CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC ...
BÀI TẬP BỔ TRỢ 4 KĨ NĂNG TIẾNG ANH LỚP 8 - CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC ...BÀI TẬP BỔ TRỢ 4 KĨ NĂNG TIẾNG ANH LỚP 8 - CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC ...
BÀI TẬP BỔ TRỢ 4 KĨ NĂNG TIẾNG ANH LỚP 8 - CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC ...
 
CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...
CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...
CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
 
Sulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesSulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their uses
 
ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentation
 
Shark introduction Morphology and its behaviour characteristics
Shark introduction Morphology and its behaviour characteristicsShark introduction Morphology and its behaviour characteristics
Shark introduction Morphology and its behaviour characteristics
 
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
 
Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17
 
4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptx4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptx
 
prashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Professionprashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Profession
 
How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17
 
Employablity presentation and Future Career Plan.pptx
Employablity presentation and Future Career Plan.pptxEmployablity presentation and Future Career Plan.pptx
Employablity presentation and Future Career Plan.pptx
 
CLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptxCLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptx
 
Plagiarism,forms,understand about plagiarism,avoid plagiarism,key significanc...
Plagiarism,forms,understand about plagiarism,avoid plagiarism,key significanc...Plagiarism,forms,understand about plagiarism,avoid plagiarism,key significanc...
Plagiarism,forms,understand about plagiarism,avoid plagiarism,key significanc...
 
DiskStorage_BasicFileStructuresandHashing.pdf
DiskStorage_BasicFileStructuresandHashing.pdfDiskStorage_BasicFileStructuresandHashing.pdf
DiskStorage_BasicFileStructuresandHashing.pdf
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
 

Ajax:From Desktop Applications towards Ajax Web Applications

  • 1. From Desktop Applications towards Ajax Web Applications
  • 2. Agenda 1 A brief History and Introduction of Ajax 2 Defining Ajax &Technologies incorporated ✓ 3 Communication 4 The insight of Ajax Web Applications. 5 Features of Ajax 6 Conclusion
  • 3. History  1990’s-Webpages were completely Static.  1995 – First version of JAVA with Applets.  1996 – Microsoft introduced iFrame element to HTML.  1999 – Dynamic Update of News stories and Stock quotes on msn.com  1999 – Creation of XMLHttpActivex control and XMLHttpRequest Object.  2002 – OddPost
  • 4. History (contd..)  2004 – Gmail  2005 – Google Maps  2005 – Jesse James Garrett’s article:”AJAX – A New Approach to Web applications”.  2006 – W3C released first draft for XHR object.
  • 5. Defining Ajax  Ajax is not  A technology  A new Programming Language  A Platform.
  • 6. Defining Ajax  Ajax is  A technique that uses set of open standard technologies with support by cross-browser and cross-platform compatibility.  It incorporates several technologies, each flourishing in its own right, coming together in powerful new ways.  These technologies work together in different levels each with specific functionality.
  • 7. Defining Ajax The technologies,levels,languages and protocols used are Ajax incorporates • 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 Document Object Model. • Client-side language and parse data: JavaScript. • Asynchronous data transfer and communication with the server : XMLHttpRequest object (XHR).
  • 8. Defining Ajax The technologies,levels,languages and protocols used are (cont..) Ajax incorporates • 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.
  • 11. Communication  Communication usually occurs in two ways as following  Synchronous(Traditional way)  Asynchronous(Ajax way)
  • 12. Synchronous Comm.. • Classical way of connection. • Publication of information in static web pages is good example. • The communication occurs as 1. User Http request to server 2. Server Process request (includes data retrieval and processing) 3. Returns a HTML Page to the Client
  • 13. Synchronous Comm..(contd..) Traditional Web interaction Client makes http request Server returns a new page Web server
  • 14. Asynchronous Comm.. Ajax Web Interaction Client makes http request for specific information Server returns the requested information Web server Multiple requests are served
  • 15. Synchronous Comm..(Contd..) Broken user activity and full page reload
  • 16. Asynchronous Comm..(contd..) Ajax way of Communication
  • 17. Insight of Ajax Web Application • Ajax application in client side is formed of three layers • User Interface (XHTML,DOM,CSS) • Java script Code • Ajax Engine • Object for asynchronous communication is created based on the browser used. • Internet Explorer (ActiveX Object) • Firefox , Safari (XMLHttpRequest Object) • XHR object sends request in asynchronous way, this request is through HTTP or HTTPS
  • 19. Features: Advantages • Advantages • 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.
  • 20. Features : Disadvantages • Disadvantages • Same security problems as in classic Web applications. • 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.
  • 22. Conclusions • E-mails, calendars, spreadsheets, information managers, and word processors, are migrating of the traditional installation of programs in local desktop, towards Ajax Web applications. • These Ajax applications have the similar interactivity and speed as desktop programs. The Ajax Web applications are producing radically changes towards a new Internet age. New, better, useful and successful applications based on Ajax, are near. • It is necessary to understand and have some research how Ajax is working inside its new paradigms.