SlideShare uma empresa Scribd logo
1 de 23
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!

Mais conteúdo relacionado

Mais procurados (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
 

Semelhante a 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
 

Semelhante a 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 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
 
Lessons
LessonsLessons
Lessons
 
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
 

Último

會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文中 央社
 
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...Denish Jangid
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽中 央社
 
The Liver & Gallbladder (Anatomy & Physiology).pptx
The Liver &  Gallbladder (Anatomy & Physiology).pptxThe Liver &  Gallbladder (Anatomy & Physiology).pptx
The Liver & Gallbladder (Anatomy & Physiology).pptxVishal Singh
 
MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...
MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...
MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...Krashi Coaching
 
Đề tieng anh thpt 2024 danh cho cac ban hoc sinh
Đề tieng anh thpt 2024 danh cho cac ban hoc sinhĐề tieng anh thpt 2024 danh cho cac ban hoc sinh
Đề tieng anh thpt 2024 danh cho cac ban hoc sinhleson0603
 
How to Manage Closest Location in Odoo 17 Inventory
How to Manage Closest Location in Odoo 17 InventoryHow to Manage Closest Location in Odoo 17 Inventory
How to Manage Closest Location in Odoo 17 InventoryCeline George
 
Capitol Tech Univ Doctoral Presentation -May 2024
Capitol Tech Univ Doctoral Presentation -May 2024Capitol Tech Univ Doctoral Presentation -May 2024
Capitol Tech Univ Doctoral Presentation -May 2024CapitolTechU
 
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17Celine George
 
demyelinated disorder: multiple sclerosis.pptx
demyelinated disorder: multiple sclerosis.pptxdemyelinated disorder: multiple sclerosis.pptx
demyelinated disorder: multiple sclerosis.pptxMohamed Rizk Khodair
 
Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment
 Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment
Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatmentsaipooja36
 
Benefits and Challenges of OER by Shweta Babel.pptx
Benefits and Challenges of OER by Shweta Babel.pptxBenefits and Challenges of OER by Shweta Babel.pptx
Benefits and Challenges of OER by Shweta Babel.pptxsbabel
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...Nguyen Thanh Tu Collection
 
An overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismAn overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismDabee Kamal
 
ANTI PARKISON DRUGS.pptx
ANTI         PARKISON          DRUGS.pptxANTI         PARKISON          DRUGS.pptx
ANTI PARKISON DRUGS.pptxPoojaSen20
 
The Ball Poem- John Berryman_20240518_001617_0000.pptx
The Ball Poem- John Berryman_20240518_001617_0000.pptxThe Ball Poem- John Berryman_20240518_001617_0000.pptx
The Ball Poem- John Berryman_20240518_001617_0000.pptxNehaChandwani11
 
UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024Borja Sotomayor
 

Último (20)

會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
 
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
 
Including Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdfIncluding Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdf
 
The Liver & Gallbladder (Anatomy & Physiology).pptx
The Liver &  Gallbladder (Anatomy & Physiology).pptxThe Liver &  Gallbladder (Anatomy & Physiology).pptx
The Liver & Gallbladder (Anatomy & Physiology).pptx
 
MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...
MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...
MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...
 
Đề tieng anh thpt 2024 danh cho cac ban hoc sinh
Đề tieng anh thpt 2024 danh cho cac ban hoc sinhĐề tieng anh thpt 2024 danh cho cac ban hoc sinh
Đề tieng anh thpt 2024 danh cho cac ban hoc sinh
 
How to Manage Closest Location in Odoo 17 Inventory
How to Manage Closest Location in Odoo 17 InventoryHow to Manage Closest Location in Odoo 17 Inventory
How to Manage Closest Location in Odoo 17 Inventory
 
Mattingly "AI and Prompt Design: LLMs with Text Classification and Open Source"
Mattingly "AI and Prompt Design: LLMs with Text Classification and Open Source"Mattingly "AI and Prompt Design: LLMs with Text Classification and Open Source"
Mattingly "AI and Prompt Design: LLMs with Text Classification and Open Source"
 
Capitol Tech Univ Doctoral Presentation -May 2024
Capitol Tech Univ Doctoral Presentation -May 2024Capitol Tech Univ Doctoral Presentation -May 2024
Capitol Tech Univ Doctoral Presentation -May 2024
 
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
 
demyelinated disorder: multiple sclerosis.pptx
demyelinated disorder: multiple sclerosis.pptxdemyelinated disorder: multiple sclerosis.pptx
demyelinated disorder: multiple sclerosis.pptx
 
Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment
 Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment
Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment
 
Benefits and Challenges of OER by Shweta Babel.pptx
Benefits and Challenges of OER by Shweta Babel.pptxBenefits and Challenges of OER by Shweta Babel.pptx
Benefits and Challenges of OER by Shweta Babel.pptx
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...
 
An overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismAn overview of the various scriptures in Hinduism
An overview of the various scriptures in Hinduism
 
ANTI PARKISON DRUGS.pptx
ANTI         PARKISON          DRUGS.pptxANTI         PARKISON          DRUGS.pptx
ANTI PARKISON DRUGS.pptx
 
Word Stress rules esl .pptx
Word Stress rules esl               .pptxWord Stress rules esl               .pptx
Word Stress rules esl .pptx
 
The Ball Poem- John Berryman_20240518_001617_0000.pptx
The Ball Poem- John Berryman_20240518_001617_0000.pptxThe Ball Poem- John Berryman_20240518_001617_0000.pptx
The Ball Poem- John Berryman_20240518_001617_0000.pptx
 
UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024
 

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.