Davis Dai. Introduction Acronym for “asynchronous JavaScript and XML” Combination of various...

16
AJAX Davis Dai
  • date post

    19-Dec-2015
  • Category

    Documents

  • view

    217
  • download

    3

Transcript of Davis Dai. Introduction Acronym for “asynchronous JavaScript and XML” Combination of various...

Page 1: Davis Dai. Introduction  Acronym for “asynchronous JavaScript and XML”  Combination of various technologies  Was not developed as an official standard.

AJAXDavis Dai

Page 2: Davis Dai. Introduction  Acronym for “asynchronous JavaScript and XML”  Combination of various technologies  Was not developed as an official standard.

Introduction

Acronym for “asynchronous JavaScript and XML”

Combination of various technologies Was not developed as an official

standardIt came to be as a way of thinking about the

architecture of web applications utilizing certain technologies

Page 3: Davis Dai. Introduction  Acronym for “asynchronous JavaScript and XML”  Combination of various technologies  Was not developed as an official standard.

History

2003 – Idea first conceived by Greg Aldridge

2005 – Termed AJAX by Jesse James Garrett

2006 – OpenAjax Initiative 2006 – OpenAjax Alliance

Page 4: Davis Dai. Introduction  Acronym for “asynchronous JavaScript and XML”  Combination of various technologies  Was not developed as an official standard.

OpenAjax Alliance

Began as the OpenAjax Initiative Industry group formed to facilitate

developmentMainly addressing issues that require

coordination among AJAX-using organizations

Voluntary contribution

Page 5: Davis Dai. Introduction  Acronym for “asynchronous JavaScript and XML”  Combination of various technologies  Was not developed as an official standard.

Specs – Composition

Presentation – X/HTML and CSS Dynamic display of and interaction with

data – Document Object Model (DOM) Interchange of data – XML Manipulation and display of data – XSLT Asynchronous communication –

XMLHttpRequest Central link – JavaScript

Page 6: Davis Dai. Introduction  Acronym for “asynchronous JavaScript and XML”  Combination of various technologies  Was not developed as an official standard.

Specs – Presentation

X/HTML CSS

Page 7: Davis Dai. Introduction  Acronym for “asynchronous JavaScript and XML”  Combination of various technologies  Was not developed as an official standard.

Specs – DOM Cross-platform Language-

independent Convention for

representing and interacting with objects in X/HTML and XML documents

Page 8: Davis Dai. Introduction  Acronym for “asynchronous JavaScript and XML”  Combination of various technologies  Was not developed as an official standard.

Specs – XML

Page 9: Davis Dai. Introduction  Acronym for “asynchronous JavaScript and XML”  Combination of various technologies  Was not developed as an official standard.

Specs – XSLT Extensible

Stylesheet Language Transformations

Transforms XML into XHTML or other XML documents

Page 10: Davis Dai. Introduction  Acronym for “asynchronous JavaScript and XML”  Combination of various technologies  Was not developed as an official standard.

Specs – XMLHttpRequest

Communicate with server from inside web pageUpdate web page with new data without

reloadRequest and receive new data from server

after page loadCommunicate with server in background

Page 11: Davis Dai. Introduction  Acronym for “asynchronous JavaScript and XML”  Combination of various technologies  Was not developed as an official standard.

Specs – JavaScript

JavaScript Java

Page 12: Davis Dai. Introduction  Acronym for “asynchronous JavaScript and XML”  Combination of various technologies  Was not developed as an official standard.

Dynamic and interactive web (site/app) development.

Mainly used for:

Page 14: Davis Dai. Introduction  Acronym for “asynchronous JavaScript and XML”  Combination of various technologies  Was not developed as an official standard.

Advantages

Interoperability Usability Speed Reduced network/server load

Page 15: Davis Dai. Introduction  Acronym for “asynchronous JavaScript and XML”  Combination of various technologies  Was not developed as an official standard.

Disadvantages

Implementation/ Maintainability Privacy/Security

Page 16: Davis Dai. Introduction  Acronym for “asynchronous JavaScript and XML”  Combination of various technologies  Was not developed as an official standard.

Conclusion

Good Idea Will remain in practice for a long time