• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Ajaxism
 

Ajaxism

on

  • 881 views

A (really) quick tutorial for XML and Ajax (Hands-on session)

A (really) quick tutorial for XML and Ajax (Hands-on session)

Statistics

Views

Total Views
881
Views on SlideShare
878
Embed Views
3

Actions

Likes
0
Downloads
14
Comments
0

1 Embed 3

http://www.linkedin.com 3

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Ajaxism Ajaxism Presentation Transcript

    • AJAXISMA (very) quick tutorial on XML and AJAX
    • Outline XML Alternatives to XML Ajax Ajax – Hands on
    • XML - Definition What do we know already? Stands for “Extensible Markup Language” Eg: <note> <to>Anna University</to> <from>Narendran</from> <heading>Requesting pass mark</heading> <body>I have applied for reval. Pls2pass! </body> </note>
    • XML – Real definition Data representation language. Used to transport and store data (not for displaying) Eg: <note> <to>Anna University</to> <from>Narendran</from> <heading>Requesting pass mark</heading> <body>I have applied for reval. Pls2pass! </body> </note> Represents data – From Narendran to Anna University, Subject is Requesting Pass Mark, with content “I have applied for reval. Pls2pass! “
    • Where do they use XML? Separates data from HTML – XML cannot be used in the place of HTML. Simplifies data sharing – XML is plaintext Simplifies data transport - No compatibility issues. Simplifies platform changes – Eg: Implementation language changes, OS changes, browser changes etc. Make data more available to different clients (handhelds to supercomputers)
    • XMLHttpRequest A class in JavaScript that allows making XML based HTTP calls. xmlhttp=new XMLHttpRequest(); Used to exchange data with the server behind the scenes What can it do for me?  Update a page without reloading.  Send data to a server in the background. Demo – Access an XML file using XMLHttpRequest Demo – Login module using Ajax