Ajax Technology for the Web Nic Shulver, FCET, Staffordshire University Introduction What is it? Pros and Cons Why is it important? Traditional Client-Server.

Slides:



Advertisements
Similar presentations
AJAX Development By Gary Mandela December 26,
Advertisements

1 CGICGI Common Gateway Interface Server-side Programming Lecture.
University of Virginia 1 Modern Web Application Development Overview of some newer web applications methods Web 2.0 Ajax fundamentals Ruby on Rails.
AJAX Technologies KAUNAS UNIVERSITY OF TECHNOLOGY MODULE: INFORMATION TECHNOLOGY GROUP: IF - 4/9 GROUP: VENTILIATORIAI
AJAX : Technology Evaluation Bryan Jones Philip Lim Fred Lo Warren Wang.
AJAX Presented by: Dickson Fu Dimas Ariawan Niels Andreassen Ryan Dial Jordan Nielson CMPUT 410 University of Alberta 2006.
DATABASE APPLICATION DEVELOPMENT SAK 3408 The Web and DBMS.
WHAT IS AJAX? Zack Sheppard [zts2101] WHIM April 19, 2011.
Cloud Computing Lecture #7 Introduction to Ajax Jimmy Lin The iSchool University of Maryland Wednesday, October 15, 2008 This work is licensed under a.
It’s always better live. MSDN Events Developing ASP.NET AJAX Controls with Silverlight.
Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials.
Web Programming Language Dr. Ken Cosh Week 1 (Introduction)
WEB DESIGN SOME FOUNDATIONS. SO WHAT IS THIS INTERNET.
Web Design Basic Concepts.
Prof. James A. Landay University of Washington Spring 2008 Web Interface Design, Prototyping, and Implementation Rich Internet Applications: AJAX, Server.
Client/Server Architectures
Ryan Putz. Outline  What is Ajax?  Member Technologies  Methodology  When and When Not To Use  Who’s Using Ajax?  Code Examples.
What is Web Design?  Web design is the creation of a Web page using hypertext or hypermedia to be viewed on the World Wide Web.
Internet Applications Notes for Chapter 19 Digital Domain, 2 ed.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
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.
Philly.NET Hands-on Labs JAVASCRIPT SERIES. July 9: JavaScript Syntax Visual Studio ◦Projects ◦Editors ◦Debugging ◦Script blocks ◦Minification and bundling.
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.
GIS technologies and Web Mapping Services
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.
 2008 Pearson Education, Inc. All rights reserved Ajax-Enabled Rich Internet Applications.
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.
Silverlight Technology. Table of Contents 1.What is Silverlight Technology? 2.Silverlight Overview. 2.1 How it works 2.2 Silverlight development tools.
Weekend MS CS Program Internet and Web Technologies COT 5930 Web Project Development - Ajax Dr. Roy Levow, Associate Chair & Professor
Hypertext Mark-up Language 5 Introduction What is it? Why is it important? How does it fit with PHP? Pros and Cons Traditional HTML Code examples Examples.
Assorted Topics Introduction AJAX What is it? Why is it important? Examples of live applications Cloud Computing What is it? Why.
Random Logic l Forum.NET l AJAX Behind the buzz word Forum.NET ● January 23, 2006.
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.
Developing ASP.NET AJAX Controls with Silverlight Barry Gervin Microsoft Regional Director John Bristowe Developer Advisor, Microsoft.
Enterprise PHP - Introduction Enterprise Client-Server Development with PHP Nic Shulver, FCES, Staffordshire University A fifteen credit module based on.
HTML5 AND THE FUTURE JAVASCRIPT PLATFORM Marcelo Lopez Ruiz Senior Software Design Engineer Microsoft Corporation.
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.
Web Technologies Lecture 8 Server side web. Client Side vs. Server Side Web Client-side code executes on the end-user's computer, usually within a web.
INT222 - Internet Fundamentals Shi, Yue (Sunny) Office: T2095 SENECA COLLEGE.
Ajax VS Flex A comparison based on shopping cart implementation PoHsu Yeh py2157.
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.
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! Ajax Programming Ajax! Ajax Programming. Ajax! Ajax Programming Take a look at a typical desktop application (Spreadsheet app, etc.) The program.
1/7/2016www.infocampus.co.in1. 1/7/2016www.infocampus.co.in2 Web Development training gives you and all-round training in both the design and the development.
INTRODUCING HYBRID APP KAU with MICT PARK IT COMPANIES Supported by KOICA
Open Solutions for a Changing World™ Eddy Kleinjan Copyright 2005, Data Access WordwideNew Techniques for Building Web Applications June 6-9, 2005 Key.
Ajax & Client-side Dynamic Web Gunwoo Park (Undergraduate)
Doktorant ė : Egl ė Mickevi č i ū t ė Software development technologies KAUNO TECHNOLOGIJOS UNIVERSITETAS INFORMACIJOS SISTEM Ų KATEDA Kaunas, 2013.
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.
JavaScript and Ajax (Ajax Tutorial)
Application with Cross-Platform GUI
Asynchronous Java script And XML Technology
By Gary Mandela December 26, 2006
AJAX.
Introduction to AJAX MIS 3502 Jeremy Shafer Department of MIS
Introduction to AJAX MIS 3502 Jeremy Shafer Department of MIS
Silverlight Technology
Presentation transcript:

Ajax Technology for the Web Nic Shulver, FCET, Staffordshire University Introduction What is it? Pros and Cons Why is it important? Traditional Client-Server The Ajax model of Client-Server Code examples Examples of live applications Critical appraisal

Ajax Technology for the Web Nic Shulver, FCET, Staffordshire University What is AJAX? AJAX is an acronym that stands for “Asynchronous JavaScript And XML” AJAX is a collection of technologies Named in 2005 and popularised by Google &c It is based on XML data requests over HTTP and “live updating” of the page through JavaScript programming and CSS The asynchronous client-server communication idea has been around since the 1990's

Ajax Technology for the Web Nic Shulver, FCET, Staffordshire University Pros and Cons Pros: JavaScript communicates asynchronously with the server (non-blocking), giving a better user interface experience Leads to “background” updates of data Enables scripts to update small parts of a page rather than the whole thing Uses the JavaScript XMLHttpRequest object, supported by all major browsers

Ajax Technology for the Web Nic Shulver, FCET, Staffordshire University Pros and Cons Cons: The XMLHttpRequest was initially developed by Microsoft, not standards organisations AJAX is architecturally cross-platform but older MSIE (IE5-IE7) need non-standard coding Although AJAX is now based on open standards, not all browsers implement these standards perfectly Bookmarking and back button problems! Businesses are wary of Javascript coding

Ajax Technology for the Web Nic Shulver, FCET, Staffordshire University Why is AJAX important? It helps the developer minimise the number of new full page downloads Can be faster, slicker and better than normal client-server page turnaround Applications should end up being smaller due to less network traffic Applications should run quicker and be easier to write – no more “stateless” page changes to deal with

Ajax Technology for the Web Nic Shulver, FCET, Staffordshire University Why is AJAX important? “Much of the Web's innovation and evolution during the Web 2.0 era has relied upon and benefited immensely from the capabilities of an Ajax platform” [Wikipedia, AJAX] “An Ajax application eliminates the start-stop- start-stop nature of interaction on the Web by introducing an intermediary — an Ajax engine — between the user and the server” [Adaptive Path, J.J.Garrett]

Ajax Technology for the Web Nic Shulver, FCET, Staffordshire University Traditional Client-Server Client (browser) sends requests to server Server uses whatever resources it needs to reply The reply is a complete new Web page, replacing the old one Browser/user interaction Databases, data sources, other back-end processing Web Server Software HTTP RequestData: HTML, CSS, JS Client (Browser) Server-side system

Ajax Technology for the Web Nic Shulver, FCET, Staffordshire University Ajax model of server interaction Client (browser) sends requests to the Ajax code Ajax uses the XMLHttpRequest to invoke server code Servers reply with data Ajax code manipulates existing web page Browser/user interaction Databases, data sources, other back-end processing Web Server Software HTTP RequestXML or JSON data Client (Browser) Server-side system Ajax intermediary (Javascript code) DHTMLJS Call

Ajax Technology for the Web Nic Shulver, FCET, Staffordshire University Example JavaScript Code // initialises the link nicnax_httpLink = new XMLHttpRequest(); // sets up the named routine to handle server response, when it arrives nicnax_httpLink.onreadystatechange = nicnax_responseHandler; // uses the script name to invoke server activity nicnax_httpLink.open("POST", "test.php", true); nicnax_httpLink.setRequestHeader("Content-Type","application/x-www-form-urlencoded;"); // this is an example parameter to send to the script test.php, in web-form style nicnax_httpLink.send("moviestar=Halle Berry");

Ajax Technology for the Web Nic Shulver, FCET, Staffordshire University Examples of live applications Google Maps is a good example of an AJAX application Similar precursor frameworks have been used in the past – for example, Outlook Web Access GMail is an AJAX application Parts of Flickr are based on AJAX technology Note that Java + XML, Java Applets + XML, Flash + XML and lots of other technologies have many features in common with AJAX

Ajax Technology for the Web Nic Shulver, FCET, Staffordshire University Example application

Ajax Technology for the Web Nic Shulver, FCET, Staffordshire University Example application

Ajax Technology for the Web Nic Shulver, FCET, Staffordshire University Critical appraisal of Ajax Ajax is a Rich Internet Application platform There are many such platforms: – Java – Sun/Oracle – Flash – Macromedia/Adobe, UI design – SVG/SMIL – Scalable Vector Graphics with Synchronized Multimedia Integration Language (open standards) – XUL – XML-based UI markup language/Mozilla – XAML – Windows Presentation Framework

Ajax Technology for the Web Nic Shulver, FCET, Staffordshire University Critical appraisal of Ajax Ajax can be (and often is) used with Flash or SVG – complementary technologies Ajax does not need specific browser extensions, it's built into full-scale modern browsers [but may not be available on all phones] Trends in web application development are towards open standards and vendor neutrality, key for businesses Ajax has cross-browser support, unlike most rivals

Ajax Technology for the Web Nic Shulver, FCET, Staffordshire University Background Reading Ajax programming from Wikipedia Ajax programming from Wikipedia php Ajax: A new approach to Web Applications by Jesse James Garrett, February php Ajax: A new approach to Web Applications by Jesse James Garrett, February First AJAX SDK for Apple's iPhone, August First AJAX SDK for Apple's iPhone, August Frameworks for Ajax development, Wikipedia Frameworks for Ajax development, Wikipedia soa.html Is AJAX Here to Stay? By Jordan Frank October soa.html Is AJAX Here to Stay? By Jordan Frank October 2005

Ajax Technology for the Web Nic Shulver, FCET, Staffordshire University Examples of Ajax in Use &q=Staffordshire+University&sll=0,0&sspn= , &ie=UTF8&ll= , &spn= , &t=h&z=16&iwloc=C Google Maps – Stoke, Staffordshire University Lots of demos with some code – uses Ajax libraries extensively Edit-in-Place with Ajax