Does Ajax suck? CS575 Spring 2007 Chanwit Suebsureekul.

Slides:



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

1/7 ITApplications XML Module Session 8: Introduction to Programming with XML.
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
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.
1 Cleaning up the Internet Using AJAX, SOAP and Comet CS526 Mike Gerschefske Justin Gray James Yoo 02 May 2006.
Cloud Computing Lecture #7 Introduction to Ajax Jimmy Lin The iSchool University of Maryland Wednesday, October 15, 2008 This work is licensed under a.
1 JavaScript & AJAX CS , Spring JavaScript.
1st Project Introduction to HTML.
A closer look Dynamic Webpages Jessica Meyerson March 1, 2011.
Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials.
The World Wide Web By: Brittney Hardin, Carlos Smith, and David Wilkins.
Prof. James A. Landay University of Washington Spring 2008 Web Interface Design, Prototyping, and Implementation Rich Internet Applications: AJAX, Server.
Chris Pinski.  History  What is Ajax  Who uses Ajax  Underlying Technologies  SE Aspect  Common Problems  Conclusion.
Introduction to AJAX AJAX Keywords: JavaScript and XML
JavaScript & jQuery the missing manual Chapter 11
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
ASP.NET + Ajax Jesper Tørresø ITNET2 F08. Ajax Ajax (Asynchronous JavaScript and XML) A group of interrelated web development techniques used for creating.
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.
JavaScript, Fourth Edition
StockWatch Developers: Nimrod Hagay Hagai Barkan Supervisors: Assaf Solomovitch Viktor Kulikov June 2009.
Prepared for Search Engine Strategies - Chicago Copyright 2006 Critical Mass, Inc. All Rights Reserved Page 1 Search Engine Strategies Chicago ‘06 AJAX.
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.
Mobile Technology By Devin Satterthwaite November 27, 2007.
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.
Asynchronous Javascript And XML AJAX : an introduction UFCEUS-20-2 : Web Programming.
AJAX 10 Most Common Mistakes. 1. Not giving immediate visual cues for clicking widgets. If something I'm clicking on is triggering Ajax actions, you have.
Web Technology Introduction AJAXAJAX. AJAX Outline  What is AJAX?  Benefits  Real world examples  How it works  Code review  Samples.
School of Computing and Information Systems CS 371 Web Application Programming AJAX.
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.
INT222 - Internet Fundamentals Shi, Yue (Sunny) Office: T2095 SENECA COLLEGE.
 AJAX – Asynchronous JavaScript and XML  Ajax is used to develop fast dynamic web applications  Allows web pages to be updated asynchronously by transferring.
Ajax VS Flex A comparison based on shopping cart implementation PoHsu Yeh py2157.
JQuery and AJAX WEB Technologies : PHP Programming Language.
Web Authoring with Dreamweaver. Unit Objectives  Be able to define keywords: HTML, HTTP (protocol), browser, web server, client/server, tag, attribute,
Paul Jones Web 2.0 New Technologies and new interactions.
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.
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.
AJAX – Asynchronous JavaScript And XML By Kranthi Kiran Nuthi CIS 764 Kansas State University.
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.
Ajax 101 for CF Programmers Randy Brown – Michigan State University
Ajax & Client-side Dynamic Web Gunwoo Park (Undergraduate)
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.
Scripting - Client-side vs. Server-side Scripting
JavaScript and Ajax (Ajax Tutorial)
CS 371 Web Application Programming
Working with Client-Side Scripting
AJAX – Asynchronous JavaScript and XML
AJAX.
Asynchronous Java script And XML Technology
AJAX.
Prepared for Md. Zakir Hossain Lecturer, CSE, DUET Prepared by Miton Chandra Datta
AJAX Robin Burke ECT 360.
COP 3813 Intro to Internet Computing
DR. JOHN ABRAHAM PROFESSOR UTPA
Presentation transcript:

Does Ajax suck? CS575 Spring 2007 Chanwit Suebsureekul

Web History Static content Dynamic content Web application

Why Web Application? Easy application deployment Easy application distribution No software to download No installation No update Can be used from anywhere

Interactivity Issue Simple request-response model Not so responsive Send request, wait for response Send request, wait for response Full page refresh Full page refresh Ajax comes to rescue

What’s Ajax? Asynchronous JavaScript and XML A development technique for creating interactive web applications Makes web pages feel more responsive Exchanges data with the server behind the scenes Partial page update

Ajax A combination of technologies XHTML and CSS – page presentation XHTML and CSS – page presentation DOM – dynamic display and interaction DOM – dynamic display and interaction XML – data interchange and manipulation XML – data interchange and manipulation XMLHttpRequest – asynchronous data retrieval XMLHttpRequest – asynchronous data retrieval A JavaScript object Send HTTP request Parse XML response Response can be handled asynchronously with a callback function JavaScript – binding everything together JavaScript – binding everything together

Web Application Model

Ajax Examples Ajax use: Instant save Instant save Translating services Translating services Smart shopping carts Smart shopping carts Form validation (server side VS client side) Form validation (server side VS client side) Etc. Etc. Web application: Gmail Gmail Google Maps Google Maps Google Docs & Spreadsheets Google Docs & Spreadsheets Etc. Etc.

Why Ajax Sucks (Most of the Time) The fundamental design of the Web is based on having “the page” as the atomic unit of information. The page: the user’s view of the information on the screen the user’s view of the information on the screen the unit of navigation the unit of navigation can be retrieved using the URL can be retrieved using the URL Ajax breaks the concept of “the page”

Why Ajax Sucks (contd) Breaks the BACK button The second-most used navigation feature The second-most used navigation feature Users can always get back to the firm ground Users can always get back to the firm ground Breaking the BACK button is no less than a usability catastrophe Breaking the BACK button is no less than a usability catastrophe Requires Ajax-compatible browsers W3C browser usage statistics W3C browser usage statistics W3C browser usage statistics W3C browser usage statistics Print problems

Why Ajax Sucks (contd) Authoring problems HTML is easy HTML is easy Ajax is hard to learn that many page authors write buggy code Ajax is hard to learn that many page authors write buggy code Search problems Web spiders will only search for HREF, SRC, or some link tags Web spiders will only search for HREF, SRC, or some link tags They won’t follow Ajax JavaScript code They won’t follow Ajax JavaScript code Related to the URL problem Related to the URL problem

Ajax Mistakes Using Ajax for the sake of Ajax Breaking the back button Not giving immediate visual cues for clicking widgets Leaving offline people behind Don’t make me wait for Ajax

Ajax Mistakes (contd) Assuming AJAX development is single platform development Too much code makes the browser slow Not having a plan for those who do not enable or have JavaScript Changing parts of the page unexpectedly

Ajax Mistakes (contd) Not using links I can pass to friends or bookmark Not cascading local changes to other parts of the page Scrolling the page and making me lose my place Blocking Spidering

Why Ajax does NOT suck! Web application VS Website Web application: a program made using web technology Web application: a program made using web technology Website: a bunch of pages linked together Website: a bunch of pages linked together Ajax is intended and most useful for web application, not website Don’t blame the technology used but the person who uses it

XMLHttpRequest Usability Guidelines Do not load entire pages Know the difference between a web application and a website Do not break what the user is focusing on Consider how to handle users that cannot see XMLHttpRequest Do use it to eliminate confirmation pages Do not over-use it