AJAX Programming Chris Seddon
|
|
- Janis Goodwin
- 6 years ago
- Views:
Transcription
1 AJAX Programming Chris Seddon CRS Enterprises Ltd 1
2 CRS Enterprises Ltd 2
3 What is Ajax? "Asynchronous JavaScript and XML" Originally described in 2005 by Jesse James Garrett of Adaptive Path Essentially distills existing technologies Asynchronous communication between client and server Partial screen updates Replaces traditional click-wait-redraw model Faster responses Remaining page context available during refresh Updates can be triggered on different events No longer necessary to click on link or button CRS Enterprises Ltd 3
4 Key Ajax Technologies AJAX is not itself a language! Uses JavaScript on the client and any Language on the Server Client Technologies used: HTML (or (or XHTML) and CSS Presenting Presenting information information Document Object Model Dynamic Dynamic display display and and interaction interaction with with the the information information XMLHttpRequest object Retrieving Retrieving data data ASYNCHRONOUSLY from from the the web web server. server. Javascript Binding Binding everything everything together together CRS Enterprises Ltd 4
5 Who is using AJAX? Who Isn't? AJAX is now widespread BBC Home page using portals Google Office Applications Creation of thick client look and feel Google Maps Background fetch of map data Flickr Background fetch of photos for display CRS Enterprises Ltd 5
6 Portals Portals are often built using portlet components Parts of other web sites Users can select from available portlets... and customize their layouts. Multiple views of the same Web application Consider del.icio.us: Browser, JSON, REST/XML, JavaScript Widget interfaces all to the same application. You don t have to go to to use it. Simple programming interfaces encourage do it yourself mash-ups JSON, AJAX compatible REST APIs CRS Enterprises Ltd 6
7 The Ajax Web Application Model Without Ajax User Interface HTTP(S) HTML + CSS Web Server Data Store, Backend processing JavaScript With Ajax User Interface HTML + CSS Ajax Engine HTTP(S) XML / text data Web Server Data Store, Backend processing CRS Enterprises Ltd 7
8 The Ajax Web Application Model - 2 Client Server data data data data time Client Browser UI input display Ajax Engine Server data data data data time CRS Enterprises Ltd 8
9 Steps in an Ajax Interaction <script> 2 </script> 1 XMLHttpRequest XMLHttpRequest chris 6 function function callback() callback() {{ // // Update Update HTML HTML DOM DOM // // with with result result }} onkeyup event submit NOT clicked Submit Submit 3 validate?id=chris 5 <response>... </ response > Server-side processing (not (not AJAX AJAX aware) aware) 4 Database CRS Enterprises Ltd 9
10 Introducing XMLHttpRequest XMLHttpRequest JavaScript object encapsulates making HTTP request from browser to server Scripting HTTP with XMLHttpRequest is a three-part process: Creating an an XMLHttpRequest object Submitting your HTTP request to to a web server Synchronously or or asynchronously retrieving the server s response CRS Enterprises Ltd 10
11 XMLHttpRequest Methods Methods open(http-method, url, synch-or-asynch) initialisation, with URL, HTTP method to use and synchronous or asynchronous flag setrequestheader(label, value) before sending send(content) make the call, including text or XML content abort( ) abort current call CRS Enterprises Ltd 11
12 XMLHttpRequest Properties onreadystatechange event handler called whenever readystate changes readystate current status of request status HTTP status responsetext response as text responsexml response as XML statustext status as text CRS Enterprises Ltd 12
13 XMLHttpRequest Security can only be run on a web page stored on a web server e.g. not your C: drive can only fetch files from the same site that the page is on can only fetch from CRS Enterprises Ltd 13
14 The readystate Property For asynchronous operation Value is integer between 0 and 4 0 not not initialised --open() not not yet yet called 1 initialised but but send() not not called 2 send() called but but no no response from from server 3 data data being received from from server 4 request is is complete Use event handler to be notified of changes to value Some browser inconsistencies with state CRS Enterprises Ltd 14
15 Creating the XMLHttpRequest Object Beware browser incompatibility different object name in IE Use initialisation function to hide differences var varreq; req; function initrequest() {{ if if (( window.xmlhttprequest )){{ req req = new new XMLHttpRequest(); }} else else if if (( window.activexobject )){{ isie isie = true; true; req req = new new ActiveXObject("Microsoft.XMLHTTP"); }} }} // // req reqnow available for for use, use, browsers now now support // // the the same same properties and and methods CRS Enterprises Ltd 15
16 Preparing and Sending The Request Set event handler <input type="text" size="20" id="userid" name="id" onchange="checkuserid();" /> Initialise XMLHttpRequest object for call function checkuserid( useridelem ) { initrequest(); // from before req.onreadystatechange = handleresponse; if (!target ) { target = document.getelementbyid("userid" ); } var url = "validate?id=" + encode(target.value); req.open( "GET", url, true ); req.send( null ); // Make the call } CRS Enterprises Ltd 16
17 At The Server (Java Servlets) doget() method checks the userid Sends back appropriate XML with result public public void void doget(httpservletrequest req, req, HttpServletResponse res) res) throws throws IOException, ServletException {{ String String result; result; String StringtargetId = req.getparameter("id"); res.setcontenttype("text/xml"); if if ((targetid!=!= null) null) && &&(isvalidid(targetid))) result result = "<valid>true</valid>"; else else result result = "<valid>false</valid>"; res.getwriter().write(result); }} CRS Enterprises Ltd 17
18 Processing The Result Callback function registered as onreadystatechange event handler function handleresponse () (){{ if if (( req.readystate == == 4 )){{ // // Request completed if if (( req.status == == )){{ // // All All OK OK if if (( req.getresponseheader() == == "text/xml" )){{ // // We We have have XML, XML, retrieve it it as as a DOM DOM document var vardoc = req.responsexml; // // Now Now process the the response }} }} }} }} CRS Enterprises Ltd 18
19 Using The Result To display a message on the validity of the user id called from response handler, using DOM functions to alter document content function setuidmsg(msg){ var var el el = document.getelementbyid("useridmsg"); var var text text = (msg (msg == == "false") "false")? "Invalid ID" ID" ::"Valid "Valid ID"; ID"; }} var var body body = document.createtextnode(text); if if (el.childnodes[0] )){{ el.replacechild(body, el.childnodes[0]); // // replace replace existing }} else else {{ el.appendchild(body); <body> } } <div } <div id="useridmsg"></div> } </body> CRS Enterprises Ltd 19
20 Request Timeouts What if the server does not respond? Synchronous requests block entire browser Asynchronous requests can be timed out Use Window.setTimeout() with XMLHttpRequest.abort() If response arrives before timeout, use Window.clearTimeout() CRS Enterprises Ltd 20
21 Response Encodings - XML For structured data, XML is often used // // Server Server side side code, code, generating response resp.setcontenttype("text/xml"); resp.setheader("cache-control", "no-cache"); resp.getwriter().write("<book> <author>john Doe</author> <title>all About About Ajax</title> </book>"); if if (( req.getresponseheader() == == "text/xml" )){{ // // We We have have XML, XML, retrieve it it as as a DOM DOM document var var doc doc = req.responsexml; // // Now Now pull pull out out data data using using JavaScript DOM DOM functions var var author author = doc.childnodes[0].text }} CRS Enterprises Ltd 21
22 Response Encodings - JSON... JavaScript Object Notation (JSON) easy to convert to JavaScript object use eval or a parser (for more security) // // Server Server side side code, code, generating response resp.setcontenttype("text/javascript"); resp.setheader("cache-control", "no-cache"); resp.getwriter().write("[ "author": "John "John Doe", Doe", "title": "title":"all "All About About Ajax" Ajax" ]]"); "); [[ "author": "John "John Doe", Doe", "title": "title":"all "All About About Ajax" Ajax" ]] CRS Enterprises Ltd 22
23 ... JSON Can make cross-domain requests unlike AJAX which uses XMLHttpRequest yo make cross-domain requests, just dynamically create your <script> tags using the DOM and add a src attribute to point to the desired JSON URL CSS can also be expressed in JSON JavaScript's eval() method to convert the string into a real JavaScript object var data = eval('(' + req.responsetext + ')'); CRS Enterprises Ltd 23
24 JavaScript/AJAX Toolkits CRS Enterprises Ltd 24
25 JavaScript/AJAX/JSON Toolkits jquery GWT (Google Web Toolkit) Dojo YUI (Yahoo! User Interface Library) DWR script.aculo.us Prototype CRS Enterprises Ltd 25
26 Other Tools Firefox Extensions Firebug view the XMLHttpRequests Selenium Record scripts and replay them! JSView See All JavaScript/CSS with a click Modify Headers (what the name implies!) NoScript Turn off or limit scripts Fiddler and other Proxys watch all client-server traffic CRS Enterprises Ltd 26
27 jquery jquery wrapper wraps a set of DOM elements jquery is also an object <html> <html> <head> <script <script type="text/javascript" src="jquery.js"></script> <script <script type="text/javascript"> $(document).ready(function() {{ $("h1").css("color", "blue"); }) }) </script> need to know the CSS </head> selector syntax <body> <h1>test Page</h1> </body> </html> CRS Enterprises Ltd 27
28 GWT (Google Web Toolkit) Open source Java software development framework Develop Web applications as if they were Swing-like GUIs Easier AJAX application development You write your front end in Java using any Java IDE available (e.g. Eclipse, JProfiler, JUnit, IntelliJ ) GWT complier will automatically convert it into browser-complaint JavaScript and HTML Confirm that the Web App. Runs successfully in each browser GWT Architecture GWT Java-to-JavaScript Compiler: Java-to-JavaScript compiler GWT Hosted Web Browser: run and execute your GWT applications JRE emulation library: contains JavaScript implementations of the most widely used classes in the Java standard class library. GWT Web UI class library: set of custom interfaces and classes that let your create web browser "widgets with use of CSS CRS Enterprises Ltd 28
29 Dojo Dojo is an open-source JavaScript toolkit Widely used Large range of functionality Basic layout Fonts, images etc Animations Ajax Supports all major browsers Preferred toolkit in Fidelity CRS Enterprises Ltd 29
30 Dojo - Getting Started Basic capabilities implemented in file dojo.js Dojo provides hook to ensure that document is completely loaded before functionality is applied Hides cross-browser differences <html> <html> <head> <title>dojo Toolkit Toolkit Test Test Page</title> <!-- <!--load the the dojo dojo toolkit toolkit base base --> --> <script <script type="text/javascript" src="js/dojo/dojo.js" djconfig="parseonload:true, isdebug:false"></script> <script <script type="text/javascript"> var var init init = function() {{ alert("page is is ready..."); }; }; dojo.addonload(init); </script> </head> CRS Enterprises Ltd 30
31 YUI (Yahoo! User Interface Library) Collection of JavaScript and CSS resources Makes RIA (Rich Internet Applications) easier to build Open source Yahoo! User Interface Library components Utilities UI Controls CSS resources Yahoo! Design Patterns Library easily implement design patterns CRS Enterprises Ltd 31
32 DWR (Direct Web Remoting) Java open source library facilitates writing AJAX web sites Two components: Java Servlet running on the server to process requests and sends responses back to the browser. JavaScript running in the browser to send requests and can dynamically update the webpage. Dynamically generates JavaScript feels like the execution is happening in the browser, but... server is executing the code DWR converts data back and forth using a callback function CRS Enterprises Ltd 32
Introduction to Ajax. Sang Shin Java Technology Architect Sun Microsystems, Inc.
Introduction to Ajax Sang Shin Java Technology Architect Sun Microsystems, Inc. sang.shin@sun.com www.javapassion.com Agenda 1.What is Rich User Experience? 2.Rich Internet Application (RIA) Technologies
More informationModule7: AJAX. Click, wait, and refresh user interaction. Synchronous request/response communication model. Page-driven: Workflow is based on pages
INTERNET & WEB APPLICATION DEVELOPMENT SWE 444 Fall Semester 2008-2009 (081) Module7: Objectives/Outline Objectives Outline Understand the role of Learn how to use in your web applications Rich User Experience
More informationFall Semester (081) Module7: AJAX
INTERNET & WEB APPLICATION DEVELOPMENT SWE 444 Fall Semester 2008-2009 (081) Module7: AJAX Dr. El-Sayed El-Alfy Computer Science Department King Fahd University of Petroleum and Minerals alfy@kfupm.edu.sa
More informationSession 11. Ajax. Reading & Reference
Session 11 Ajax Reference XMLHttpRequest object Reading & Reference en.wikipedia.org/wiki/xmlhttprequest Specification developer.mozilla.org/en-us/docs/web/api/xmlhttprequest JavaScript (6th Edition) by
More informationAJAX Basics. Welcome to AJAX Basics presentation. My name is Sang Shin. I am Java technology architect and evangelist from Sun Microsystems.
AJAX Basics Sang Shin Java Technology Architect Sun Microsystems, Inc. sang.shin@sun.com www.javapassion.com Welcome to AJAX Basics presentation. My name is Sang Shin. I am Java technology architect and
More information2/6/2012. Rich Internet Applications. What is Ajax? Defining AJAX. Asynchronous JavaScript and XML Term coined in 2005 by Jesse James Garrett
What is Ajax? Asynchronous JavaScript and XML Term coined in 2005 by Jesse James Garrett http://www.adaptivepath.com/ideas/essays/archives /000385.php Ajax isn t really new, and isn t a single technology
More informationIntroduction to Ajax
Introduction to Ajax with Bob Cozzi What is AJAX? Asynchronous JavaScript and XML A J a X Asynchronous data retrieval using the XMLHttpRequest object from JavaScript Data is retrieved from the server as
More informationSession 18. jquery - Ajax. Reference. Tutorials. jquery Methods. Session 18 jquery and Ajax 10/31/ Robert Kelly,
Session 18 jquery - Ajax 1 Tutorials Reference http://learn.jquery.com/ajax/ http://www.w3schools.com/jquery/jquery_ajax_intro.asp jquery Methods http://www.w3schools.com/jquery/jquery_ref_ajax.asp 2 10/31/2018
More informationProgramming for Digital Media. Lecture 7 JavaScript By: A. Mousavi and P. Broomhead SERG, School of Engineering Design, Brunel University, UK
Programming for Digital Media Lecture 7 JavaScript By: A. Mousavi and P. Broomhead SERG, School of Engineering Design, Brunel University, UK 1 Topics Ajax (Asynchronous JavaScript and XML) What it is and
More informationjmaki Overview Sang Shin Java Technology Architect Sun Microsystems, Inc.
jmaki Overview Sang Shin Java Technology Architect Sun Microsystems, Inc. sang.shin@sun.com www.javapassion.com Agenda What is and Why jmaki? jmaki widgets Using jmaki widget - List widget What makes up
More informationAjax Ajax Ajax = Asynchronous JavaScript and XML Using a set of methods built in to JavaScript to transfer data between the browser and a server in the background Reduces the amount of data that must be
More informationAjax Ajax Ajax = Asynchronous JavaScript and XML Using a set of methods built in to JavaScript to transfer data between the browser and a server in the background Reduces the amount of data that must be
More informationIt is highly recommended that you are familiar with HTML and JavaScript before attempting this tutorial.
AJAX About the Tutorial AJAX is a web development technique for creating interactive web applications. If you know JavaScript, HTML, CSS, and XML, then you need to spend just one hour to start with AJAX.
More informationAJAX: Introduction CISC 282 November 27, 2018
AJAX: Introduction CISC 282 November 27, 2018 Synchronous Communication User and server take turns waiting User requests pages while browsing Waits for server to respond Waits for the page to load in the
More informationA synchronous J avascript A nd X ml
A synchronous J avascript A nd X ml The problem AJAX solves: How to put data from the server onto a web page, without loading a new page or reloading the existing page. Ajax is the concept of combining
More information10.1 Overview of Ajax
10.1 Overview of Ajax - History - Possibility began with the nonstandard iframe element, which appeared in IE4 and Netscape 4 - An iframe element could be made invisible and could be used to send asynchronous
More informationSession 11. Calling Servlets from Ajax. Lecture Objectives. Understand servlet response formats
Session 11 Calling Servlets from Ajax 1 Lecture Objectives Understand servlet response formats Text Xml Html JSON Understand how to extract data from the XMLHttpRequest object Understand the cross domain
More informationDeveloping Ajax Web Apps with GWT. Session I
Developing Ajax Web Apps with GWT Session I Contents Introduction Traditional Web RIAs Emergence of Ajax Ajax ( GWT ) Google Web Toolkit Installing and Setting up GWT in Eclipse The Project Structure Running
More informationPortlets and Ajax: Building More Dynamic Web Apps
Portlets and Ajax: Building More Dynamic Web Apps Subbu Allamaraju Senior Staff Engineer BEA Systems, Inc. TS-4003 2007 JavaOne SM Conference Session TS-4003 Goals Goals of the of Session the Session Learn
More informationCITS1231 Web Technologies. Ajax and Web 2.0 Turning clunky website into interactive mashups
CITS1231 Web Technologies Ajax and Web 2.0 Turning clunky website into interactive mashups What is Ajax? Shorthand for Asynchronous JavaScript and XML. Coined by Jesse James Garrett of Adaptive Path. Helps
More informationWeb Programming Step by Step
Web Programming Step by Step Lecture 19 Ajax Reading: 10.1-10.2 Except where otherwise noted, the contents of this presentation are Copyright 2009 Marty Stepp and Jessica Miller. Synchronous web communication
More informationXMLHttpRequest. CS144: Web Applications
XMLHttpRequest http://oak.cs.ucla.edu/cs144/examples/google-suggest.html Q: What is going on behind the scene? What events does it monitor? What does it do when
More informationTIME SCHEDULE MODULE TOPICS PERIODS. HTML Document Object Model (DOM) and javascript Object Notation (JSON)
COURSE TITLE : ADVANCED WEB DESIGN COURSE CODE : 5262 COURSE CATEGORY : A PERIODS/WEEK : 4 PERIODS/SEMESTER : 52 CREDITS : 4 TIME SCHEDULE MODULE TOPICS PERIODS 1 HTML Document Object Model (DOM) and javascript
More informationAsynchronous JavaScript + XML (Ajax)
Asynchronous JavaScript + XML (Ajax) CSE 190 M (Web Programming), Spring 2008 University of Washington References: w3schools, Wikipedia Except where otherwise noted, the contents of this presentation are
More informationAn Introduction to AJAX. By : I. Moamin Abughazaleh
An Introduction to AJAX By : I. Moamin Abughazaleh How HTTP works? Page 2 / 25 Classical HTTP Process Page 3 / 25 1. The visitor requests a page 2. The server send the entire HTML, CSS and Javascript code
More informationAJAX ASYNCHRONOUS JAVASCRIPT AND XML. Laura Farinetti - DAUIN
AJAX ASYNCHRONOUS JAVASCRIPT AND XML Laura Farinetti - DAUIN Rich-client asynchronous transactions In 2005, Jesse James Garrett wrote an online article titled Ajax: A New Approach to Web Applications (www.adaptivepath.com/ideas/essays/archives/000
More informationCSC309: Introduction to Web Programming. Lecture 11
CSC309: Introduction to Web Programming Lecture 11 Wael Aboulsaadat Servlets+JSP Model 2 Architecture 2 Servlets+JSP Model 2 Architecture = MVC Design Pattern 3 Servlets+JSP Model 2 Architecture Controller
More informationWeb Programming. Lecture 11. University of Toronto
CSC309: Introduction to Web Programming Lecture 11 Wael Aboulsaadat University of Toronto Servlets+JSP Model 2 Architecture University of Toronto 2 Servlets+JSP Model 2 Architecture = MVC Design Pattern
More informationAjax or AJAX? The acronym AJAX has changed to the term Ajax, which does not represent specific technologies
Introduc)on to Ajax Ajax Theory What is Ajax Ajax is a group of interrelated technologies used to create interac5ve web applica5ons or rich Internet applica5ons. With Ajax, web applica5ons can retrieve
More information,
Weekdays:- 1½ hrs / 3 days Fastrack:- 1½hrs / Day [Class Room and Online] ISO 9001:2015 CERTIFIED ADMEC Multimedia Institute www.admecindia.co.in 9911782350, 9811818122 Welcome to one of the highly professional
More informationCredits: Some of the slides are based on material adapted from
1 The Web, revisited WEB 2.0 marco.ronchetti@unitn.it Credits: Some of the slides are based on material adapted from www.telerik.com/documents/telerik_and_ajax.pdf 2 The old web: 1994 HTML pages (hyperlinks)
More informationContents. Demos folder: Demos\14-Ajax. 1. Overview of Ajax. 2. Using Ajax directly. 3. jquery and Ajax. 4. Consuming RESTful services
Ajax Contents 1. Overview of Ajax 2. Using Ajax directly 3. jquery and Ajax 4. Consuming RESTful services Demos folder: Demos\14-Ajax 2 1. Overview of Ajax What is Ajax? Traditional Web applications Ajax
More informationAJAX: The Basics CISC 282 March 25, 2014
AJAX: The Basics CISC 282 March 25, 2014 Synchronous Communication User and server take turns waiting User requests pages while browsing Waits for server to respond Waits for the page to load in the browser
More informationIntroduction to AJAX Bringing Interactivity & Intuitiveness Into Web Applications. By : Bhanwar Gupta SD-Team-Member Jsoft Solutions
Introduction to AJAX Bringing Interactivity & Intuitiveness Into Web Applications By : Bhanwar Gupta SD-Team-Member Jsoft Solutions Applications today You have two basic choices: Desktop applications and
More informationModule 5 JavaScript, AJAX, and jquery. Module 5. Module 5 Contains 2 components
Module 5 JavaScript, AJAX, and jquery Module 5 Contains 2 components Both the Individual and Group portion are due on Monday October 30 th Start early on this module One of the most time consuming modules
More informationA.A. 2008/09. What is Ajax?
Internet t Software Technologies AJAX IMCNE A.A. 2008/09 Gabriele Cecchetti What is Ajax? AJAX stands for Asynchronous JavaScript And XML. AJAX is a type of programming made popular in 2005 by Google (with
More informationAJAX. Introduction. AJAX: Asynchronous JavaScript and XML
AJAX 1 2 Introduction AJAX: Asynchronous JavaScript and XML Popular in 2005 by Google Create interactive web applications Exchange small amounts of data with the server behind the scenes No need to reload
More informationJavaServer Faces Technology, AJAX, and Portlets: It s Easy if You Know How!
TS-6824 JavaServer Faces Technology, AJAX, and Portlets: It s Easy if You Know How! Brendan Murray Software Architect IBM http://www.ibm.com 2007 JavaOne SM Conference Session TS-6824 Goal Why am I here?
More informationAJAX: The Basics CISC 282 November 22, 2017
AJAX: The Basics CISC 282 November 22, 2017 Synchronous Communication User and server take turns waiting User requests pages while browsing Waits for server to respond Waits for the page to load in the
More informationAjax. Ronald J. Glotzbach
Ajax Ronald J. Glotzbach What is AJAX? Asynchronous JavaScript and XML Ajax is not a technology Ajax mixes well known programming techniques in an uncommon way Enables web builders to create more appealing
More informationIntroduction Haim Michael. All Rights Reserved.
Architecture Introduction Applications developed using Vaadin include a web application servlet based part, user interface components, themes that dictate the look & feel and a data model that enables
More informationAJAX: Rich Internet Applications
AJAX: Rich Internet Applications Web Programming Uta Priss ZELL, Ostfalia University 2013 Web Programming AJAX Slide 1/27 Outline Rich Internet Applications AJAX AJAX example Conclusion More AJAX Search
More informationTerm Paper. P r o f. D r. E d u a r d H e i n d l. H o c h s c h u l e F u r t w a n g e n U n i v e r s i t y. P r e s e n t e d T o :
Version: 0.1 Date: 02.05.2009 Author(s): Doddy Satyasree AJAX Person responsable: Doddy Satyasree Language: English Term Paper History Version Status Date 0.1 Draft Version created 02.05.2009 0.2 Final
More informationUser Interaction: jquery
User Interaction: jquery Assoc. Professor Donald J. Patterson INF 133 Fall 2012 1 jquery A JavaScript Library Cross-browser Free (beer & speech) It supports manipulating HTML elements (DOM) animations
More informationAJAX. Lab. de Bases de Dados e Aplicações Web MIEIC, FEUP 2010/11. Sérgio Nunes
AJAX Lab. de Bases de Dados e Aplicações Web MIEIC, FEUP 2010/11 Sérgio Nunes Server calls from web pages using JavaScript call HTTP data Motivation The traditional request-response cycle in web applications
More informationTooling for Ajax-Based Development. Craig R. McClanahan Senior Staff Engineer Sun Microsystems, Inc.
Tooling for Ajax-Based Development Craig R. McClanahan Senior Staff Engineer Sun Microsystems, Inc. 1 Agenda In The Beginning Frameworks Tooling Architectural Approaches Resources 2 In The Beginning 3
More informationAjax in Oracle JDeveloper
Ajax in Oracle JDeveloper Bearbeitet von Deepak Vohra 1. Auflage 2008. Taschenbuch. xiv, 224 S. Paperback ISBN 978 3 540 77595 9 Format (B x L): 15,5 x 23,5 cm Gewicht: 373 g Weitere Fachgebiete > EDV,
More informationEtanova Enterprise Solutions
Etanova Enterprise Solutions Front End Development» 2018-09-23 http://www.etanova.com/technologies/front-end-development Contents HTML 5... 6 Rich Internet Applications... 6 Web Browser Hardware Acceleration...
More informationModule 5 JavaScript, AJAX, and jquery. Module 5. Module 5 Contains an Individual and Group component
Module 5 JavaScript, AJAX, and jquery Module 5 Contains an Individual and Group component Both are due on Wednesday October 24 th Start early on this module One of the most time consuming modules in the
More informationCourse Details. Skills Gained. Who Can Benefit. Prerequisites. View Online URL:
Specialized - Mastering jquery Code: Lengt h: URL: TT4665 4 days View Online Mastering jquery provides an introduction to and experience working with the JavaScript programming language in the environment
More informationWeb application Architecture
1 / 37 AJAX Prof. Cesare Pautasso http://www.pautasso.info cesare.pautasso@usi.ch @pautasso Web application Architecture 5 / 37 Client Server Backend Response Database File System 2013 Cesare Pautasso
More informationAJAX(Asynchronous Javascript + XML) Creating client-side dynamic Web pages
AJAX(Asynchronous Javascript + XML) Creating client-side dynamic Web pages AJAX = Asynchronous JavaScript and XML.AJAX is not a new programming language, but a new way to use existing standards. AJAX is
More informationCopyright Descriptor Systems, Course materials may not be reproduced in whole or in part without prior written consent of Joel Barnum
Ajax The notion of asynchronous request processing using the XMLHttpRequest object has been around for several years, but the term "AJAX" was coined by Jesse James Garrett of Adaptive Path. You can read
More information1 Introduction. 2 Web Architecture
1 Introduction This document serves two purposes. The first section provides a high level overview of how the different pieces of technology in web applications relate to each other, and how they relate
More informationCreate-A-Page Design Documentation
Create-A-Page Design Documentation Group 9 C r e a t e - A - P a g e This document contains a description of all development tools utilized by Create-A-Page, as well as sequence diagrams, the entity-relationship
More informationAjax- XMLHttpResponse. Returns a value such as ArrayBuffer, Blob, Document, JavaScript object, or a DOMString, based on the value of
Ajax- XMLHttpResponse XMLHttpResponse - A Read only field Returns a value such as ArrayBuffer, Blob, Document, JavaScript object, or a DOMString, based on the value of XMLHttpRequest.responseType. This
More information! The final is at 10:30 am, Sat 6/4, in this room. ! Open book, open notes. ! No electronic devices. ! No food. ! Assignment 7 due 10pm tomorrow
Announcements ECS 89 6/1! The final is at 10:30 am, Sat 6/4, in this room! Open book, open notes! No electronic devices! No food! Assignment 7 due 10pm tomorrow! No late Assignment 7 s! Fill out course
More informationCS 5142 Scripting Languages
CS 5142 Scripting Languages 10/16/2015 Web Applications Databases 1 Outline Stateful Web Applications AJAX 2 Concepts Scope in Server-Side Scripts Request $_GET, $_POST global $g; Session $_SESSION Application
More informationAbstract. 1. Introduction. 2. AJAX overview
Asynchronous JavaScript Technology and XML (AJAX) Chrisina Draganova Department of Computing, Communication Technology and Mathematics London Metropolitan University 100 Minories, London EC3 1JY c.draganova@londonmet.ac.uk
More informationAJAX and PHP AJAX. Christian Wenz,
AJAX and PHP Christian Wenz, AJAX A Dutch soccer team A cleaner Two characters from Iliad A city in Canada A mountain in Colorado... Asynchronous JavaScript + XML 1 1 What is AJAX?
More informationThe course also includes an overview of some of the most popular frameworks that you will most likely encounter in your real work environments.
Web Development WEB101: Web Development Fundamentals using HTML, CSS and JavaScript $2,495.00 5 Days Replay Class Recordings included with this course Upcoming Dates Course Description This 5-day instructor-led
More informationController/server communication
Controller/server communication Mendel Rosenblum Controller's role in Model, View, Controller Controller's job to fetch model for the view May have other server communication needs as well (e.g. authentication
More informationAjax and Web 2.0 Related Frameworks and Toolkits. Dennis Chen Director of Product Engineering / Potix Corporation
Ajax and Web 2.0 Related Frameworks and Toolkits Dennis Chen Director of Product Engineering / Potix Corporation dennischen@zkoss.org 1 Agenda Ajax Introduction Access Server Side (Java) API/Data/Service
More informationUsing Development Tools to Examine Webpages
Chapter 9 Using Development Tools to Examine Webpages Skills you will learn: For this tutorial, we will use the developer tools in Firefox. However, these are quite similar to the developer tools found
More informationWorking with Javascript Building Responsive Library apps
Working with Javascript Building Responsive Library apps Computers in Libraries April 15, 2010 Arlington, VA Jason Clark Head of Digital Access & Web Services Montana State University Libraries Overview
More informationWeb 2.0, AJAX and RIAs
Web 2.0, AJAX and RIAs Asynchronous JavaScript and XML Rich Internet Applications Markus Angermeier November, 2005 - some of the themes of Web 2.0, with example-sites and services Web 2.0 Common usage
More informationState of the Open Web. Brad Neuberg, Google
State of the Open Web Brad Neuberg, Google http://flickr.com/photos/jamespaullong/164875156/ Who is this guy? Ajax Image CC: jopemoro/flickr Who is this guy? Ajax Image CC: jopemoro/flickr Ajax Who is
More informationLesson 12: JavaScript and AJAX
Lesson 12: JavaScript and AJAX Objectives Define fundamental AJAX elements and procedures Diagram common interactions among JavaScript, XML and XHTML Identify key XML structures and restrictions in relation
More informationOutline. Introduction to JavaScript Resources What is JavaScript? JavaScript in web pages
JavaScript CMPT 281 Outline Introduction to JavaScript Resources What is JavaScript? JavaScript in web pages Announcements Layout with tables Assignment 3 JavaScript Resources Resources Why JavaScript?
More informationREST AND AJAX. Introduction. Module 13
Module 13 REST AND AJAX Introduction > Until now we have been building quite a classic web application: we send a request to the server, the server processes the request, and we render the result and show
More informationUI Course HTML: (Html, CSS, JavaScript, JQuery, Bootstrap, AngularJS) Introduction. The World Wide Web (WWW) and history of HTML
UI Course (Html, CSS, JavaScript, JQuery, Bootstrap, AngularJS) HTML: Introduction The World Wide Web (WWW) and history of HTML Hypertext and Hypertext Markup Language Why HTML Prerequisites Objective
More informationRich Web Applications in Server-side Java without. Plug-ins or JavaScript
Rich Web Applications in Server-side Java without twitter: #vaadin @joonaslehtinen Plug-ins or JavaScript Joonas Lehtinen, PhD Vaadin Ltd - CEO joonas@vaadin.com ? Vaadin is a UI framework for desktop-like
More informationWeb Application Security
Web Application Security Rajendra Kachhwaha rajendra1983@gmail.com September 23, 2015 Lecture 13: 1/ 18 Outline Introduction to AJAX: 1 What is AJAX 2 Why & When use AJAX 3 What is an AJAX Web Application
More informationDeveloping Future Web Application with AJAX and ASP.NET Project "Atlas"
Developing Future Web Application with AJAX and ASP.NET Project "Atlas" Smith Suksmith Microsoft MVP Solution Architect Web Application Rich UI can t delivered by Browser Technology How about Google Earth
More informationJavaScript Specialist v2.0 Exam 1D0-735
JavaScript Specialist v2.0 Exam 1D0-735 Domain 1: Essential JavaScript Principles and Practices 1.1: Identify characteristics of JavaScript and common programming practices. 1.1.1: List key JavaScript
More informationWriting with YUI. Doug Bell Developer / Janitor
Writing with YUI Doug Bell Developer / Janitor doug@plainblack.com JavaScript An Epic Tale Interface with Java Applets Has been standardized (EMCAScript) Annoying features being avoided / disabled Featureful,
More informationController/server communication
Controller/server communication Mendel Rosenblum Controller's role in Model, View, Controller Controller's job to fetch model for the view May have other server communication needs as well (e.g. authentication
More informationJavaScript Programming
JavaScript Programming Course ISI-1337B - 5 Days - Instructor-led, Hands on Introduction Today, JavaScript is used in almost 90% of all websites, including the most heavilytrafficked sites like Google,
More informationAJAX in Apache MyFaces A New Approach To Web Applications
AJAX in Apache MyFaces A New Approach To Web Applications Gerald Müllan Matthias Weßendorf 1 Gerald Müllan Apache MyFaces contributor Web-Engineer with focus on JavaServer Faces Integration of AJAX into
More informationWeb 2.0 and Security
Web 2.0 and Security Web 2.0 and Security 1. What is Web 2.0? On the client: Scripting the XMLHttpRequest object On the server: REST Web Services Mash-ups ups of Web Services used together to create novel
More informationFUSE Ajax Tutorial. 07/06 Version 1.2
07/06 Version 1.2 This is a tutorial for a real world example of a stock portfolio publisher using Ajax and Apache ActiveMQ (AMQ). This demonstration uses features of Ajax to show multiple interactive
More informationE ECMAScript, 21 elements collection, HTML, 30 31, 31. Index 161
A element, 108 accessing objects within HTML, using JavaScript, 27 28, 28 activatediv()/deactivatediv(), 114 115, 115 ActiveXObject, AJAX and, 132, 140 adding information to page dynamically, 30, 30,
More informationRIA Security - Broken By Design. Joonas Lehtinen IT Mill - CEO
RIA Security - Broken By Design Joonas Lehtinen IT Mill - CEO a system is secure if it is designed to be secure and there are no bugs no system should be designed to be insecure not all bugs are security
More informationWeb 2.0 Käyttöliittymätekniikat
Web 2.0 Käyttöliittymätekniikat ELKOM 07 Sami Ekblad Projektipäällikkö Oy IT Mill Ltd What is Web 2.0? Social side: user generated contents: comments, opinions, images, users own the data The Long Tail:
More informationPaul Withers Intec Systems Ltd By Kind Permission of Matt White and Tim Clark
XPages Blast Paul Withers Intec Systems Ltd By Kind Permission of Matt White and Tim Clark Lead Developer at Matt White Creators of IdeaJam and IQJam Creator of XPages101.net Founder member of the LDC
More informationSay goodbye to the pains of Ajax. Yibo
Say goodbye to the pains of Ajax Yibo DOM JavaScript XML CSS Standard Browsers: browser-specific dependencies. d Differences Complexity Exprerience: Minesweeper Google Web Toolkit make Ajax development
More informationJquery.ajax Call Returns Status Code Of 200 But Fires Jquery Error
Jquery.ajax Call Returns Status Code Of 200 But Fires Jquery Error The request returns http 200 OK, but the xhr status is 0, error. jquery Ajax Request to get JSON data fires error event to make an ajax
More informationEvents & Callbacks (ESaaS 6.5)! 2013 Armando Fox & David Patterson, all rights reserved
Events & Callbacks (ESaaS 6.5)! 2013 Armando Fox & David Patterson, all rights reserved Events" What: occurrences that affect the user interface" User interacts with a page element" Previously-set timer
More informationeclipse rich ajax platform (rap)
eclipse rich ajax platform (rap) winner Jochen Krause CEO Innoopract Member of the Board of Directors Eclipse Foundation jkrause@innoopract.com GmbH outline rich ajax platform project status and background
More informationOracle WebLogic Portal
Oracle WebLogic Portal Client-Side Developer s Guide 10g Release 3 (10.3) September 2008 Oracle WebLogic Portal Client-Side Developer s Guide, 10g Release 3 (10.3) Copyright 2008, Oracle and/or its affiliates.
More informationCode Examples Using Java ME Technology and New Web 2.0 Services (Beyond Google Maps)
Code Examples Using Java ME Technology and New Web 2.0 Services (Beyond Google Maps) Hinkmond Wong Sr. Staff Engineer Sun Microsystems, Inc. https://j2me-cdc.dev.java.net/ TS-1302 Copyright 2006, Sun Microsystems
More informationGRITS AJAX & GWT. Trey Roby. GRITS 5/14/09 Roby - 1
AJAX & GWT Trey Roby GRITS 5/14/09 Roby - 1 1 Change The Web is Changing Things we never imagined Central to people s lives Great Opportunity GRITS 5/14/09 Roby - 2 2 A Very Brief History of Computing
More informationCOURSE OUTLINE MOC 20480: PROGRAMMING IN HTML5 WITH JAVASCRIPT AND CSS3
COURSE OUTLINE MOC 20480: PROGRAMMING IN HTML5 WITH JAVASCRIPT AND CSS3 MODULE 1: OVERVIEW OF HTML AND CSS This module provides an overview of HTML and CSS, and describes how to use Visual Studio 2012
More informationCSC 443: Web Programming
1 CSC 443: Web Programming Haidar Harmanani Department of Computer Science and Mathematics Lebanese American University Byblos, 1401 2010 Lebanon AJAX 2 Asynchronous JavaScript and XML First mentioned
More informationwelcome to BOILERCAMP HOW TO WEB DEV
welcome to BOILERCAMP HOW TO WEB DEV Introduction / Project Overview The Plan Personal Website/Blog Schedule Introduction / Project Overview HTML / CSS Client-side JavaScript Lunch Node.js / Express.js
More informationAjax HTML5 Cookies. Sessions 1A and 1B
Ajax HTML5 Cookies Sessions 1A and 1B JavaScript Popular scripting language: Dynamic and loosely typed variables. Functions are now first-class citizens. Supports OOP. var simple = 2; simple = "I'm text
More informationRich Web Applications in Server-side Java without. Plug-ins or JavaScript
Rich Web Applications in Server-side Java without twitter: #vaadin @joonaslehtinen Plug-ins or JavaScript Joonas Lehtinen, PhD Vaadin Ltd - CEO joonas@vaadin.com ? Vaadin is a UI framework for desktop-like
More informationJavaScript CoAPRequest API
JavaScript CoAPRequest API Abstract The CoAPRequest specification defines an API that provides scripted client functionality for transferring data between a CoAP client and a CoAP server. Table of Contents
More informationHomework 8: Ajax, JSON and Responsive Design Travel and Entertainment Search (Bootstrap/Angular/AJAX/JSON/jQuery /Cloud Exercise)
Homework 8: Ajax, JSON and Responsive Design Travel and Entertainment Search (Bootstrap/Angular/AJAX/JSON/jQuery /Cloud Exercise) 1. Objectives Get familiar with the AJAX and JSON technologies Use a combination
More informationJquery Manually Set Checkbox Checked Or Not
Jquery Manually Set Checkbox Checked Or Not Working Second Time jquery code to set checkbox element to checked not working. Apr 09 I forced a loop to show checked state after the second menu item in the
More information