Chris Pinski.  History  What is Ajax  Who uses Ajax  Underlying Technologies  SE Aspect  Common Problems  Conclusion.

Slides:



Advertisements
Similar presentations
Dodick Zulaimi Sudirman Lecture 12 Introduction to AJAX Pengantar Teknologi Internet Introduction to Internet Technology.
Advertisements

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.
Basic concept Technologies we have used The Design Problems, challenges & solutions Educational Gain.
Cloud Computing Lecture #7 Introduction to Ajax Jimmy Lin The iSchool University of Maryland Wednesday, October 15, 2008 This work is licensed under a.
Does Ajax suck? CS575 Spring 2007 Chanwit Suebsureekul.
Web Programming Language Dr. Ken Cosh Week 1 (Introduction)
Agenda What is AJAX? What is jQuery? Demonstration/Tutorial Resources Q&A.
Server Side Scripting Norman White. Where do we do processing? Client side – Javascript (embed code in html) – Java applets (send java program to run.
JavaScript & jQuery the missing manual Chapter 11
CSCI 6962: Server-side Design and Programming Introduction to AJAX.
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Describe several.
Lecture 7 Interaction. Topics Implementing data flows An internet solution Transactions in MySQL 4-tier systems – business rule/presentation separation.
JavaScript, Fourth Edition Chapter 12 Updating Web Pages with AJAX.
AJAX Making Dynamic Web pages more Dynamic Jim Hendricks April 25th, 2006.
RESTful applications Norman White. REST Representational state transfer Key concepts – Client Server architecture built on transferring resources between.
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.
Creating Dynamic Web Pages Using PHP and MySQL CS 320.
Lecture 9: AJAX, Javascript review..  AJAX  Synchronous vs. asynchronous browsing.  Refreshing only “part of a page” from a URL.  Frameworks: Prototype,
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
Overview Web Session 3 Matakuliah: Web Database Tahun: 2008.
AJAX Compiled from “AJAX Programming” [Sang Shin] (Asynchronous JavaScript and XML)
JSON and A Comparison of Scripts. JSON: JavaScript Object Notation Based on a subset of the JavaScript Programming Language provides a standardized data.
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.
ASP (Active Server Pages) by Bülent & Resul. Presentation Outline Introduction What is an ASP file? How does ASP work? What can ASP do? Differences Between.
School of Computing and Information Systems CS 371 Web Application Programming AJAX.
CISC 3140 (CIS 20.2) Design & Implementation of Software Application II Instructor : M. Meyer Address: Course Page:
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
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.
©SoftMooreSlide 1 Introduction to HTML: Forms ©SoftMooreSlide 2 Forms Forms provide a simple mechanism for collecting user data and submitting it to.
JQuery and AJAX WEB Technologies : PHP Programming Language.
 Web pages originally static  Page is delivered exactly as stored on server  Same information displayed for all users, from all contexts  Dynamic.
AJAX. Ajax  $.get  $.post  $.getJSON  $.ajax  json and xml  Looping over data results, success and error callbacks.
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.
Web Technology (NCS-504) Prepared By Mr. Abhishek Kesharwani Assistant Professor,UCER Naini,Allahabad.
AJAX CS456 Fall Examples Where is AJAX used? Why do we care?
ASP.Net ICallback Vijayalakshmi G M Senior Trainer Binary Spectrum.
Web Application with AJAX CS 526 advanced interned and Web system Presenters Faris Kateb Mohammed AbdulAziz Omar Alzahrani.
CAESked Computer Aided Engineering Scheduler. Introduction Team Members: Chris Fruin & Jerry Grochowski What CAESked is: Web based class scheduling application.
JQuery, JSON, AJAX. AJAX: Async JavaScript & XML In traditional Web coding, to get information from a database or a file on the server –make an HTML form.
National College of Science & Information Technology.
Web Development. Agenda Web History Network Architecture Types of Server The languages of the web Protocols API 2.
Web Programming Language
Tonga Institute of Higher Education IT 141: Information Systems
JavaScript and Ajax (Ajax Tutorial)
The Client-Server Model
CS 371 Web Application Programming
AJAX and REST.
AJAX.
AJAX.
Session V HTML5 APIs - AJAX & JSON
IS 360 Course Introduction
Web Browser server client 3-Tier Architecture Apache web server PHP
Tonga Institute of Higher Education IT 141: Information Systems
HTML Level II (CyberAdvantage)
HTML5 AJAX & JSON APIs
JavaScript & jQuery AJAX.
Secure Web Programming
Tonga Institute of Higher Education IT 141: Information Systems
MIS JavaScript and API Workshop (Part 3)
Introduction to AJAX and JSON
Chengyu Sun California State University, Los Angeles
DR. JOHN ABRAHAM PROFESSOR UTPA
Introduction to AJAX and JSON
Ajax and JSON Jeremy Shafer Department of MIS Fox School of Business
Ajax and JSON Jeremy Shafer Department of MIS Fox School of Business
Presentation transcript:

Chris Pinski

 History  What is Ajax  Who uses Ajax  Underlying Technologies  SE Aspect  Common Problems  Conclusion

 Static pages  Slow connections speeds  Maintenance nightmare  Old example Old example  New Example New Example

 Not the program or script that is executed  Interface used to connect the browser and the server

 Most server side implementations in perl or C  Perl  PHP  Undescriptive errors  500 Internal Server Error

 IFrame hack  Hide IFrame  GET or POST calls to web service  Extract hidden data and inject into DOM  POST would require hidden form  Unexpected results ▪ “Phantom click” ▪ Clicking sound each request ▪ “throbber of doom” ▪ Throbber animated forever during IFrame load

 Asynchronous JavaScript and XML  Group of technologies  Request formed client side then sent to server  Server returns processed data  Makes dynamic web what it is today

 Facebook Facebook  Google Google  Myself Myself

 From web pages to mobile phones  Main technology for Ajax  Built into all major browsers  Can make Ajax calls as well as update the DOM

 Makes JavaScript easier to use  JavaScript  jQuery

 Building blocks of web pages  Info displayed upon use of tags

 Presents HTML in different forms  Mainly makes page easier for user to interpret

 Not designed to be alternative to HTML  Used to store transported data  Create own tags  Easy to parse  Heavyweight compared to other formats

 Represents objects nicely  Independent of all languages  Objects begin/end with curly braces  Array of objects enclosed in square brackets  Colons follow names  Each name/value pair separated with comma

 Actual request to retrieve data from URL  No new document necessary  An object in JavaScript  Standardized by W3C (World Wide Web Consortium)W3C

 Synchronous  Only recommended when you are doing thousands of requests in a row

 Asynchronous  Callback registered to requests readyState  Request complete and “OK”

 Client side vs. server side  Client side ▪ Higher end machines can do more ▪ Less secure  Server side ▪ Saves user from waiting long to process data ▪ Server load greater ▪ Higher costs ▪ More scalable

 Loading indicator on browser not triggered  Solution: Place loading icon near DOM element that is loading  XSS  Solution:

 Big reason why Internet is what it is today  Up to the minute data

 Brock, A. (n.d.). demosthenes.info – The Client-Server Model. demosthenes.info – blog. Retrieved October 24, 2012, from Client-Server-Model  Empire Burlesque. (n.d.). W3Schools Online Web Tutorials. Retrieved October 24, 2012, from  IFrame Call. (n.d.). Main Page - Ajax Patterns. Retrieved October 23, 2012, from  JSON. (n.d.). JSON. Retrieved October 23, 2012, from  Solutions to 5 Common Ajax Problems | Webdesigner Depot. (n.d.). Web Design Blog - Webdesigner Depot. Retrieved October 25, 2012, from problems/  Synchronous and asynchronous requests. (n.d.). Mozilla Developer Network. Retrieved October 25, 2012, from US/docs/DOM/XMLHttpRequest/Synchronous_and_Asynchronous_Requests  The Power of jQuery with Ajax. (n.d.). Six Revisions - Web Design Articles, News, Tutorials. Retrieved October 21, 2012, from power-of-jquery-with-ajax/  XML Introduction - What is XML?. (n.d.). W3Schools Online Web Tutorials. Retrieved October 24, 2012, from