Application with Cross-Platform GUI

Slides:



Advertisements
Similar presentations
1/7 ITApplications XML Module Session 8: Introduction to Programming with XML.
Advertisements

What is HTML5…?. ”…removes the need for plugins” ”…can handle multimedia directly” ”…enables rich, interactive clients” ”…enables advanced visual designs”
MMDE5011 – INTERACTIVE MEDIA PRACTICE 1 WEEK 1: INTRODUCTION TO HTML5
HTML 5. What is HTML5? HTML5 will be the new standard for HTML, XHTML, and the HTML DOM. The previous version of HTML came in The web has changed.
HTML 5 Tutorial Chapter 1 Introduction. What is HTML5? HTML5 will be the new standard for HTML, XHTML, and the HTML DOM. The previous version of HTML.
WHAT IS AJAX? Zack Sheppard [zts2101] WHIM April 19, 2011.
Lecture 18. HTML5 and JavaScript Instructor: Jie Yang Department of Computer Science University of Massachusetts Lowell Exploring the Internet,
CPSC 594B: Software Engineering Project Lecture 1: Introduction to HTML5 Lecturer: Ayman Issa Office: ICT 555.
HTML 5 New Standardization of HTML. I NTRODUCTION HTML5 is The New HTML Standard, New Elements New Attributes Full CSS3 Support Video and Audio 2D/3D.
Director of Computer Center, DaYeh University Ku-Yaw Chang.
Presented by: Lan Nguyen.  Started as cooperation with:  World Wide Web Consortium  Web Hypertext Application Technology Working Group  The future.
DHTML. What is DHTML?  DHTML is the combination of several built-in browser features in fourth generation browsers that enable a web page to be more.
GIS technologies and Web Mapping Services
XP New Perspectives on XML, 2 nd Edition Tutorial 10 1 WORKING WITH THE DOCUMENT OBJECT MODEL TUTORIAL 10.
Instructor, Dr. Khalili Bahram Jeevan Kumar Gogineni.
INTRODUCTION TO JAVASCRIPT AND DOM Internet Engineering Spring 2012.
Javascript II DOM & JSON. In an effort to create increasingly interactive experiences on the web, programmers wanted access to the functionality of browsers.
WEB BASED DATA TRANSFORMATION USING XML, JAVA Group members: Darius Balarashti & Matt Smith.
Building Rich Web Applications with Ajax Linda Dailey Paulson IEEE – Computer, October 05 (Vol.38, No.10) Presented by Jingming Zhang.
Session: 1. © Aptech Ltd. 2Introduction to the Web / Session 1  Explain the evolution of HTML  Explain the page structure used by HTML  List the drawbacks.
UPLOAD / DOWNLOAD april  HTML5 is just the next iteration of HTML  Previous version was technically HTML 4.01, which incorporated XHTML 1.0.
CISC 3140 (CIS 20.2) Design & Implementation of Software Application II Instructor : M. Meyer Address: Course Page:
the acronym for Asynchronous JavaScript and XML.
JQuery and AJAX WEB Technologies : PHP Programming Language.
HTML 5 The Future of Web Development. What is HTML5? “HTML5 is a specification of how the web’s core language, HTML, should be formatted and utilized.
Rich Internet Applications 9. HTML 5 and RIAs. HTML 5 Standard currently under development by W3C Aims to improve the language with support for the latest.
Web Technology (NCS-504) Prepared By Mr. Abhishek Kesharwani Assistant Professor,UCER Naini,Allahabad.
Introduction to JavaScript MIS 3502, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 2/2/2016.
Introduction to AJAX MIS 3502, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 2/4/2016.
Let’s look what flash can do: OK, that wasn’t flash! That was HTML5.
XML DOM Week 11 Web site:
Web Design Principles 5 th Edition Chapter 3 Writing HTML for the Modern Web.
CSCI 3100 Tutorial 5 JavaScript & Ajax Jichuan Zeng Department of Computer Science and Engineering The Chinese University of Hong.
Agenda * What is HTML5 -- Its history and motivation * HTML/XHTML as Human / Machine Readable Format * HTML and its related technologies * Brief summary.
XHTML. What Is XHTML? XHTML stands for EXtensible HyperText Markup Language XHTML is almost identical to HTML XHTML is stricter than HTML XHTML is HTML.
The HTML5 logo was introduced by W3C in 2010
Chapter 17 The Need for HTML 5.
DHTML.
Introduction to Web Basics and HTML5
CROSS PLATFORM (LIBRARIES AND GUI) AND TINY HTTP SERVER
Web Technologies Computing Science Thompson Rivers University
JavaScript and Ajax (Ajax Tutorial)
Google Web Toolkit Tutorial
HTML5 – The Saga Continues
Introduction to HTML5.
HTML 5 Tutorial Chapter 1 Introduction.
AJAX.
Asynchronous Java script And XML Technology
AJAX.
Prepared for Md. Zakir Hossain Lecturer, CSE, DUET Prepared by Miton Chandra Datta
Introduction to AJAX MIS 3502 Jeremy Shafer Department of MIS
Web Systems Development (CSC-215)
Introduction to JavaScript
JavaScript Introduction
Week 11 Web site: XML DOM Week 11 Web site:
Introduction to AJAX MIS 3502 Jeremy Shafer Department of MIS
A second look at JavaScript
Silverlight Technology
ISC440: Web Programming 2 AJAX
MIS JavaScript and API Workshop (Part 3)
Introduction to HTML5.
Introduction to JavaScript
Creating a Basic Web Page using HTML
Web Technologies Computing Science Thompson Rivers University
Advanced Concepts and AJAX
Introduction to JavaScript & jQuery
Ajax and JSON Jeremy Shafer Department of MIS Fox School of Business
Ajax and JSON Jeremy Shafer Department of MIS Fox School of Business
Creating dynamic/interactive web pages
Web Application Development Using PHP
Presentation transcript:

Application with Cross-Platform GUI Zhuo Zhang

Agenda Technique Overview Project Plan Document Object Model (DOM) HTML5 JavaScript AJAX Project Plan

Technique Overview DOM, HTML5, JavaScript, AJAX

Document Object Model (DOM) The Document Object Model is a platform- and language- neutral interface that will allow programs and scripts to dynamically access and update the content, structure and style of documents. The document can be further processed and the results of that processing can be incorporated back into the presented page. This is an overview of DOM-related materials here at W3C and around the web. https://www.w3.org/DOM/ Example: HTML, XML -If pick up one character as essential: O – Object -The object model behind allow us to easily access and manipulate the document -We use DOM a lot like HTML and XML, we made a related project in OOD course -Next: html example

DOM HTML Example -A simple HTML page -The page is ranged by different tags and relationships among the tags. -Using DOM, HTML is easy to be read by both human and interpreter, because it is using linear structure to store tree structure -DOM supports some universal attributes like id. Id attribute could be applied to any DOM tags, and it allows us to find a specific tag

DOM Internal Structure -Tree structure -The parent and children relationship make it easy to add, remove or change nodes inside -Also such tree structure is easily being changed to linear ones

HTML5 Finalized and published, on 28 October 2014 Previous version: HTML4 (1997) Aims  improve the language with support for the latest multimedia keep it easily readable by humans and consistently understood by computers and devices (web browsers, parsers, etc.). -It was a long gap between previous version and HTML5 -A lot of alternative technologies appeared trying to fill the gap, like JAVA(Applet), Flash, Silverlight -They all requires browser plug-ins and are not very stable to use.

HTML5 New Features (partial) New semantic elements like <header>, <footer>, <article>, and <section>. New form control attributes like number, date, time, calendar, and range. New graphic elements: <svg> and <canvas>. New multimedia elements: <audio> and <video>. New APIs: Geolocation, Drag and Drop, Local Storage, Application Cache, Web Workers, SSE -Graphic elements: allow us to dynamically draw graph on the web page -Multimedia elements: allow us to get rid of plug-ins -Geolocation: location -Web Workers: background thread -SSE: Server-Sent Events, A server-sent event is when a web page automatically gets updates from a server.

JavaScript JavaScript is the programming language of HTML and the Web. It is part of DOM, interpreted by JavaScript engine (included by all modern browsers) It could Do programmatic operations like other languages Manipulate DOM -Operations with DOM bring us ways to change the appearance of the page dynamically -JavaScript is interpreted by browser, what means it is running on the client side. Once the code is sent, the execution do not involve the server side, providing a significant execution speed. -JavaScript is a part of DOM, what means it can manipulate itself, or could be replaced by new content sent from server

JavaScript Example

JavaScript Example

JavaScript Example

JavaScript Example

AJAX Asynchronous JavaScript and XML A technique for creating fast and dynamic web pages Examples of applications using AJAX: Google Maps, Gmail, YouTube, and Facebook. -it is possible to update parts of a web page, without reloading the whole page using AJAX -Due to time limitation, AJAX will be explained in detail with demonstration in next presentation.

Project Plan Cross-Platform GUI Application

Goals Give Project1 a cross-platform graphic user interface Make new glue code for Project1 Develop a GUI using techniques introduced previously Make a wrapper for HTTP pluggable servers -New glue code for project 1: so it knows how to interact with HTTP server -Wrapper: can use any HTTP server to handle the communication

High-Level Structure

References [1] https://en.wikipedia.org/wiki/HTML5 [2] http://www.w3schools.com/html/html5_intro.asp [3] http://www.w3schools.com/js/default.asp [4] http://www.w3schools.com/ajax/ajax_intro.asp