Ajax. INFO/CS 2300: Intermediate Web Design and Programming

Size: px
Start display at page:

Download "Ajax. INFO/CS 2300: Intermediate Web Design and Programming"

Transcription

1 Ajax INFO/CS 2300: Intermediate Web Design and Programming

2 Crash course Crash course on CSS Basic through mobile CSS Wednesday Feb. 19 (the day after break) 4:30 6:15 Carpenter Accel Red

3 Project 2 extension Make sure you test your work on the server. We re not releasing grades and feedback until about Feb 26. See Piazza for more details

4 Follow up In Monday s lecture there was a question about including parentheses when using a named function as a parameter () are not used here $myimgnode.mouseover(myfunction); A huge benefit of jquery is that different browsers implement some parts of JavaScript differently and jquery standardizes.

5 Questions In the HTML tree, the <p> node is the of the <div> node. A. parent B. sibling C. child D. ancestor p Hello! div img

6 How would we use jquery to add an onclick event handler to the image with id myimage that calls myfunction? A. $( myimage ).onclick(myfunction) B. <img id= myimage onclick= myfunction(); /> C. $( #myimage ).click(myfunction); D. $( #myimage ).click(myfunction());

7 Which code below uses an anonymous function? A. $( a ).click( function () { return false;} ); B. function anonymous() { return false;} C. anonymous function name(arg) { return false; }

8 Ajax: what is it?

9 Ajax isn t its own technology it s just shorthand for a cluster of technologies Asynchronous JavaScript and XML that help web applications work more like desktop applications

10 What does it do?

11 Typical web application Client Server Synchronous

12 Web application using Ajax Client Asynchronous Server

13 Request sent to server while user is still interacting with website. Using JavaScript and the DOM, we can update the page with results from the server.

14 The usual suspects Some of the web applications that gave lots of visibility to the idea of Ajax: Microsoft Outlook Webmail Google Suggest Google Maps

15 How does it work?

16 What kinds of things will we need to get something like this to work? Browser Server communication that isn t a whole page Format for the data exchange A trigger to initiate the exchange Browser processes server response without a page refresh

17 Steps for using Ajax 1. Tell JavaScript/jQuery we want to make an Ajax call. 2. State what program on the server we want to run (usually a PHP program). 3. Tell what data should be sent to the server. 4. Give a JavaScript function that should be called when the browser receives the response from the server.

18 Ajax with JavaScript Browsers implement the JavaScript call differently Examples: request = new XMLHttpRequest(); request = new ActiveXObject("Msxml2.XMLHTTP"); request = new ActiveXObject("Microsoft.XMLHTTP"); Without jquery, the Javascript had to be coded to accommodate different browsers

19 Ajax with jquery To make an Ajax call, we use request is now an object that can be used later request = $.ajax( { url : URL, type: get, data: data, datatype: json } ); if we want the return to be processed as json instead of text $ is jquery. $.ajax is a method of jquery or post where URL is the program on the server we want to run and data is the data we want to send it.

20 Sending data Data to send should be in the form var mydata = { var1 : val1, var2 : val2 }; then on the server, the variables will appear in $_GET as $_GET[ var1 ], $_GET[ var2 ]. or $_POST

21 Specifying a callback function Once we ve executed the Ajax, we can tell jquery what to do when the server is done by giving a callback function. E.g. request.done( myfunction ) jquery will call myfunction when the browser receives the server s response, and the data from the server s response will be in first argument of myfunction. function myfunction(result) {. } remember our request variable?

22 An example: directory lookup

23 directory.php/?netid=sm68 How it works Browser page Part of page to be loaded by ajax on keyup get netid from form Ajax call Callback function receives printed json and puts values in the proper nodes Server Use netid to find directory entry and print the result as json

24 The pieces 1. On keyup event, get input from field and use an Ajax call to send the field input to directory.php. 2. PHP program directory.php looks up netid in an internal array. Combine the looked up value into a json string, and return. 3. The callback function takes the returned information and puts all the data in the appropriate table entries.

25 The HTML file <form action="submits_by_jquery_instead.txt" method="get"> Net Id:<input type="text" id="netid" /> </form> <br /> <div style="color: red;"> <span id="error"> </span> </div> <br /> <div id="results"> <table class="datatable"> <tr> <td>first name:</td> <td id="first_name"> </td> </tr> <tr> <td>last name:</td> <td id="last_name"> </td> </tr> <tr> <td> </td> <td id=" "> </td> </tr> </table> </div> In a real application we would set action to a real value in case javascript is not working

26 Adding the event handler How do we set the onkeyup event handler on the netid input to the function findnetidinfo? $(document).ready( function () { Triggers once the html is loaded } );

27 $(document).ready( function () { } ); $("#netid").keyup(findnetidinfo);

28 findnetidinfo Now write function to use $.ajax to call directory.php with netid entered so far, set callback function to be displaynetidinfo. function findnetidinfo() { }

29 function findnetidinfo() { var netidfromform = $("#netid").val(); var getdata = { netid: netidfromform }; request = $.ajax( { url: directory.php", type: "get", data: getdata, datatype: json" } ); } request.done(displaynetidinfo);

30 directory.php Returns a string that looks like this: {"first_name":"steve", "last_name":"mohlke", " ":"smohlke@cornell.edu" } Index values correspond to the node id in the html This is the native JavaScript format and it can be looped through like an array

31 displaynetidinfo Finally, we need to handle the response from the server.

32 function displaynetidinfo(response) { }

33 function displaynetidinfo( response ) { var fields = Array( "error", "first_name", "last_name", " ); // Clear all the fields with a non-breaking space for ( i in fields ) { $( "# + fields[ i ] ).text( String.fromCharCode( 160 ) ); } } // Each json entry will be of the form "nodeid" : "value". // Use this fact to write the values in the json // into the node with the id specified in the json index. for ( i in response ) { $( "#" + i ).text( response[ i ] ); }

34 A word about JSON JSON stands for JavaScript Object Notation. We needed to tell the Ajax call that s what was coming back. request = $.ajax( { url: directory.php", type: "get", data: getdata, datatype: json } );

35 Instead of $.ajax there is shorthand request = $.getjson( URL, data, callback); E.g. request = $.getjson( directory.php, getdata, displaynetidinfo);

36 More Ajax possibilities

37 Review Ajax allows us to interact with the server, run code there and send answers back without forcing the user to wait for a response. This will become much more interesting once the server can start looking up information in a database

Performance Testing for Ajax Applications

Performance Testing for Ajax Applications Radview Software How to Performance Testing for Ajax Applications Rich internet applications are growing rapidly and AJAX technologies serve as the building blocks for such applications. These new technologies

More information

CMSC434 TUTORIAL #3 HTML CSS JavaScript Jquery Ajax + Google AppEngine Mobile WebApp HTML5

CMSC434 TUTORIAL #3 HTML CSS JavaScript Jquery Ajax + Google AppEngine Mobile WebApp HTML5 CMSC434 TUTORIAL #3 HTML CSS JavaScript Jquery Ajax + Google AppEngine Mobile WebApp HTML5 JQuery Recap JQuery source code is an external JavaScript file

More information

JavaScript: Client-Side Scripting. Chapter 6

JavaScript: Client-Side Scripting. Chapter 6 JavaScript: Client-Side Scripting Chapter 6 Textbook to be published by Pearson Ed 2015 in early Pearson 2014 Fundamentals of Web http://www.funwebdev.com Development Section 1 of 8 WHAT IS JAVASCRIPT

More information

HTML Form Widgets. Review: HTML Forms. Review: CGI Programs

HTML Form Widgets. Review: HTML Forms. Review: CGI Programs HTML Form Widgets Review: HTML Forms HTML forms are used to create web pages that accept user input Forms allow the user to communicate information back to the web server Forms allow web servers to generate

More information

Core Ideas CHAPTER 1 PART. CHAPTER 2 Pre-Ajax JavaScript Communications Techniques CHAPTER 3 XMLHttpRequest Object CHAPTER 4 Data Formats

Core Ideas CHAPTER 1 PART. CHAPTER 2 Pre-Ajax JavaScript Communications Techniques CHAPTER 3 XMLHttpRequest Object CHAPTER 4 Data Formats Core Ideas CHAPTER 1 Introduction to Ajax I PART CHAPTER 2 Pre-Ajax JavaScript Communications Techniques CHAPTER 3 XMLHttpRequest Object CHAPTER 4 Data Formats ch01.indd 1 12/5/07 4:59:45 PM blind folio

More information

WEB DEVELOPMENT COURSE (PHP/ MYSQL)

WEB DEVELOPMENT COURSE (PHP/ MYSQL) WEB DEVELOPMENT COURSE (PHP/ MYSQL) COURSE COVERS: HTML 5 CSS 3 JAVASCRIPT JQUERY BOOTSTRAP 3 PHP 5.5 MYSQL SYLLABUS HTML5 Introduction to HTML Introduction to Internet HTML Basics HTML Elements HTML Attributes

More information

AJAX and JSON Lessons Learned. Jim Riecken, Senior Software Engineer, Blackboard Inc.

AJAX and JSON Lessons Learned. Jim Riecken, Senior Software Engineer, Blackboard Inc. AJAX and JSON Lessons Learned Jim Riecken, Senior Software Engineer, Blackboard Inc. About Me Jim Riecken Senior Software Engineer At Blackboard for 4 years. Work out of the Vancouver office. Working a

More information

CSC309 Winter 2016 Lecture 3. Larry Zhang

CSC309 Winter 2016 Lecture 3. Larry Zhang CSC309 Winter 2016 Lecture 3 Larry Zhang 1 Why Javascript Javascript is for dynamically manipulate the front-end of your web page. Add/remove/change the content/attributes of an HTML element Change the

More information

Up and Running with LabVIEW Web Services

Up and Running with LabVIEW Web Services Up and Running with LabVIEW Web Services July 7, 2014 Jon McBee Bloomy Controls, Inc. LabVIEW Web Services were introduced in LabVIEW 8.6 and provide a standard way to interact with an application over

More information

07/04/2014 NOBIL API. Version 3.0. Skåland Webservice Side 1 / 16

07/04/2014 NOBIL API. Version 3.0. Skåland Webservice Side 1 / 16 NOBIL API Version 3.0 Skåland Webservice Side 1 / 16 Client API version 3.0 NOBIL is a comprehensive and trustworthy database covering all charging stations in Norway, and is open for other countries,

More information

Lecture 9 Chrome Extensions

Lecture 9 Chrome Extensions Lecture 9 Chrome Extensions 1 / 22 Agenda 1. Chrome Extensions 1. Manifest files 2. Content Scripts 3. Background Pages 4. Page Actions 5. Browser Actions 2 / 22 Chrome Extensions 3 / 22 What are browser

More information

Web application Architecture

Web application Architecture 2014 Cesare Pautasso 1 / 29 Very Thin Client 6 / 29 AJAX Input/ Output Prof. Cesare Pautasso http://www.pautasso.info cesare.pautasso@usi.ch Client/Server 7 / 29 @pautasso 5 / 29 Web application Architecture

More information

A Model of the Operation of The Model-View- Controller Pattern in a Rails-Based Web Server

A Model of the Operation of The Model-View- Controller Pattern in a Rails-Based Web Server A of the Operation of The -- Pattern in a Rails-Based Web Server January 10, 2011 v 0.4 Responding to a page request 2 A -- user clicks a link to a pattern page in on a web a web application. server January

More information

Advantage of Jquery: T his file is downloaded from

Advantage of Jquery: T his file is downloaded from What is JQuery JQuery is lightweight, client side JavaScript library file that supports all browsers. JQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling,

More information

Rich User Interfaces for Web-Based Corporate Applications

Rich User Interfaces for Web-Based Corporate Applications Rich User Interfaces for Web-Based Corporate Applications Ivan Zapevalov, Software Engineer 1 Outline RIA technologies AJAX technology Widgets Demo application in JavaScript Demo application in GWT Web-catalog

More information

The purpose of jquery is to make it much easier to use JavaScript on your website.

The purpose of jquery is to make it much easier to use JavaScript on your website. jquery Introduction (Source:w3schools.com) The purpose of jquery is to make it much easier to use JavaScript on your website. What is jquery? jquery is a lightweight, "write less, do more", JavaScript

More information

Ajax Design and Usability

Ajax Design and Usability Ajax Design and Usability William Hudson william.hudson@syntagm.co.uk www.syntagm.co.uk/design Ajax Design and Usability About Ajax Ajax in context How Ajax works How Ajax is different How Ajax is similar

More information

GUI and Web Programming

GUI and Web Programming GUI and Web Programming CSE 403 (based on a lecture by James Fogarty) Event-based programming Sequential Programs Interacting with the user 1. Program takes control 2. Program does something 3. Program

More information

An introduction to creating Web 2.0 applications in Rational Application Developer Version 8.0

An introduction to creating Web 2.0 applications in Rational Application Developer Version 8.0 An introduction to creating Web 2.0 applications in Rational Application Developer Version 8.0 September 2010 Copyright IBM Corporation 2010. 1 Overview Rational Application Developer, Version 8.0, contains

More information

Example. Represent this as XML

Example. Represent this as XML Example INF 221 program class INF 133 quiz Assignment Represent this as XML JSON There is not an absolutely correct answer to how to interpret this tree in the respective languages. There are multiple

More information

Art of Code Front-end Web Development Training Program

Art of Code Front-end Web Development Training Program Art of Code Front-end Web Development Training Program Pre-work (5 weeks) Codecademy HTML5/CSS3 and JavaScript tracks HTML/CSS (7 hours): http://www.codecademy.com/en/tracks/web JavaScript (10 hours):

More information

Programming in HTML5 with JavaScript and CSS3

Programming in HTML5 with JavaScript and CSS3 Course 20480B: Programming in HTML5 with JavaScript and CSS3 Course Details Course Outline Module 1: Overview of HTML and CSS This module provides an overview of HTML and CSS, and describes how to use

More information

Client-Side Web Programming (Part 2) Robert M. Dondero, Ph.D. Princeton University

Client-Side Web Programming (Part 2) Robert M. Dondero, Ph.D. Princeton University Client-Side Web Programming (Part 2) Robert M. Dondero, Ph.D. Princeton University 1 Objectives You will learn about: Client-side web programming, via... Multithreaded Java Applets AJAX 2 Part 1: Preliminary

More information

Rich Internet Applications

Rich Internet Applications Rich Internet Applications Prepared by: Husen Umer Supervisor: Kjell Osborn IT Department Uppsala University 8 Feb 2010 Agenda What is RIA? RIA vs traditional Internet applications. Why to use RIAs? Running

More information

Citrix StoreFront. Customizing the Receiver for Web User Interface. 2012 Citrix. All rights reserved.

Citrix StoreFront. Customizing the Receiver for Web User Interface. 2012 Citrix. All rights reserved. Citrix StoreFront Customizing the Receiver for Web User Interface 2012 Citrix. All rights reserved. Customizing the Receiver for Web User Interface Introduction Receiver for Web provides a simple mechanism

More information

Overview. In the beginning. Issues with Client Side Scripting What is JavaScript? Syntax and the Document Object Model Moving forward with JavaScript

Overview. In the beginning. Issues with Client Side Scripting What is JavaScript? Syntax and the Document Object Model Moving forward with JavaScript Overview In the beginning Static vs. Dynamic Content Issues with Client Side Scripting What is JavaScript? Syntax and the Document Object Model Moving forward with JavaScript AJAX Libraries and Frameworks

More information

Interactive Data Visualization for the Web Scott Murray

Interactive Data Visualization for the Web Scott Murray Interactive Data Visualization for the Web Scott Murray Technology Foundations Web technologies HTML CSS SVG Javascript HTML (Hypertext Markup Language) Used to mark up the content of a web page by adding

More information

Term 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 :

Term 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: 20.07.2009 Author(s): Doddy Satyasree AJAX Person responsable: Doddy Satyasree Language: English Term Paper History Version Status Date 0.1 Draft Version created 20.07.2009 0.2 Final

More information

Web Programming Step by Step

Web Programming Step by Step Web Programming Step by Step Chapter 10 Ajax and XML for Accessing Data Except where otherwise noted, the contents of this presentation are Copyright 2009 Marty Stepp and Jessica Miller. 10.1: Ajax Concepts

More information

Chapter 12: Advanced topic Web 2.0

Chapter 12: Advanced topic Web 2.0 Chapter 12: Advanced topic Web 2.0 Contents Web 2.0 DOM AJAX RIA Web 2.0 "Web 2.0" refers to the second generation of web development and web design that facilities information sharing, interoperability,

More information

XML Processing and Web Services. Chapter 17

XML Processing and Web Services. Chapter 17 XML Processing and Web Services Chapter 17 Textbook to be published by Pearson Ed 2015 in early Pearson 2014 Fundamentals of http://www.funwebdev.com Web Development Objectives 1 XML Overview 2 XML Processing

More information

Introduction to web development and JavaScript

Introduction to web development and JavaScript Objectives Chapter 1 Introduction to web development and JavaScript Applied Load a web page from the Internet or an intranet into a web browser. View the source code for a web page in a web browser. Knowledge

More information

Ajax: A New Approach to Web Applications

Ajax: A New Approach to Web Applications 1 of 5 3/23/2007 1:37 PM Ajax: A New Approach to Web Applications by Jesse James Garrett February 18, 2005 If anything about current interaction design can be called glamorous, it s creating Web applications.

More information

Client-side Web Engineering From HTML to AJAX

Client-side Web Engineering From HTML to AJAX Client-side Web Engineering From HTML to AJAX SWE 642, Spring 2008 Nick Duan 1 What is Client-side Engineering? The concepts, tools and techniques for creating standard web browser and browser extensions

More information

It is highly recommended that you are familiar with HTML and JavaScript before attempting this tutorial.

It is highly recommended that you are familiar with HTML and JavaScript before attempting this tutorial. 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. Audience

More information

Subject Tool Remarks What is JQuery. Slide Javascript Library

Subject Tool Remarks What is JQuery. Slide Javascript Library Subject Tool Remarks What is JQuery Slide Javascript Library Picture John Resig Tool for Searching the DOM (Document Object Model) Created by John Resig Superstar Very Small (12k) Browser Independent Not

More information

Introduction to web development using XHTML and CSS. Lars Larsson. Today. Course introduction and information XHTML. CSS crash course.

Introduction to web development using XHTML and CSS. Lars Larsson. Today. Course introduction and information XHTML. CSS crash course. using CSS using CSS 1 using CSS 2 3 4 Lecture #1 5 6 using CSS Material using CSS literature During this, we will cover server side web with JavaServer Pages. JSP is an exciting technology that lets developers

More information

Adding Panoramas to Google Maps Using Ajax

Adding Panoramas to Google Maps Using Ajax Adding Panoramas to Google Maps Using Ajax Derek Bradley Department of Computer Science University of British Columbia Abstract This project is an implementation of an Ajax web application. AJAX is a new

More information

Chapter 3: Web Paradigms and Interactivity

Chapter 3: Web Paradigms and Interactivity Chapter 3: Web Paradigms and Interactivity 3.1! AJAX: Asynchronous Interactivity in the Web 3.2! Paradigms for Web-Based Communication 3.3! Reverse AJAX and COMET 3.4! Web Sockets and Web Messaging 3.5!

More information

DIPLOMA IN WEBDEVELOPMENT

DIPLOMA IN WEBDEVELOPMENT DIPLOMA IN WEBDEVELOPMENT Prerequisite skills Basic programming knowledge on C Language or Core Java is must. # Module 1 Basics and introduction to HTML Basic HTML training. Different HTML elements, tags

More information

NoSQL web apps. w/ MongoDB, Node.js, AngularJS. Dr. Gerd Jungbluth, NoSQL UG Cologne, 4.9.2013

NoSQL web apps. w/ MongoDB, Node.js, AngularJS. Dr. Gerd Jungbluth, NoSQL UG Cologne, 4.9.2013 NoSQL web apps w/ MongoDB, Node.js, AngularJS Dr. Gerd Jungbluth, NoSQL UG Cologne, 4.9.2013 About us Passionate (web) dev. since fallen in love with Sinclair ZX Spectrum Academic background in natural

More information

Advanced Online Media Production

Advanced Online Media Production Advanced Online Media Production MMC 4341 Spring 2015 Section 099F Monday periods 8, 9, 10 (3 6 p.m.), 3024 Weimer Hall Plus individual meetings, by appointment, required weekly Instructor: Mindy McAdams,

More information

Coding HTML Email: Tips, Tricks and Best Practices

Coding HTML Email: Tips, Tricks and Best Practices Before you begin reading PRINT the report out on paper. I assure you that you ll receive much more benefit from studying over the information, rather than simply browsing through it on your computer screen.

More information

Chapter 2: Interactive Web Applications

Chapter 2: Interactive Web Applications Chapter 2: Interactive Web Applications 2.1 Interactivity and Multimedia in the WWW architecture 2.2 Client-Side Multimedia in the Web (Example HTML5) 2.3 Interactive Server-Side Scripting (Example PHP)

More information

Creating Web-Based EDI Applications with AJAX Joseph R. McVerry American Coders, Ltd & Ralph Naylor June 28, 2006

Creating Web-Based EDI Applications with AJAX Joseph R. McVerry American Coders, Ltd & Ralph Naylor June 28, 2006 Creating Web-Based EDI Applications with AJAX Joseph R. McVerry, Ltd & Ralph Naylor June 28, 2006, Ltd. Post Office Box 97462 Raleigh, NC 27624 (919) 846-2014 www.americancoders.com Table of Contents Creating

More information

HP LoadRunner. Software Version: 11.00. Ajax TruClient Tips & Tricks

HP LoadRunner. Software Version: 11.00. Ajax TruClient Tips & Tricks HP LoadRunner Software Version: 11.00 Ajax TruClient Tips & Tricks Document Release Date: October 2010 Software Release Date: October 2010 Legal Notices Warranty The only warranties for HP products and

More information

HTML5. Turn this page to see Quick Guide of CTTC

HTML5. Turn this page to see Quick Guide of CTTC Programming SharePoint 2013 Development Courses ASP.NET SQL TECHNOLGY TRAINING GUIDE Visual Studio PHP Programming Android App Programming HTML5 Jquery Your Training Partner in Cutting Edge Technologies

More information

MASTERTAG DEVELOPER GUIDE

MASTERTAG DEVELOPER GUIDE MASTERTAG DEVELOPER GUIDE TABLE OF CONTENTS 1 Introduction... 4 1.1 What is the zanox MasterTag?... 4 1.2 What is the zanox page type?... 4 2 Create a MasterTag application in the zanox Application Store...

More information

jquery Tutorial for Beginners: Nothing But the Goods

jquery Tutorial for Beginners: Nothing But the Goods jquery Tutorial for Beginners: Nothing But the Goods Not too long ago I wrote an article for Six Revisions called Getting Started with jquery that covered some important things (concept-wise) that beginning

More information

Friday, February 11, 2011. Bruce

Friday, February 11, 2011. Bruce Bruce Scotty In 2007, Google and MySpace were worried by the launch of the Facebook Platform for developing apps, so they banded together and created the OpenSocial specification OpenSocial is an open

More information

Facebook Twitter YouTube Google Plus Website Email. o Zooming and Panning. Panel. 3D commands. o Working with Canvas

Facebook Twitter YouTube Google Plus Website Email. o Zooming and Panning. Panel. 3D commands. o Working with Canvas WEB DESIGN COURSE COURSE COVERS: Photoshop HTML 5 CSS 3 Design Principles Usability / UI Design BOOTSTRAP 3 JAVASCRIPT JQUERY CSS Animation Optimizing of Web SYLLABUS FEATURES 2 Hours of Daily Classroom

More information

Beginning Web Development with Node.js

Beginning Web Development with Node.js Beginning Web Development with Node.js Andrew Patzer This book is for sale at http://leanpub.com/webdevelopmentwithnodejs This version was published on 2013-10-18 This is a Leanpub book. Leanpub empowers

More information

DOM, Jav Ja a v Script a and AJA AJ X A Madalina Croitoru IUT Mont Mon pellier

DOM, Jav Ja a v Script a and AJA AJ X A Madalina Croitoru IUT Mont Mon pellier DOM, JavaScript and AJAX Madalina Croitoru IUT Montpellier JavaScript Initially called LiveScript Implemented in Netscape Navigator Microsoft adapts it in 1996: Jscript European Computer Manufacturers

More information

Programming contest management Project Overview Vincent Chu

Programming contest management Project Overview Vincent Chu 1 Programming contest management Project Overview Vincent Chu I. INTRODUCTION The programming contest management web application is designed to support the running of programming contests in real time

More information

Chapter 3: Web Paradigms and Interactivity

Chapter 3: Web Paradigms and Interactivity Chapter 3: Web Paradigms and Interactivity 3.1! AJAX: Asynchronous Interactivity in the Web! 3.2! Paradigms for Web-Based Communication! 3.3! Reverse AJAX and COMET! 3.4! Web Sockets and Web Messaging!

More information

Building Ajax Applications with GT.M and EWD. Rob Tweed M/Gateway Developments Ltd

Building Ajax Applications with GT.M and EWD. Rob Tweed M/Gateway Developments Ltd Building Ajax Applications with GT.M and EWD Rob Tweed M/Gateway Developments Ltd Is GT.M old-fashioned? I am a physician working in the VA system. I also program in.net. Certainly the VAs informatics

More information

Form Handling. Server-side Web Development and Programming. Form Handling. Server Page Model. Form data appended to request string

Form Handling. Server-side Web Development and Programming. Form Handling. Server Page Model. Form data appended to request string Form Handling Server-side Web Development and Programming Lecture 3: Introduction to Java Server Pages Form data appended to request string

More information

From Desktop to Browser Platform: Office Application Suite with Ajax

From Desktop to Browser Platform: Office Application Suite with Ajax From Desktop to Browser Platform: Office Application Suite with Ajax Mika Salminen Helsinki University of Technology mjsalmi2@cc.hut.fi Abstract Web applications have usually been less responsive and provided

More information

AJAX. Gregorio López López glopez@it.uc3m.es Juan Francisco López Panea 100032757@alumnos.uc3m.es

AJAX. Gregorio López López glopez@it.uc3m.es Juan Francisco López Panea 100032757@alumnos.uc3m.es AJAX Gregorio López López glopez@it.uc3m.es Juan Francisco López Panea 100032757@alumnos.uc3m.es Departamento de Ingeniería Telemática Universidad Carlos III de Madrid Contents 1. Introduction 2. Overview

More information

How to Code With MooTools

How to Code With MooTools Advanced Web Programming Jaume Aragonés Ferrero Department of Software and Computing Systems A compact JavaScript framework MOOTOOLS Index What is MooTools? Where to find? How to download? Hello World

More information

Tutorial básico del método AJAX con PHP y MySQL

Tutorial básico del método AJAX con PHP y MySQL 1 de 14 02/06/2006 16:10 Tutorial básico del método AJAX con PHP y MySQL The XMLHttpRequest object is a handy dandy JavaScript object that offers a convenient way for webpages to get information from servers

More information

Credits: Some of the slides are based on material adapted from www.telerik.com/documents/telerik_and_ajax.pdf

Credits: Some of the slides are based on material adapted from www.telerik.com/documents/telerik_and_ajax.pdf 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 information

Other Language Types CMSC 330: Organization of Programming Languages

Other Language Types CMSC 330: Organization of Programming Languages Other Language Types CMSC 330: Organization of Programming Languages Markup and Query Languages Markup languages Set of annotations to text Query languages Make queries to databases & information systems

More information

with Microsoft Office Sharepoint Server (MOSS) Webparts

with Microsoft Office Sharepoint Server (MOSS) Webparts 300 Tristate International, 150 Lincolnshire, IL 60069 www.necsphere.com 847.793.9600 August 2009 NEC UNIVERGE Sphericall with Microsoft Office Sharepoint Server (MOSS) Webparts Overall Architecture SharePoint

More information

Getting Started Guide with WIZ550web

Getting Started Guide with WIZ550web 1/21 WIZ550web is an embedded Web server module based on WIZnet s W5500 hardwired TCP/IP chip, Users can control & monitor the 16-configurable digital I/O and 4-ADC inputs on module via web pages. WIZ550web

More information

HTML5 and CSS3. new semantic elements advanced form support CSS3 features other HTML5 features

HTML5 and CSS3. new semantic elements advanced form support CSS3 features other HTML5 features HTML5 and CSS3 new semantic elements advanced form support CSS3 features other HTML5 features fallback solutions HTML5 and CSS3 are new and evolving standards two levels of fallback different browsers

More information

Introducing Apache Pivot. Greg Brown, Todd Volkert 6/10/2010

Introducing Apache Pivot. Greg Brown, Todd Volkert 6/10/2010 Introducing Apache Pivot Greg Brown, Todd Volkert 6/10/2010 Speaker Bios Greg Brown Senior Software Architect 15 years experience developing client and server applications in both services and R&D Apache

More information

Drupal CMS for marketing sites

Drupal CMS for marketing sites Drupal CMS for marketing sites Intro Sample sites: End to End flow Folder Structure Project setup Content Folder Data Store (Drupal CMS) Importing/Exporting Content Database Migrations Backend Config Unit

More information

Implementing Sub-domain & Cross-domain Tracking A Complete Guide

Implementing Sub-domain & Cross-domain Tracking A Complete Guide Implementing Sub-domain & Cross-domain Tracking A Complete Guide Prepared By techbythebay.com 1 Contents 1. Sub Domain & Cross Domain Tracking for GA (asynchronous) I. Standard HTML/JavaScript Implementation

More information

Creating a TEI-Based Website with the exist XML Database

Creating a TEI-Based Website with the exist XML Database Creating a TEI-Based Website with the exist XML Database Joseph Wicentowski, Ph.D. U.S. Department of State July 2010 Goals By the end of this workshop you will know:...1 about a flexible set of technologies

More information

HP Business Service Management

HP Business Service Management HP Business Service Management Software Version: 9.25 BPM Monitoring Solutions - Best Practices Document Release Date: January 2015 Software Release Date: January 2015 Legal Notices Warranty The only warranties

More information

Pay with Amazon Integration Guide

Pay with Amazon Integration Guide 2 2 Contents... 4 Introduction to Pay with Amazon... 5 Before you start - Important Information... 5 Important Advanced Payment APIs prerequisites... 5 How does Pay with Amazon work?...6 Key concepts in

More information

Rich-Internet Anwendungen auf Basis von ColdFusion und Ajax

Rich-Internet Anwendungen auf Basis von ColdFusion und Ajax Rich-Internet Anwendungen auf Basis von ColdFusion und Ajax Sven Ramuschkat SRamuschkat@herrlich-ramuschkat.de München & Zürich, März 2009 A bit of AJAX history XMLHttpRequest introduced in IE5 used in

More information

Web Development using PHP (WD_PHP) Duration 1.5 months

Web Development using PHP (WD_PHP) Duration 1.5 months Duration 1.5 months Our program is a practical knowledge oriented program aimed at learning the techniques of web development using PHP, HTML, CSS & JavaScript. It has some unique features which are as

More information

Upgrade to Microsoft Web Applications

Upgrade to Microsoft Web Applications Upgrade to Microsoft Web Applications Description Customers demand beautiful, elegant apps that are alive with activity. Demonstrate your expertise at designing and developing the fast and fluid Store

More information

Malicious Yahooligans

Malicious Yahooligans WHITE PAPER: SYMANTEC SECURITY RESPONSE Malicious Yahooligans Eric Chien Symantec Security Response, Ireland Originally published by Virus Bulletin, August 2006. Copyright held by Virus Bulletin, Ltd.,

More information

AJAX: Highly Interactive Web Applications. Jason Giglio. jgiglio@netmar.com

AJAX: Highly Interactive Web Applications. Jason Giglio. jgiglio@netmar.com AJAX 1 Running head: AJAX AJAX: Highly Interactive Web Applications Jason Giglio jgiglio@netmar.com AJAX 2 Abstract AJAX stands for Asynchronous JavaScript and XML. AJAX has recently been gaining attention

More information

Mobile development with Apache OFBiz. Ean Schuessler, co-founder @ Brainfood

Mobile development with Apache OFBiz. Ean Schuessler, co-founder @ Brainfood Mobile development with Apache OFBiz Ean Schuessler, co-founder @ Brainfood Mobile development For the purposes of this talk mobile development means mobile web development The languages and APIs for native

More information

Client Side Binding of Dynamic Drop Downs

Client Side Binding of Dynamic Drop Downs International Journal of Scientific and Research Publications, Volume 5, Issue 9, September 2015 1 Client Side Binding of Dynamic Drop Downs Tanuj Joshi R&D Department, Syscom Corporation Limited Abstract-

More information

The CloudBrowser Web Application Framework

The CloudBrowser Web Application Framework The CloudBrowser Web Application Framework Brian Newsom McDaniel Thesis submitted to the Faculty of the Virginia Polytechnic Institute and State University in partial fulfillment of the requirements for

More information

Dashboard Skin Tutorial. For ETS2 HTML5 Mobile Dashboard v3.0.2

Dashboard Skin Tutorial. For ETS2 HTML5 Mobile Dashboard v3.0.2 Dashboard Skin Tutorial For ETS2 HTML5 Mobile Dashboard v3.0.2 Dashboard engine overview Dashboard menu Skin file structure config.json Available telemetry properties dashboard.html dashboard.css Telemetry

More information

FormAPI, AJAX and Node.js

FormAPI, AJAX and Node.js FormAPI, AJAX and Node.js Overview session for people who are new to coding in Drupal. Ryan Weal Kafei Interactive Inc. http://kafei.ca These slides posted to: http://verbosity.ca Why? New developers bring

More information

Mobile Web Applications. Gary Dubuque IT Research Architect Department of Revenue

Mobile Web Applications. Gary Dubuque IT Research Architect Department of Revenue Mobile Web Applications Gary Dubuque IT Research Architect Department of Revenue Summary Times are approximate 10:15am 10:25am 10:35am 10:45am Evolution of Web Applications How they got replaced by native

More information

Experimenting in the domain of RIA's and Web 2.0

Experimenting in the domain of RIA's and Web 2.0 Experimenting in the domain of RIA's and Web 2.0 Seenivasan Gunabalan IMIT IV Edition, Scuola Suoperiore Sant'Anna,Pisa, Italy E-mail: s.gunabalan@websynapsis.com ABSTRACT This paper provides an overview

More information

HP Business Process Monitor

HP Business Process Monitor HP Business Process Monitor For the Windows operating system Software Version: 9.23 BPM Monitoring Solutions Best Practices Document Release Date: December 2013 Software Release Date: December 2013 Legal

More information

Table of contents. HTML5 Data Bindings SEO DMXzone

Table of contents. HTML5 Data Bindings SEO DMXzone Table of contents Table of contents... 1 About HTML5 Data Bindings SEO... 2 Features in Detail... 3 The Basics: Insert HTML5 Data Bindings SEO on a Page and Test it... 7 Video: Insert HTML5 Data Bindings

More information

Visualizing an OrientDB Graph Database with KeyLines

Visualizing an OrientDB Graph Database with KeyLines Visualizing an OrientDB Graph Database with KeyLines Visualizing an OrientDB Graph Database with KeyLines 1! Introduction 2! What is a graph database? 2! What is OrientDB? 2! Why visualize OrientDB? 3!

More information

Some Issues on Ajax Invocation

Some Issues on Ajax Invocation Some Issues on Ajax Invocation I. Introduction AJAX is a set of technologies that together a website to be -or appear to be- highly responsive. This is achievable due to the following natures of AJAX[1]:

More information

Are AJAX Applications Vulnerable to Hack Attacks?

Are AJAX Applications Vulnerable to Hack Attacks? Are AJAX Applications Vulnerable to Hack Attacks? The importance of Securing AJAX Web Applications This paper reviews AJAX technologies with specific reference to JavaScript and briefly documents the kinds

More information

ArcGIS Server 9.3.1 mashups

ArcGIS Server 9.3.1 mashups Welcome to ArcGIS Server 9.3.1: Creating Fast Web Mapping Applications With JavaScript Scott Moore ESRI Olympia, WA smoore@esri.com Seminar agenda ArcGIS API for JavaScript: An Overview ArcGIS Server Resource

More information

Performance Testing Web 2.0

Performance Testing Web 2.0 Performance Testing Web 2.0 David Chadwick Rational Testing Evangelist dchadwick@us.ibm.com Dawn Peters Systems Engineer, IBM Rational petersda@us.ibm.com 2009 IBM Corporation WEB 2.0 What is it? 2 Web

More information

Sitecore Dashboard User Guide

Sitecore Dashboard User Guide Sitecore Dashboard User Guide Contents Overview... 2 Installation... 2 Getting Started... 3 Sample Widgets... 3 Logged In... 3 Job Viewer... 3 Workflow State... 3 Publish Queue Viewer... 4 Quick Links...

More information

Introduction to D3.js Interactive Data Visualization in the Web Browser

Introduction to D3.js Interactive Data Visualization in the Web Browser Datalab Seminar Introduction to D3.js Interactive Data Visualization in the Web Browser Dr. Philipp Ackermann Sample Code: http://github.engineering.zhaw.ch/visualcomputinglab/cgdemos 2016 InIT/ZHAW Visual

More information

How To Write A Web Server In Javascript

How To Write A Web Server In Javascript LIBERATED: A fully in-browser client and server web application debug and test environment Derrell Lipman University of Massachusetts Lowell Overview of the Client/Server Environment Server Machine Client

More information

Framework as a master tool in modern web development

Framework as a master tool in modern web development Framework as a master tool in modern web development PETR DO, VOJTECH ONDRYHAL Communication and Information Systems Department University of Defence Kounicova 65, Brno, 662 10 CZECH REPUBLIC petr.do@unob.cz,

More information

How to Customize the Default Search Form in WordPress

How to Customize the Default Search Form in WordPress How to Customize the Default Search Form in WordPress A client whose site we recently rebuilt on WordPress came up with an unusual request: they asked for two search forms on each page--one searching the

More information

Developing a Web Server Platform with SAPI Support for AJAX RPC using JSON

Developing a Web Server Platform with SAPI Support for AJAX RPC using JSON Revista Informatica Economică, nr. 4 (44)/2007 45 Developing a Web Server Platform with SAPI Support for AJAX RPC using JSON Iulian ILIE-NEMEDI, Bucharest, Romania, inemedi@ie.ase.ro Writing a custom web

More information

jfingerprint Datasheet

jfingerprint Datasheet jfingerprint Datasheet jfingerprint An introduction to jfingerprint, the browser fingerprinting and identification solution. W o l f S o f t w a r e L i m i t e d Contents 1 Background... 3 2 How does

More information

WebIOPi. Installation Walk-through Macros

WebIOPi. Installation Walk-through Macros WebIOPi Installation Walk-through Macros Installation Install WebIOPi on your Raspberry Pi Download the tar archive file: wget www.cs.unca.edu/~bruce/fall14/webiopi-0.7.0.tar.gz Uncompress: tar xvfz WebIOPi-0.7.0.tar.gz

More information

Fusesix. Design Programming Development Marketing. Fusesix Web Services South Carolina, USA. Phone: 1-573-207-5186

Fusesix. Design Programming Development Marketing. Fusesix Web Services South Carolina, USA. Phone: 1-573-207-5186 Fusesix Design Programming Development Marketing Fusesix Web Services South Carolina, USA Phone: 1-573-207-5186 Google Hangouts: Fusesix Email: sales@fusesix.com Web: Fusesix.com We provide outsourcing

More information