Site Map Register Lost Password Alerts Systems Status   Web logs: News Risk Commentary   Login >

RCRT On-Line Presentations

An Introduction to AJAX

RCRT Home > Presentations > AJAX Notes rss feed
 
Page Navigator
 RCRT Home
   About Us
   Our Services
   Our Software
   News & Updates
   Risk Management
   Grid Computing
   About This Site
    Presentations
      AJAX Notes
      RDF Notes
      Stibium Notes
      E-C Notes
   Documents
   On-Line Tools
   Information
   Contact Us
   Downloads
   Your Account
   Site Auditor
 
 
Other Links
Post A Message
 
 
Site Hits: 581931 Pages
From: 407757 Sessions

An Introduction To AJAX - Presentation

Dr Andrew Gray


(Presentation Notes)


To view this presentation on-line: Click Here.

About The Author
Slide 1

» Introduction.


Slide 2

» What Does AJAX Stand For ?

  • Asynchronous
  • Javascript
  • And
  • XML
Slide 3

» What Does All This Mean ?

  • AJAX can be used to build rich and dynamic web interfaces.
  • Using AJAX, web pages can communicate with their host server 'behind the scenes'.
  • Data is returned to the browser asynchronously as an XML text stream.
Slide 4

» XML Is Returned to the Browser.

  • The XML that is returned to the browser can be parsed into a DOM tree.
  • The XML DOM tree can be processed on the browser using javascript.
  • Javascript can then be used to update or modify the browser display, as appropriate.
Slide 5

» A Key Feature of AJAX.

  • This process is driven by client-side scripting.
  • The user does not need to refresh a page or 'post' a form for the display to be updated.
  • Javascript can be used to manipulate the browser's display - changing content, style, positioning etc.
Slide 6

» What Can AJAX be Used For ?

  • Applications can range from small 'message widgets' embedded in a web page, to ...
  • Full-blown web-based application user interface frameworks.
  • Like many powerful new techniques, it is sometimes used inappropriately.
Slide 7

» Do All Browsers Support AJAX ?

  • Most modern browsers now support both asynchronous xml and javascript.
  • There are differences in the asynchronous communication components across browsers.
  • We use javascript 'wrappers' to hide these, and present client apps with a uniform API.
Slide 8

» What Is Needed on the Server-Side ?

  • The server just needs to be able to respond to an http/https request with a stream of xml text.
    - Web servers are good at doing this !
  • The XML is requested and returned to the client browser using standard http/https.
  • A call can include 'arguments' for the business logic that generates the XML response.
Slide 9

» Some Difficulties With AJAX.

  • The design of good asynchronous user interfaces is not straightforward.
  • Working with javascript can be problematic and error prone in complex applications.
  • Inappropriate use of AJAX and/or design/coding errors can lead to heavy network traffic and server loading.
Slide 10

» Security: Secrecy and Authentication.

  • Secrecy. Text that is sent using http can easily be intercepted and read.
    - https transport can be used if required.
  • Authentication. We want to be sure who a remote client really is.
    - Cryptographic techniques based on a 'shared secret' can be used, with protection against 'replay' attacks.
Slide 11

» Where We Use AJAX Techniques.


- The End -
 
© Risk-Capital Research and Technology | Site Map | Legal Info | Accessibility | About This Site