Ryan Putz. Outline  What is Ajax?  Member Technologies  Methodology  When and When Not To Use  Who’s Using Ajax?  Code Examples.

Slides:



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

Ajax. Overview of Ajax History In the 1990s, most web sites were based on complete HTML pages; each user action required that the page be re-loaded from.
AJAX Technologies KAUNAS UNIVERSITY OF TECHNOLOGY MODULE: INFORMATION TECHNOLOGY GROUP: IF - 4/9 GROUP: VENTILIATORIAI
Davis Dai. Introduction  Acronym for “asynchronous JavaScript and XML”  Combination of various technologies  Was not developed as an official standard.
AJAX Presented by: Dickson Fu Dimas Ariawan Niels Andreassen Ryan Dial Jordan Nielson CMPUT 410 University of Alberta 2006.
INTRODUCTION The Group WEB BROWSER FOR RELATION Goals.
Ajax Dr Jim Briggs WEBP Ajax1. 2 Ajax Asynchronous JavaScript And XML Method of creating more interactive web applications Moves more of the application.
Does Ajax suck? CS575 Spring 2007 Chanwit Suebsureekul.
INTRODUCTION TO DHTML. TOPICS TO BE DISCUSSED……….  Introduction Introduction  UsesUses  ComponentsComponents  Difference between HTML and DHTMLDifference.
Interactive Web Application with AJAX
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
Lecture 12 – AJAX SFDV3011 – Advanced Web Development Reference: 1.
AJAX By Steven Hernandez Research Analyst NIATEC.
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 Technology for the Web Nic Shulver, FCET, Staffordshire University Introduction What is it? Pros and Cons Why is it important? Traditional Client-Server.
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.
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.
Client side web programming Introduction Jaana Holvikivi, DSc. School of ICT.
The Web Architecture and ASP.NET. Slide 2 Review of the Web (1) It began with HTTP and HTML, which delivers static Web pages to browsers which would render.
Weekend MS CS Program Internet and Web Technologies COT 5930 Web Project Development - Ajax Dr. Roy Levow, Associate Chair & Professor
StockWatch Developers: Nimrod Hagay Hagai Barkan Supervisors: Assaf Solomovitch Viktor Kulikov June 2009.
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.
Fall 2006 Florida Atlantic University Department of Computer Science & Engineering COP 4814 – Web Services Dr. Roy Levow Part 2 – Ajax Fundamentals.
Ajax. –Asynchronous JavaScript and XML –Umbrella term for technologies that often: Use client-side scripting for layout and formatting Use less than full.
Microsoft ASP.NET Beginning Object-Oriented Web Design Bryan Jenks © Integrated Ideas 2005.
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.
Web Development & Design Foundations with XHTML Chapter 11 Key Concepts.
INT222 - Internet Fundamentals Shi, Yue (Sunny) Office: T2095 SENECA COLLEGE.
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.
JavaScript & Introduction to AJAX
AJAX AJAX Asynchronous JavaScript and XML --- MADHAVI
Introduction to AJAX Sue Brandreth. What is Ajax?
INNOV-2: Build a Better Web Interface Using AJAX Chris Morgan Pandora Software Systems
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.
Introduction to AJAX MIS 3502, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 2/4/2016.
1 CS 3870/CS 5870: Note 19 AJAX Prog8. Test 2 50 Points Thursday, Nov 12 2:00 PM – 4:00 PM Lab
NCCUCS 軟體工程概論 Lecture 5: Ajax, Mashups April 29, 2014.
November 21, 2016 Web Technologies in the IUB Libraries’ Web Site AJAX, More than Scrubbing the Tub: Doug Ryner & Tadas Paegle.
Working with Client-Side Scripting
GeneXus 9.0: Web applications at their higher power
Application with Cross-Platform GUI
AJAX.
Asynchronous Java script And XML Technology
AJAX.
Introduction to AJAX MIS 3502 Jeremy Shafer Department of MIS
Beginning Object-Oriented Web Design
Introduction to AJAX MIS 3502 Jeremy Shafer Department of MIS
COP 3813 Intro to Internet Computing
ISC440: Web Programming 2 AJAX
Introduction to AJAX Sue Brandreth.
MIS JavaScript and API Workshop (Part 3)
DR. JOHN ABRAHAM PROFESSOR UTPA
Ajax and JSON Jeremy Shafer Department of MIS Fox School of Business
Client-Server Model: Requesting a Web Page
AJAX Chapters 19, 20.
Ajax and JSON Jeremy Shafer Department of MIS Fox School of Business
MIS Professor Sandvig MIS 424 Professor Sandvig
Presentation transcript:

Ryan Putz

Outline  What is Ajax?  Member Technologies  Methodology  When and When Not To Use  Who’s Using Ajax?  Code Examples

What Is Ajax?  Asynchronous JavaScript And XML  Collection of technologies combined with a particular methodology.  Term first coined by Jesse James Garrett in an article he wrote in 2005

History  1990’s – Web pages were based off of complete HTML pages  1995 – First version of the Java language released which included Java Applets.

History (cont.)  1996 – Microsoft introduces the iFrame element to HTML.  1999 – Dynamic update of news stories and stock quotes on MSN.com  1999 – Creation of the XMLHttp ActiveX control. Later adapted into the XMLHttpRequest JavaScript object.

History(cont.) 2000 – Outlook Web Access 2002 – Oddpost  2004 – Gmail  2005 – Google Maps  2005 – Jesse James Garrett’s article: “Ajax: A New Approach to Web Applications”  2006 – W3C released the first draft specification for the XMLHttpRequest object

Member Technologies  HTML (or XHTML) and CSS  The Document Object Model (DOM)  XML and XLST  The XMLHttpRequest object  JavaScript

Methodology  Overall goal: Make web applications as responsive as desktop applications.  Increase efficiency of data interchange between client and server.  Reduce size of server requests from client(s).

Methodology(cont.)  Added Ajax engine on client side.  Increases responsiveness of application.  Request queuing.  Differentiation of client requests.

Methodology(cont.)

Syntax Elements  Additional HTML elements  ScriptManager  UpdatePanel  Triggers

Syntax Elements(cont.)  Code Behind for HTML  Event Handlers  public partial class _Default : System.Web.UI.Page { protected void Button1_Click(object sender, EventArgs e) { Label1.Text = DateTime.Now.ToLongTimeString(); Label2.Text = DateTime.Now.ToLongTimeString(); } protected void Button2_Click(object sender, EventArgs e) { Label1.Text = DateTime.Now.ToLongTimeString(); } }

When to Use Ajax  Frequently updated controls  Database interaction  Small changes & updates  Forums  Ticker Tape  Progress Bars

When NOT to Use Ajax  Chat Programs.  Ajax is not accessible.  Ajax is not verbose.  No guarantee of efficiency.

What to Avoid  High frequency updates  Tabbed content  Large quantities of data  Unnecessary updates

Who’s Using Ajax?  Google – Maps, Suggest, Mail  Flickr  Amazon  Meebo  Facebook  Twitter

Drawbacks  Pre-HTML5 browsers  Difficult to bookmark and return to particular state of application  Requires XMLHttpRequest and Javascript support.  Ajax-heavy interfaces may impose heavy processing loads on browser

Conlussion  Ajax is a powerful tool that brings many options to the table for web developers.

References Garrett, Jesse. "Ajax: A New Approach to Web Applications." Ideas. Adaptive Path, 18 Feb Web. 12 Mar "Ajax(programming)." Wikipedia, the free encyclopedia. Wikipedia, 26 Jan Web. 01 Mar "Google Code." Google. Google, Web. 01 Mar "Introduction to the UpdatePanel Control." MSDN. Microsoft Corporation, n.d. Web. 20 Apr < Cate, Scott. "Understanding ASP.NET AJAX UpdatePanel Triggers." Microsoft ASP.Net. Microsoft Corporation, March 12, Web. 20 Apr

Questions?