slide1
Download
Skip this Video
Download Presentation
AJAX

Loading in 2 Seconds...

play fullscreen
1 / 21

AJAX - PowerPoint PPT Presentation


  • 101 Views
  • Uploaded on

AJAX. JaxFusion April 2006 David Fekke. Who am I?. David Fekke Lead Software Engineer Data Inteligence Group http://www.fekke.com/blog/ [email protected] Ajax?. What is Ajax?. Just kidding!. Asynchronous JavaScript and XML

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' AJAX' - trista


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
slide1

AJAX

JaxFusion April 2006

David Fekke

who am i
Who am I?
  • David Fekke
  • Lead Software EngineerData Inteligence Group
  • http://www.fekke.com/blog/
  • [email protected]
slide3
Ajax?
  • What is Ajax?
just kidding
Just kidding!
  • Asynchronous JavaScript and XML
  • Makes use XMLHttpRequest object in concert with the dynamic html and XML
whats all the hype about
Whats all the hype about
  • Fully buzzword compliant
  • Web 2.0
  • Build truly dynamic web applications
some examples
Some examples
  • Google Maps
  • Gmail
  • Local.live.com
history
History
  • Nothing new here
  • Remote scripting 1998
  • Major differences between IE4 and Netscape 4, IFRAME vs LAYER
  • Term coined by Adaptive Path
xmlhttp request object
XMLHttp Request Object
  • Syntax different depending on browser
  • Mozilla, Safari, Opera new XMLHttpRequest()
  • Internet Explorer new ActiveXObject("Microsoft.XMLHTTP")
xmlhttp methods and properties
XMLHttp methods and properties
  • XMLHTTPObj.open(“get”,url,true);
  • .setRequestHeader(“name”,”value”);
  • .send();
  • .responseText;
  • .responseXML;
xml methods properties
XML methods & properties
  • getElementsByTagName()[];
  • childNode[1].nodeValue;
  • firstChild.nodeValue;
  • UDF getElementTextNS()
dhtml methods properties
DHTML methods & properties
  • getElementById();
  • innerHTML;
  • createElement();
  • appendChild();
  • createTextNode();
coldfusion ajax frameworks
ColdFusion Ajax frameworks
  • Cfajax
  • AjaxCFC
  • JSMX
  • IBM WSAjax
slide17
Pros
  • Pull back small pieces of data without having to reload the whole page.
  • Can save bandwidth
  • More Interactive
slide18
Cons
  • Back button does not work as expected
  • Security issues
  • Network latency
  • Compatibility, older browsers, JavaScript inactivated
  • Accessibility
compatible browsers
Compatible Browsers
  • IE5+
  • Gecko based browsers, Mozilla, Firefox, Netscape 7.1+ . . .
  • KHTML, Konqueror, Safari 1.2+
  • Opera 8+
non compatible browsers
Non compatible browsers
  • Opera 7 and lower
  • Lynx, text based
  • Visually impaired browsers
resources
Resources
  • http://adaptivepath.com
  • http://www.indiankey.com/cfajax/
  • http://developer.apple.com/internet/webcontent/xmlhttpreq.html
  • http://www-128.ibm.com/developerworks/webservices/library/ws-wsajax/
ad