Fawaz Ghali AJAX: Web Programming's Toy.

Slides:



Advertisements
Similar presentations
Web 2.0 Programming 1 © Tongji University, Computer Science and Technology. Web Web Programming Technology 2012.
Advertisements

Svetlin Nakov Director Training and Consulting Activities National Academy for Software Development (NASD) ASP.NET 3.5 New Features.
3rd Annual Plex/2E Worldwide Users Conference Page based on Title Slide from Slide Layout palette. Design is cacorp Title text for Title or Divider.
Copyright © 2007 Knowbility, Inc. Accessibility Testing 1 Code Validators – XHTML & CSS Accessibility Validators – Page by Page Listening to Your Pages.
CS193H: High Performance Web Sites Lecture 17: Rule 14 – Make Ajax Cacheable Steve Souders Google
CS193H: High Performance Web Sites Lecture 10: Rule 6 – Put Scripts at the Bottom Steve Souders Google
Behzad Samin 0 An End-to-End Overview of a RESTful Web Service.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 16 Introduction to Ajax.
0 - 0.
Shauvik Roy Choudhary, Alex Orso Georgia Institute of Tech nology.
Google Web Toolkit (GWT) Steve Wargolet. Introduction Desktop client-server applications and their drawbacks. Static-only Web pages Introduction of Web.
1/7 ITApplications XML Module Session 8: Introduction to Programming with XML.
Lecture 11 Server Side Interaction
Getting Familiar with Web Pages 1 2 The Internet Worldwide collection of interconnected computer networks that enables businesses, organizations, governments,
JavaScript and AJAX Jonathan Foss University of Warwick
AJAX Compiled from “AJAX Programming” [Sang Shin]
Developing HTML5 Application using MVVM pattern Pekka Ylenius.
ProJAX An AJAX Framework for Progress Tom Bascom President Greenfield Technologies
1 GWT Google Web Toolkit Build AJAX apps in the Java language
© 2007 IBM Corporation IBM Emerging Technologies Enabling an Accessible Web 2.0 Becky Gibson Web Accessibility Architect.
Google Web Toolkit - Gufran Mohammed. Google Web Toolkit (GWT) is an open source Java software development framework that makes writing AJAX applications.
AJAX Presented by: Dickson Fu Dimas Ariawan Niels Andreassen Ryan Dial Jordan Nielson CMPUT 410 University of Alberta 2006.
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.
1 JavaScript & AJAX CS , Spring JavaScript.
© 2006 by IBM 1 How to use Eclipse to Build Rich Internet Applications With PHP and AJAX Phil Berkland IBM Software Group Emerging.
Chapter 6 DOJO TOOLKITS. Objectives Discuss XML DOM Discuss JSON Discuss Ajax Response in XML, HTML, JSON, and Other Data Type.
Competence Development Introduction to AJAX. What is AJAX? AJAX = Asynchronous JavaScript and XML For creating interactive web applications – Exchanging.
Prof. James A. Landay University of Washington Spring 2008 Web Interface Design, Prototyping, and Implementation Rich Internet Applications: AJAX, Server.
Agenda What is AJAX? What is jQuery? Demonstration/Tutorial Resources Q&A.
JavaScript & jQuery the missing manual Chapter 11
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.
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 Making Dynamic Web pages more Dynamic Jim Hendricks April 25th, 2006.
Matrix Mapping Tool Sam Gross Internship at Virtual Technology Corporation.
06/10/2015AJAX 1. 2 Introduction All material from AJAX – what is it? Traditional web pages and operation Examples of AJAX use Creating.
Weekend MS CS Program Internet and Web Technologies COT 5930 Web Project Development - Ajax Dr. Roy Levow, Associate Chair & Professor
Ventsislav Popov Crossroad Ltd.. 1. What is AJAX?  AJAX Concept  ASP.NET AJAX Framework 2. ASP.NET AJAX Server Controls  ScriptManager, UpdatePanel.
Fall 2006 Florida Atlantic University Department of Computer Science & Engineering COP 4814 – Web Services Dr. Roy Levow Part 2 – Ajax Fundamentals.
AJAX The new hot technology for building Rich Internet Applications? Mikael Hammarlund.
Asynchronous Javascript And XML AJAX : an introduction UFCEUS-20-2 : Web Programming.
Web Technology Introduction AJAXAJAX. AJAX Outline  What is AJAX?  Benefits  Real world examples  How it works  Code review  Samples.
Creating Dynamic Webpages
Ajax for Dynamic Web Development Gregory McChesney.
INT222 - Internet Fundamentals Shi, Yue (Sunny) Office: T2095 SENECA COLLEGE.
Weekend MS CS Program Internet and Web Technologies COT 5930 Web Project Development - Ajax Dr. Roy Levow, Associate Chair & Professor
Ajax and the GWT. Ajax  Asynchronous JavaScript And XML  Technology behind interactive web sites  Provide smoother experience than conventional web.
Google Web Toolkit Dynamic web on Java (Script) Jordan Jordanov 6 March 2008.
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.
JavaScript & Introduction to AJAX
AJAX – Asynchronous JavaScript And XML By Kranthi Kiran Nuthi CIS 764 Kansas State University.
Web Technology (NCS-504) Prepared By Mr. Abhishek Kesharwani Assistant Professor,UCER Naini,Allahabad.
PHP and AJAX. Servers and Clients For many years we tried to move as much as possible to the server. Weak clients, poor bandwidth, browser compatibility..
Overview Web Technologies Computing Science Thompson Rivers University.
Web Technologies Computing Science Thompson Rivers University
JavaScript and Ajax (Ajax Tutorial)
AJAX and REST.
Google Web Toolkit - Gufran Mohammed
AJAX.
AJAX.
Secure Web Programming
Web Design and Development
Chengyu Sun California State University, Los Angeles
AJAX CS-422 Dick Steflik.
Web Technologies Computing Science Thompson Rivers University
Class 4: Building Interactive Web Pages
Presentation transcript:

Fawaz Ghali AJAX: Web Programming's Toy

2 Overview Why AJAX Getting started AJAX Frameworks Demo

3 AJAX Asynchronous JavaScript and XML JavaScript communicates with the server (XMLHttpRequest) Asynchronous data transfer Web applications are smaller, faster and more user-friendly. Usually, you still need server programming language (i.e., PHP)

4 AJAX components 1.HTML/CSS: presenting information 2.Document Object Model (DOM): dynamic interaction with the information 3.XMLHttpRequest object: retrieving data from the server asynchronously 4.JavaScript: wrap AJAX code

5 AJAX use Forms validations Auto-complete / Auto-suggest Master-detail relations (more information to display) User-friendly screens Web 2.0 applications

6 How does AJAX work? Source:

7 AJAX basic example function ajaxUpdater(id,url) { new Ajax.Updater(id,url,{asynchronous:true}); } prototype.js is AJAX library :

8 AJAX basic example cont HTML code:

9 AJAX basic example Cont hello.php: <?php echo "Hello world!"; // you can define any function ?>

10 AJAX Frameworks AJAX frameworks simplify the code and speed the development. Depend on server programming language Component (widgets) use vs. direct use Mashups with Google, Yahoo!, Flickr etc…

11 How to choose framework? Server independent or not? Structural JavaScript? Re-usability of your AJAX code? Documentation (examples, support) Learning curve

12 Google Web Toolkit (GWT) Faster AJAX than you can write by hand Smaller, more compact, cacheable code Support IE, Firefox, Mozilla, Safari Browser's "back" button correctly use Full-featured debugging Unit tests (based on JUnit)

13 GWT Hello

14 GWT public class Hello implements EntryPoint { public void onModuleLoad() { Button b = new Button("Click me", new ClickListener() { public void onClick(Widget sender) { Window.alert("Hello, AJAX"); } }); RootPanel.get().add(b); }

15 GWT Demo:

16 AJAX Examples & Tutorials es/ajax/tutorial.jsphttp://java.sun.com/javaee/javaserverfac es/ajax/tutorial.jsp

17 AJAX best practices Tell the user that the websites uses AJAX (i.e., dynamic update) Provide non-AJAX options Provide alerts for dynamic changes Make navigation easy Update HTML elements with new content rather creating new elements