Random Logic l Forum.NET l 20061 AJAX Behind the buzz word Forum.NET ● January 23, 2006.

Slides:



Advertisements
Similar presentations
9. AJAX & RIA. 2 Motto: O! call back yesterday, bid time return. — William Shakespeare.
Advertisements

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.
Does Ajax suck? CS575 Spring 2007 Chanwit Suebsureekul.
1 JavaScript & AJAX CS , Spring JavaScript.
Interactive Web Application with AJAX
Ajax (Asynchronous JavaScript and XML). AJAX  Enable asynchronous communication between a web client and a server.  A client is not blocked when an.
Ajax Basics The XMLHttpRequest Object. Ajax is…. Ajax is not…. Ajax is not a programming language. Ajax is not a programming language. Ajax is a methodology.
JavaScript & jQuery the missing manual Chapter 11
CS 4720 RESTfulness and AJAX CS 4720 – Web & Mobile Systems.
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?
JavaScript, Fourth Edition Chapter 12 Updating Web Pages with AJAX.
AJAX and Java ISYS 350. AJAX Asynchronous JavaScript and XML: – Related technologies: JavaScript, Document Object Model, XML, server-side script such.
Ajax Technology for the Web Nic Shulver, FCET, Staffordshire University Introduction What is it? Pros and Cons Why is it important? Traditional Client-Server.
Intro to Ajax Fred Stluka Jan 25, /25/2006Intro to AjaxFred Stluka2 What is Ajax? "Asynchronous JavaScript and XML" New name for an old technique:
AJAX Making Dynamic Web pages more Dynamic Jim Hendricks April 25th, 2006.
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.
Weekend MS CS Program Internet and Web Technologies COT 5930 Web Project Development - Ajax Dr. Roy Levow, Associate Chair & Professor
Ajax In Action The Journey into Web2.0 Presented by Eric Pascarello.
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.
AJAX (also known as: XMLHTTP, Remote Scripting, XMLHttpRequest, etc.) Matt Warden.
AJAX محمد احمدی نیا 2 Of 27 What is AJAX?  AJAX = Asynchronous JavaScript and XML.  AJAX is not a new programming language, but.
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 ( Asynchronous JavaScript + XML ) Information Science and Knowledge Systems: Semantic Web Spring 2006 / Dr. Don Turnbull Presented by David Kim.
CISC 3140 (CIS 20.2) Design & Implementation of Software Application II Instructor : M. Meyer Address: Course Page:
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.
AJAX AJAX Asynchronous JavaScript and XML --- MADHAVI
Introduction to AJAX Sue Brandreth. What is Ajax?
AJAX – Asynchronous JavaScript And XML By Kranthi Kiran Nuthi CIS 764 Kansas State University.
Internet Technologies #6 REST SOAP AJAX. Agenda  REST  SOAP  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.
AJAX JaxFusion April 2006 David Fekke. Who am I? David Fekke Lead Software Engineer Data Inteligence Group
AJAX CS456 Fall Examples Where is AJAX used? Why do we care?
1 AJAX. AJAX – Whatzit? Asynchronous (content loading)‏ Javascript (logic & control)‏ And XML (request handling)‏
Introduction to AJAX MIS 3502, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 2/4/2016.
A New Way To Web Applications Development Tin Htut Htut Naing Oo Myanmar Information Technology.
CITA 330 Section 10 Web Remoting Techniques. Web Remoting Web Remoting is a term used to categorize the technique of using JavaScript to directly make.
National College of Science & Information Technology.
JavaScript and Ajax (Ajax Tutorial)
CSE 154 Lecture 11: AJAx.
Working with Client-Side Scripting
XMLHttp Object.
AJAX.
Asynchronous Java script And XML Technology
AJAX.
Introduction to AJAX MIS 3502 Jeremy Shafer Department of MIS
CSE 154 Lecture 11: AJAx.
Introduction to AJAX MIS 3502 Jeremy Shafer Department of MIS
Ajax.NET 1st AJAX library for Microsoft .NET
CSE 154 Lecture 22: AJAX.
COP 3813 Intro to Internet Computing
Introduction to AJAX Sue Brandreth.
Chengyu Sun California State University, Los Angeles
Intro to Ajax Fred Stluka Jan 25, 2006.
Presentation transcript:

Random Logic l Forum.NET l AJAX Behind the buzz word Forum.NET ● January 23, 2006

Random Logic l Forum.NET l What is Ajax? - Not a technology but a methodology. - A set of technologies being used together in a particular way.

Random Logic l Forum.NET l AJAX Which stands for  Asynchronous JavaScript and XML which is itself short for...  Asynchronous JavaScript  XHTML  DOM  CSS  XMLHTTPRequest

Random Logic l Forum.NET l AJAX: From another view  standards-based presentation using XHTML and CSS;  dynamic display and interaction using the Document Object Model;  data interchange and manipulation using XML and XSLT;  asynchronous data retrieval using XMLHttpRequest;  and JavaScript binding everything together.

Random Logic l Forum.NET l Is it new? Not really -Hidden frames -Good old JavaScript

Random Logic l Forum.NET l So where did it come from? Adaptive Path >> Jesse James Garrett  Q. Why did you feel the need to give this a name?  A. I needed something shorter than “Asynchronous JavaScript+CSS+DOM+XMLHttpReques t” to use when discussing this approach with clients.

Random Logic l Forum.NET l Traditional Web Application Client CSS HTML HTML GET HTML POST DatabaseServer

Random Logic l Forum.NET l Traditional Web Application

Random Logic l Forum.NET l Breaking the stop start paradigm

Random Logic l Forum.NET l AJAX the new generation

Random Logic l Forum.NET l AJAX Web Application Client HTML / XHTML XML Data CSS XSL DOM XML HTTP DatabaseServer  Controller spans the network  Standards based rich internet applications

Random Logic l Forum.NET l

Random Logic l Forum.NET l Why is it popular?  Google helped popularize it in GMail  Increase Usability of Web Applications  Rich Internet Applications without Flash  Save Bandwidth  Download only data you need  Faster interfaces (sometimes)  Solves User Frustration

Random Logic l Forum.NET l Why is it bad?  Breaks back button support  URL's don't change as state changes  Cross Browser Issues can be a pain  Using Ajax for the sake of Ajax  Can't access domains other than the calling domain  May be disabled (for security reasons) or not available on some browsers  Debugging

Random Logic l Forum.NET l Browser support  Browsers that support Ajax  Apple Safari 1.2 and above  Konqueror  Microsoft Internet Explorer 4.0 and above  Mozilla Firefox 1.0 and above  Netscape 7.1 and above  Opera 7.6 and above

Random Logic l Forum.NET l AJAX in the real world

Random Logic l Forum.NET l Examples of AJAX  GMail  Google Maps Google Maps  Google Suggest Google Suggest  NetVibes NetVibes

Random Logic l Forum.NET l XMLHttpRequest  A JavaScript Class that lets you make asynchronous HTTP requests from JavaScript  Make an HTTP request from a JavaScript event  A call back JavaScript function is invoked at each state of the HTTP request and response  Native XMLHttpRequest support should be in IE7

Random Logic l Forum.NET l XMLHttpRequest Properties  onreadystatechange - call back function for state changes  readyState - the current state of the HTTP call  responseText - the text result of the request  responseXML - DOM xml object from the request  status - HTTP status code of the response  statusText - HTTP status text

Random Logic l Forum.NET l

Random Logic l Forum.NET l A simple example XML file

Random Logic l Forum.NET l Ajax.NET – How it works  Add reference ajax.dll to your project  Modify your web.config to configure IHttpHandler for Ajax.NET requests  Write your methods in C#/VB.NET and add the attribute [AjaxMethod]  Call Class1.Method1(param1, param2, callback, context); from client-side JavaScript

Random Logic l Forum.NET l Demo AJAX.NET

Random Logic l Forum.NET l Ajax.NET – Key Benefits  Methods only get attribute, no need to implement interface or inherit from class [AjaxMethod] public int GetAge(string username){…}  Source-code doesn‘t change if you want to use the method in server-side code DemoMethods dm = new DemoMethods(); int age = dm.GetAge(“michael“);

Random Logic l Forum.NET l Ajax.NET – Key Benefits  Client-side JavaScript will get “real“ objects from Ajax.NET calls using JSON function test_callback(res) { alert(res.value.FirstName + ‘ ‘ + res.value.FamilyName); }  DataSet, DataTable, DataRow, ArrayList, Array, DateTime, TimeSpan, …  Create your own IAjaxObjectConverters

Random Logic l Forum.NET l Ajax.NET – Key Benefits  Cache requests (CacheDurationTimeSpan)  Access SessionState objects using HttpContext.Current.Session[…]  Unicode support without use of XML parser  Use Ajax.NET to retreive “events“ instead of polling

Random Logic l Forum.NET l Conclusion  AJAX enable more interactive, more responsive, and smarter Web applications.  AJAX is not tied to a particular programming language.  Remember AJAX has its cons use it wisely.

Random Logic l Forum.NET l Questions?

Random Logic l Forum.NET l Thank You