Prof. James A. Landay University of Washington Spring 2008 Web Interface Design, Prototyping, and Implementation Rich Internet Applications: AJAX, Server.

Slides:



Advertisements
Similar presentations
Fawaz Ghali AJAX: Web Programming's Toy.
Advertisements

1/7 ITApplications XML Module Session 8: Introduction to Programming with XML.
Dodick Zulaimi Sudirman Lecture 12 Introduction to AJAX Pengantar Teknologi Internet Introduction to Internet Technology.
AJAX Presented by: Dickson Fu Dimas Ariawan Niels Andreassen Ryan Dial Jordan Nielson CMPUT 410 University of Alberta 2006.
IS 360 Course Introduction. Slide 2 What you will Learn (1) The role of Web servers and clients How to create HTML, XHTML, and HTML 5 pages suitable for.
Ajax Dr Jim Briggs WEBP Ajax1. 2 Ajax Asynchronous JavaScript And XML Method of creating more interactive web applications Moves more of the application.
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.
1 JavaScript & AJAX CS , Spring JavaScript.
A closer look Dynamic Webpages Jessica Meyerson March 1, 2011.
XML on the Web: is it still relevant? O'Neil D. Delpratt.
Chapter 6 DOJO TOOLKITS. Objectives Discuss XML DOM Discuss JSON Discuss Ajax Response in XML, HTML, JSON, and Other Data Type.
JavaScript & jQuery the missing manual Chapter 11
1 Ajax. 2 What’s Ajax? AJAX is a combination of a few technologies that has come together in the past few years AJAX used to be an acronym for Asynchronous.
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'
Ruth Betcher Ruth Christie
Lecture 12 – AJAX SFDV3011 – Advanced Web Development Reference: 1.
An Idiosyncratic History of Web-Page Generation Denise Draper Dev Manager Webdata XML Microsoft.
Interacting with a Web Page using JavaScript Mat Kelly GTAI Presentation January 10, 2014.
Instructor, Dr. Khalili Bahram Jeevan Kumar Gogineni.
The Document Object Model. The Web B.D, A.D. They aren’t web pages, they’re document objects A web browser interprets structured information. A server.
Weekend MS CS Program Internet and Web Technologies COT 5930 Web Project Development - Ajax Dr. Roy Levow, Associate Chair & Professor
Cross Site Integration “mashups” cross site scripting.
Javascript II DOM & JSON. In an effort to create increasingly interactive experiences on the web, programmers wanted access to the functionality of browsers.
1 Geospatial and Business Intelligence Jean-Sébastien Turcotte Executive VP San Francisco - April 2007 Streamlining web mapping applications.
Building Rich Web Applications with Ajax Linda Dailey Paulson IEEE – Computer, October 05 (Vol.38, No.10) Presented by Jingming Zhang.
AJAX The new hot technology for building Rich Internet Applications? Mikael Hammarlund.
Asynchronous Javascript And XML AJAX : an introduction UFCEUS-20-2 : Web Programming.
INNOV-7: Building a Richer UI for the Browser Chris Skeldon Senior Solution Consultant.
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.
AJAX Asynchronous JavaScript and XML 1. AJAX Outline What is AJAX? Benefits Real world examples How it works 2.
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.
Prof. James A. Landay University of Washington Spring 2008 Web Interface Design, Prototyping, and Implementation Rich Internet Applications: AJAX, Server.
AJAX – Asynchronous JavaScript And XML By Kranthi Kiran Nuthi CIS 764 Kansas State University.
JavaScript Introduction inf385t Semantic Web 2/20/2006.
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?
PHP and AJAX. Servers and Clients For many years we tried to move as much as possible to the server. Weak clients, poor bandwidth, browser compatibility..
Introduction to AJAX MIS 3502, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 2/4/2016.
NCCUCS 軟體工程概論 Lecture 5: Ajax, Mashups April 29, 2014.
CSCI 3100 Tutorial 5 JavaScript & Ajax Jichuan Zeng Department of Computer Science and Engineering The Chinese University of Hong.
Ajax & Client-side Dynamic Web Gunwoo Park (Undergraduate)
G046 – Lecture 2A Recognising Web-Technologies Mr C Johnston ICT Teacher
National College of Science & Information Technology.
INNOV-16: Rich User Interface for the Web???? AJAX to the Rescue Ken Wilner VP of Technology Progress Software.
Dive into web development
JQuery Fundamentals Introduction Tutorial Videos
Web Technologies Computing Science Thompson Rivers University
JavaScript and Ajax (Ajax Tutorial)
CSE 154 Lecture 11: AJAx.
AJAX and REST.
AJAX – Asynchronous JavaScript and XML
AJAX.
Asynchronous Java script And XML Technology
AJAX.
Introduction to Internet Programming
CSE 154 Lecture 11: AJAx.
CSE 154 Lecture 22: AJAX.
Giuseppe Attardi Università di Pisa
COP 3813 Intro to Internet Computing
MIS JavaScript and API Workshop (Part 3)
DR. JOHN ABRAHAM PROFESSOR UTPA
Web Technologies Computing Science Thompson Rivers University
Ajax and JSON Jeremy Shafer Department of MIS Fox School of Business
AJAX By Prof. B.A.Khivsara
Presentation transcript:

Prof. James A. Landay University of Washington Spring 2008 Web Interface Design, Prototyping, and Implementation Rich Internet Applications: AJAX, Server Side Frameworks, Web Service APIs Part II May 20, 2008

CSE490L - Spring 2008Web Interface Design, Prototyping, and Implementation2 Outline AJAX continued Web Application Framework Tutorial Project time/questions

How to Create RIAs Embed code in the web page Client can execute code rather than just render HTML Terms/systems you may have seen –AJAX: Asynchronous JavaScript and XML –Ruby on Rails: Ruby –Django: Python –ICEfaces: Java –Google Web Toolkit (GWT): Java Examples of Web Application Frameworks –differ mainly in language & style CSE490L - Spring 2008Web Interface Design, Prototyping, and Implementation3

What is AJAX? AJAX: Asynchronous JavaScript and XML Break this down into: –XHTML w/ embedded JavaScript content & interaction –Cascading Style Sheets (CSS) (see layout & visual style of content –Asynchronous user can still interact w/ page while content loads in background – load in small chunks (div tags your friend) –DOM: document object model (tree of JavaScript objects) modify small pieces to update parts of page quickly –XML data format to communicate data to/from back-end server note JSON: JavaScript Object Notation may be easier to parse Web Frameworks tend to help you a lot with the backend and managing all of this CSE490L - Spring 2008Web Interface Design, Prototyping, and Implementation4

DOM CSE490L - Spring 2008Web Interface Design, Prototyping, and Implementation5 html bodyhead titleh1div

JavaScript example CSE490L - Spring 2008Web Interface Design, Prototyping, and Implementation6 … header stuff here… Click me //more page content could be here… window.onload = pageLoad; // called when page loads; sets up event hndls function pageLoad() { document.getElementById(“ok”).onclick = okayClick; } function okayClick() { document.getElementById(“ok”).style.color = “red”; }

Ajax XMLHttpRequest CSE490L - Spring 2008Web Interface Design, Prototyping, and Implementation7 … header stuff here… var ajax = new XMLHttpRequest(); ajax.onreadystatechange = function(){ if (ajax.readyState == 4) { //complete if (ajax.status == 200) { do something with ajax.ResponseText; } else { code to handle the error; } }; ajax.open(“GET”, url, true); // true means asynchronous ajax.send(null);

Mashups Backend services that you call with XMLHttpRequest are someone elses –e.g., google maps, google search, yahoo, flickr, etc. –See MashupFeed ( CSE490L - Spring 2008Web Interface Design, Prototyping, and Implementation8

Web Application Frameworks Ease the coding of web apps Two interesting short tutorials –Ruby on Rails –TurboGears CSE490L - Spring 2008Web Interface Design, Prototyping, and Implementation9

CSE490L - Spring 2008Web Interface Design, Prototyping, and Implementation10 Further Reading RIAs Professional Rich Internet Applications: AJAX and Beyond by Moore, Budd, and Benson, Wiley, 2007

CSE490L - Spring 2008Web Interface Design, Prototyping, and Implementation11 Next Time Interactive Prototype Presentations Please practice in advance

CSE490L - Spring 2008Web Interface Design, Prototyping, and Implementation12 Project Questions