Ruth Betcher Ruth Christie

Slides:



Advertisements
Similar presentations
1/7 ITApplications XML Module Session 8: Introduction to Programming with XML.
Advertisements

WEB 2.0. What we are speaking about… Transformation of WEB, the WEB 2.0 –New generation of websites… –Importance of Open Data… –Importance of Users… –Web.
AJAX Technologies KAUNAS UNIVERSITY OF TECHNOLOGY MODULE: INFORMATION TECHNOLOGY GROUP: IF - 4/9 GROUP: VENTILIATORIAI
ProJAX An AJAX Framework for Progress Tom Bascom President Greenfield Technologies
AJAX : Technology Evaluation Bryan Jones Philip Lim Fred Lo Warren Wang.
6/3/2015eBiquity1 Tutorial on AJAX Anubhav Kale (akale1 AT cs DOT umbc DOT edu)
AJAX Presented by: Dickson Fu Dimas Ariawan Niels Andreassen Ryan Dial Jordan Nielson CMPUT 410 University of Alberta 2006.
Igor Gershovich Connected Testing, Inc.
AJAX & By – Anupama Sharma. Defining Ajax Ajax isn’t a technology. It’s really several technologies, each flourishing in its own right, coming together.
WHAT IS AJAX? Zack Sheppard [zts2101] WHIM April 19, 2011.
Cloud Computing Lecture #7 Introduction to Ajax Jimmy Lin The iSchool University of Maryland Wednesday, October 15, 2008 This work is licensed under a.
Does Ajax suck? CS575 Spring 2007 Chanwit Suebsureekul.
1st Project Introduction to HTML.
Development of mobile applications using PhoneGap and HTML 5
A closer look Dynamic Webpages Jessica Meyerson March 1, 2011.
Prof. James A. Landay University of Washington Spring 2008 Web Interface Design, Prototyping, and Implementation Rich Internet Applications: AJAX, Server.
Ryan Putz. Outline  What is Ajax?  Member Technologies  Methodology  When and When Not To Use  Who’s Using Ajax?  Code Examples.
Introduction to AJAX AJAX Keywords: JavaScript and XML
CS 4720 RESTfulness and AJAX CS 4720 – Web & Mobile Systems.
May 16 – 18, 2007 Copyright 2007, Data Access Worldwide May 16 – 18, 2007 Copyright 2007, Data Access Worldwide Build Great Web Application 'Fast and Easy'
XForms: A case study Rajiv Shivane & Pavitar Singh.
11/13/2007 A synchronous J avaScript A nd X ML Gloria Law Joshua Mahaz.
Lecture 12 – AJAX SFDV3011 – Advanced Web Development Reference: 1.
ASP.NET + Ajax Jesper Tørresø ITNET2 F08. Ajax Ajax (Asynchronous JavaScript and XML) A group of interrelated web development techniques used for creating.
AJAX Without the “J” George Lawniczak. What is Ajax?
AJAX Making Dynamic Web pages more Dynamic Jim Hendricks April 25th, 2006.
AJAX and Atlas in ASP.NET 2.0 William J. Steele MSDN Developer Evangelist Microsoft Corporation
Matrix Mapping Tool Sam Gross Internship at Virtual Technology Corporation.
06/10/2015AJAX 1. 2 Introduction All material from AJAX – what is it? Traditional web pages and operation Examples of AJAX use Creating.
Instructor, Dr. Khalili Bahram Jeevan Kumar Gogineni.
Ajax. –Asynchronous JavaScript and XML –Umbrella term for technologies that often: Use client-side scripting for layout and formatting Use less than full.
Weekend MS CS Program Internet and Web Technologies COT 5930 Web Project Development - Ajax Dr. Roy Levow, Associate Chair & Professor
An Introduction to JavaScript Summarized from Chapter 6 of “Web Programming: Building Internet Applications”, 3 rd Edition.
Web Applications BIS4430 – unit 8. Learning Objectives Explain the uses of web application frameworks Relate the client-side, server-side architecture.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
Random Logic l Forum.NET l AJAX Behind the buzz word Forum.NET ● January 23, 2006.
Ventsislav Popov Crossroad Ltd.. 1. What is AJAX?  AJAX Concept  ASP.NET AJAX Framework 2. ASP.NET AJAX Server Controls  ScriptManager, UpdatePanel.
Building Rich Web Applications with Ajax Linda Dailey Paulson IEEE – Computer, October 05 (Vol.38, No.10) Presented by Jingming Zhang.
Telerik Software Academy ASP.NET Web Forms Telerik Software Academy ASP.NET Web Forms.
Lecture 9: AJAX, Javascript review..  AJAX  Synchronous vs. asynchronous browsing.  Refreshing only “part of a page” from a URL.  Frameworks: Prototype,
AJAX Compiled from “AJAX Programming” [Sang Shin] (Asynchronous JavaScript and XML)
Ajax. –Asynchronous JavaScript and XML –Umbrella term for technologies that often: Use client-side scripting for layout and formatting Use less than full.
AJAX The new hot technology for building Rich Internet Applications? Mikael Hammarlund.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
Asynchronous Javascript And XML AJAX : an introduction UFCEUS-20-2 : Web Programming.
the acronym for Asynchronous JavaScript and XML.
RIA and Web2.0 Development with no Coding Juan Camilo Ruiz Senior Product Manager Development Tools.
Ajax for Dynamic Web Development Gregory McChesney.
Chapter 16: Ajax-Enabled Rich Internet Applications with XML and JSON TP2543 Web Programming Mohammad Faidzul Nasrudin.
INT222 - Internet Fundamentals Shi, Yue (Sunny) Office: T2095 SENECA COLLEGE.
 Web pages originally static  Page is delivered exactly as stored on server  Same information displayed for all users, from all contexts  Dynamic.
Event Handling & AJAX IT210 Web Systems. Question How do we enable users to dynamically interact with a website? Answer: Use mouse and keyboard to trigger.
AJAX and REST. Slide 2 What is AJAX? It’s an acronym for Asynchronous JavaScript and XML Although requests need not be asynchronous It’s not really a.
Dave Salinas. What is XML? XML stands for eXtensible Markup Language Markup language, like HTML HTML was designed to display data, whereas XML was designed.
JavaScript & Introduction to AJAX
AJAX AJAX Asynchronous JavaScript and XML --- MADHAVI
Web Technology (NCS-504) Prepared By Mr. Abhishek Kesharwani Assistant Professor,UCER Naini,Allahabad.
 AJAX technology  Rich User Experience  Characteristics  Real live examples  JavaScript and AJAX  Web application workflow model – synchronous vs.
AJAX CS456 Fall Examples Where is AJAX used? Why do we care?
Ajax! Ajax Programming Ajax! Ajax Programming. Ajax! Ajax Programming Take a look at a typical desktop application (Spreadsheet app, etc.) The program.
Open Solutions for a Changing World™ Eddy Kleinjan Copyright 2005, Data Access WordwideNew Techniques for Building Web Applications June 6-9, 2005 Key.
Doktorant ė : Egl ė Mickevi č i ū t ė Software development technologies KAUNO TECHNOLOGIJOS UNIVERSITETAS INFORMACIJOS SISTEM Ų KATEDA Kaunas, 2013.
November 21, 2016 Web Technologies in the IUB Libraries’ Web Site AJAX, More than Scrubbing the Tub: Doug Ryner & Tadas Paegle.
JavaScript and Ajax (Ajax Tutorial)
AJAX and REST.
AJAX.
Asynchronous Java script And XML Technology
AJAX.
COP 3813 Intro to Internet Computing
AJAX By Prof. B.A.Khivsara
Presentation transcript:

Ruth Betcher Ruth Christie AJAX Ruth Betcher Ruth Christie

Outline What does AJAX stand for? What is AJAX? How it works The Internet standards it’s based on Advantages/disadvantages Uses for AJAX Example code Conclusion

What does AJAX stand for? Asynchronous JavaScript and XML

What is AJAX? Not a language itself A group of related existing technologies compiled together or technique to make web pages feel more responsive Makes interactive web pages by providing a way for the web page to interact with the server AJAX is a framework

How it works

Based on Internet Standards XHTML/HTML and CSS To display the data JavaScript (XMLHttpRequest calls) To exchange data asynchronously with the server XML To tranfer the data DOM (document object model) To navigate the hierarchy of X/HTML elements

X/HTML and CSS Elements are identified in the X/HTML code that will be worked with by the JavaScript These provide the visual layout and structure for how the XML data will be displayed (performed on the client machine) CSS provides the styling

JavaScript/XMLHttpRequest Provides connection between the X/HTML element(s) and how they behave Sends XMLHttpRequests on demand when the user creates events Handles events both from the user and the replies from the server Can parse XML data and map it to data objects needed in the JavaScript Updates the X/HTML elements as needed

XML Provides format for data transfer between the JavaScript and the server

DOM Two DOMs involved Defines the logical structure of the documents One for the elements in the X/HTML One for the elements in the XML file Defines the logical structure of the documents Can be used by any programming language Used for navigating around the tree structure Provides quick access for changing/modifying elements

XMLHttpRequest Object used for fetching/returning data Can be synchronous or asynchronous—AJAX uses it asynchronously Allows the web pages to get more data from the server incrementally and asynchronously while the user is doing other things Examples are Gmail, which continuously asks the server for new mail and Google Maps, which update only the new parts of a map when the user mouses or clicks on a new point

Advantages Interactivity Bandwidth usage Encourages modularization Asynchronous transmission of data back and forth Bandwidth usage Smaller payload Encourages modularization Function, data sources, structure and style Allows non-related technologies to work together (server-side languages, databases, client-side languages, etc.)

Disadvantages Difficult to debug because it is asynchronous Search engines can’t index/optimize Browsers handle XHRs differently—Internet Explorer didn’t have a native one till version 7 (presently on version 8) Back button and bookmarks may not work as expected May experience response time/latency problems if there are many frequent updates

Uses for AJAX Real-time form data validation when server-side information is required Autocompletion (again when server-side info from a database, for example, is needed) Sophisticated user interface controls and effects such as progress bars Getting current data without reloading a full page

Web example Mower County Horticultural Society www.mowercountyhs.org

XML for Events

XML for Albums

HTML CSS

HTML CSS

Conclusion AJAX is a technique for creating fast, dynamic, responsive web pages AJAX applications are browser- and platform-independent

References Schwartz, Aaron. A Brief History of Ajax. http://www.aaronw.com/weblog/ajaxhistory Ajax.org http://www.w3schools.com/Ajax Murray, Greg. Asynchronous JavaScript Technology and XML (Ajax) With the Java Platform. http:/java.sun.com/developer/technicalArticles/J2EE/AJAX