AJAX MIS 424 MIS 424 Professor Sandvig Professor Sandvig.

Slides:



Advertisements
Similar presentations
Module 1: Creating Responsive Pages with Ajax Creating Partial-Page Updates by Using AJAX Scripting Actions on the Web Client.
Advertisements

ASP.NET Ajax Supplementary Tutorial. Why Use ASP.NET AJAX? - I ASP.NET AJAX enables you to build rich Web applications that have many advantages over.
AJAX Presented by: Dickson Fu Dimas Ariawan Niels Andreassen Ryan Dial Jordan Nielson CMPUT 410 University of Alberta 2006.
ASP.NET Security MacDonald Ch. 18 MIS 424 MIS 424 Professor Sandvig Professor Sandvig.
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.
ASP.Net AJAX. AJAX Asynchronous JavaScript and XML: – JavaScript, Document Object Model, Cascade Style Sheet, XML, server-side script such as.Net, etc.
Navigation Controls MacDonald Ch. 11 MIS 424 MIS 424 Professor Sandvig Professor Sandvig.
AJAX ASP.NET MIS 424 MIS 424 Professor Sandvig Professor Sandvig.
Microsoft ASP.NET AJAX - AJAX as it has to be Presented by : Rana Vijayasimha Nalla CSCE Grad Student.
Does Ajax suck? CS575 Spring 2007 Chanwit Suebsureekul.
AJAX MIS 424 MIS 424 Professor Sandvig Professor Sandvig.
ASP.NET AJAX. Content ASP.NET AJAX Ajax Control Toolkit Muzaffer DOĞAN - Anadolu University2.
Ryan Putz. Outline  What is Ajax?  Member Technologies  Methodology  When and When Not To Use  Who’s Using Ajax?  Code Examples.
JavaScript & jQuery the missing manual Chapter 11
.NET Validation Controls MacDonald Ch. 8 MIS 324 MIS 324 Professor Sandvig Professor Sandvig.
ASP.NET + Ajax Jesper Tørresø ITNET2 F08. Ajax Ajax (Asynchronous JavaScript and XML) A group of interrelated web development techniques used for creating.
ASP.NET AJAX 1. Ordinary web applications vs. AJAX Ordinary web application The full page is updated at each request The page is not available while being.
What’s Next? MIS 314 Professor Sandvig. Outline  What’s Next? ISC tracks ISC tracks E-commerce developer track E-commerce developer track MIS Intermediate.
University of Sunderland CDM105 Session 5 Web Authoring Tools The past and present A history of web authoring tools and an overview of Macromedia Dreamweaver.
Web Server Controls MacDonald Ch. 5 MIS 324 MIS 324 Professor Sandvig Professor Sandvig.
AJAX and Atlas in ASP.NET 2.0 William J. Steele MSDN Developer Evangelist Microsoft Corporation
Maintaining State MacDonald Ch. 9 MIS 324 MIS 324 Professor Sandvig Professor Sandvig.
StockWatch Developers: Nimrod Hagay Hagai Barkan Supervisors: Assaf Solomovitch Viktor Kulikov June 2009.
Joe Hummel, PhD Dept of Mathematics and Computer Science Lake Forest College
Ventsislav Popov Crossroad Ltd.. 1. What is AJAX?  AJAX Concept  ASP.NET AJAX Framework 2. ASP.NET AJAX Server Controls  ScriptManager, UpdatePanel.
Are you getting the benefits from ASP.NET and AJAX? Introduction to the CTC ASP.NET Webforms Generator.
1 Geospatial and Business Intelligence Jean-Sébastien Turcotte Executive VP San Francisco - April 2007 Streamlining web mapping applications.
WebSphere Portal Technical Conference U.S Creating Rich Internet (AJAX) Applications with WebSphere Portlet Factory.
Telerik Software Academy ASP.NET Web Forms Telerik Software Academy ASP.NET Web Forms.
Real-World AJAX Seminar - March 13, 2006 Bringing the Richness and Responsiveness of Desktop Applications to the Web Sahil Malik telerik.
Chapter 4: Working with ASP.NET Server Controls OUTLINE  What ASP.NET Server Controls are  How the ASP.NET run time processes the server controls on.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved Bookstore Application: Middle Tier Introducing Code-Behind Files, Session State.
Web Technology Introduction AJAXAJAX. AJAX Outline  What is AJAX?  Benefits  Real world examples  How it works  Code review  Samples.
the acronym for Asynchronous JavaScript and XML.
Creating Dynamic Webpages
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.
Building AJAX-Enabled Applications with ASP.NET AJAX Framework Peter Ty Developer Evangelist Microsoft Hong Kong
Ajax VS Flex A comparison based on shopping cart implementation PoHsu Yeh py2157.
AJAX Asynchronous JavaScript and XML 1. AJAX Outline What is AJAX? Benefits Real world examples How it works 2.
JQuery and AJAX WEB Technologies : PHP Programming Language.
IT533 Lectures ASP.NET AJAX.
CHAPTER 8 AJAX & JSON WHAT IS AJAX? Ajax lets you…
CMS 2: Advanced Web Editing - Content Presented By: Katie Pagano, Special Projects Manager Steve Pont, Product Architect.
AJAX – Asynchronous JavaScript And XML By Kranthi Kiran Nuthi CIS 764 Kansas State University.
 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?
1 CS 3870/CS 5870: Note 19 AJAX Prog8. Test 2 50 Points Thursday, Nov 12 2:00 PM – 4:00 PM Lab
Submitted by: Moran Mishan. Instructed by: Osnat (Ossi) Mokryn, Dr.
Ajax & Client-side Dynamic Web Gunwoo Park (Undergraduate)
 2009 Pearson Education, Inc. All rights reserved.
ASP.NET AJAX – Basics Svetlin Nakov Telerik Corporation
The Client-Server Model
MIS Professor Sandvig MIS 324 Professor Sandvig
Working with Client-Side Scripting
AJAX.
Asynchronous Java script And XML Technology
AJAX.
© 2016, Mike Murach & Associates, Inc.
IS 360 Course Introduction
MIS Professor Sandvig MIS 424 Professor Sandvig
Lesson 9: GUI HTML Editors and Mobile Web Sites
MIS JavaScript and API Workshop (Part 3)
MIS Professor Sandvig MIS 324 Professor Sandvig
Choosing between Silverlight and AJAX
DR. JOHN ABRAHAM PROFESSOR UTPA
Ajax and JSON Jeremy Shafer Department of MIS Fox School of Business
Ajax and JSON Jeremy Shafer Department of MIS Fox School of Business
MIS Professor Sandvig MIS 424 Professor Sandvig
Presentation transcript:

AJAX MIS 424 MIS 424 Professor Sandvig Professor Sandvig

Today 1.What is AJAX 2.Benefits & Uses 3.Implementation 1. Do-it-yourself 2. Download API 3. ASP.NET Ajax 4.Summary

What is AJAX Acronym Asynchronous JavaScript And XML Asynchronous JavaScript And XML What it is JavaScript in web page retrieves data from server JavaScript in web page retrieves data from server Data format is XML Data format is XML Allows partial page refresh Allows partial page refresh Reduces need to refresh entire page

What is AJAX Data format does not need to be XML Depends upon audience Popular formats: JSON JSON Text Text XML XML CSV CSV Custom Custom

Benefits & Uses Benefits: Richer experience for user Richer experience for user More like using desktop application More like using desktop applicationUses Google Suggest (JSON) Google Suggest (JSON) Google Suggest Google Suggest Kelly Blue Book (Cascading Menus) (JSON) Kelly Blue Book (Cascading Menus) (JSON) Kelly Blue Book Kelly Blue Book REI product image (menu) (JSON) REI product image (menu) (JSON) REI product image REI product image Google Maps (blob) Google Maps (blob) Google Maps Google Maps Amazon (wishlist) (JSON) Amazon (wishlist) (JSON) Amazon MIS 314 bookstore (HTML) MIS 314 bookstore (HTML) MIS 314 bookstore MIS 314 bookstore etc. etc. etc. etc.

Implementation Options: 1.Do-it-yourself Lightweight, flexible Lightweight, flexible write or modify JavaScript or jQuery write or modify JavaScript or jQuery 2.Use API 1. Google, Yahoo, Highslide, … 3.ASP.NET AJAX drag & drop in VS drag & drop in VS convenient convenient adds a lot of code to application adds a lot of code to application

Do it yourself Client Client Include JavaScript or jQuery in web page Requests data from server Server Server Web service provides data Format: XML, JSON, HTML, …

Do it yourself Benefits Flexible Flexible Lightweight LightweightDrawbacks Time consuming Time consuming Some knowledge of JavaScript/jQuery Some knowledge of JavaScript/jQuery

Do it Yourself Examples JavaScriptJquery XML ZipCodesForCity.asmx AjaxZipCode.aspx (same.asmx) AJAXZipCode.aspx HTMLBookstore JSONAjaxZipCode Home grown CarParts.com

Use AJAX API Ajax applications written by others Google AJAX APIs Google AJAX APIs Google AJAX APIs Google AJAX APIsSearchMaps Calendar Facebook APIs Facebook APIs Facebook APIs Facebook APIs

ASP.NET AJAX ASP.NET provides built-in AJAX functionality Two flavors: Built into some Data Controls Built into some Data ControlsLimitations ScriptManager & Update Panel ScriptManager & Update Panel Very flexible

Server Controls Built in AJAX functionality GridView, DetailsView, FormView GridView, DetailsView, FormView Property: AllowSortingAndPagingCallbacks Benefits Easy to implement Easy to implementLimitations: Controls cannot use templates Controls cannot use templates Inefficient: retrieves all data and discards extra Inefficient: retrieves all data and discards extra

UpdatePanel UpdatePanel Wrap any server controls Wrap any server controls Become AJAX enabled Become AJAX enabledBenefits Easy to implement Easy to implement Flexibility Flexibility Mix & match controls Specify triggers

Update Panel Disadvantage JavaScript cannot be tweaked JavaScript cannot be tweaked Fine if it meets your needs Heavy Heavy All controls are repopulated Viewstate also sent/received Example: Cascading Dropdown: Cascading Dropdown: AjaxAspNet.aspx

Summary AJAX Use to improve user experience Partial page refreshes Partial page refreshesOptions: 1. Code you own 2. Use APIs 3. ASP.NET AJAX