HTML5 for Java Developers. Sang Shin Founder and Chief Instructor JPassion.com

Size: px
Start display at page:

Download "HTML5 for Java Developers. Sang Shin Founder and Chief Instructor JPassion.com"

Transcription

1 HTML5 for Java Developers Sang Shin Founder and Chief Instructor JPassion.com

2 A few words before we start This is 1-hour version of 3-day HTML5 codecamp :-) You can get the codecamp materials (slides, hands-on labs, recordings) from below available until May 21st (Wednesday) > We are going to cover the following topics as much as we can and as much demo as possible > Geolocation > Media > Storage > WebWorker, SSE, Drag & Drop > Messaging > WebSocket (most important) > WebRTC 2

3 HTML5 Geolocation 3 3

4 Sources of Location Metadata A device can use any combination of the following sources > IP address > Coordinate triangulation > Global Positioning System (GPS) > Wi-Fi access point > GSM or CDMA cell phone IDs > User defined 4

5 IP address-based Location Data How it works > HTTP request has IP address of the sender Pros > Available everywhere Cons > Might not be accurate accuracy granularity is only to the city level > The IP address might be the one of the service provider not the client machine itself Example > Website selects a default language (or customized contents) based on the IP addresses of its clients 5

6 GPS-based Location Data How it works > Devices passively receive signals from multiple GPS satellites and then compute its location Pros > High accuracy Cons > Require an unobstructed view of the sky, so they generally can be used outdoors and they often do not perform well within forested areas or near tall buildings > Might take long time to get the location data > Require GPS-hardware 6

7 Wi-Fi based Location Data How it works > Devices computes the location using the distances from multiple Wi-Fi access points (It is called WiFi-triangulation) Pros > High accuracy > Works indoors > Fast Cons > Does not work well where Wi-Fi access points are scarce (rural areas) 7

8 Cell Phone Location Data How it works > Devices computes the location using the distances from multiple Cell phone towers Pros > Fair accuracy > Works indoors > Fast Cons > Does not work where cell phone towers are scarce (rural areas) 8

9 Geolocation API One-time position request void getcurrentposition(positioncallback successcallback, optional PositionErrorCallback errorcallback, optional PositionOptions options); Repeating position request long watchposition(positioncallback successcallback, optional PositionErrorCallback errorcallback, optional PositionOptions options); void clearwatch(long watchid); 9

10 Demo: HTML5 Geolocation 10

11 HTML5 Media 1111

12 Why HTML5 Video? Runs native in the browser > No plug-in required Simpler coding > No need to have different coding for different formats Can be manipulated just like any other DOM element > Transformation (moving, resizing) & styling can be performed It is the standard > Future proof > No vendor lock-in > Wide-adoption 12

13 <audio>/<video> HTML5 defines new elements which specify a standard way to embed an audio/video file on a web page > <audio> > <video> 13

14 Video Containers An video file is container file, which contains > Video stream > Audio stream > Meta data The video and audio streams are combined to play video The meta data includes > title, subtitle, cover art, captioning info., etc 14

15 Video Container File Formats MP4 (video_file.mp4) > H.264 (video codec format) + AAC (audio codec format) Ogg (video_file.org or video_file.ogg) > Theora (video codec format) + Vorbis (audio codec format) WebM (video_file.webm) > VP8 (video codec format) + Vorbis (audio codec format)... 15

16 What is and Why Video/Audio Codec? What are codecs? > Codecs (Coders/Decoders) are algorithms used to encode and decode a particular video/audio stream so that they can played back Why codecs? > Raw media files too big to transmit over the internet Example video codecs > H.264, VP8, Ogg Theora Example audio codecs > AAC, MPEC-3, Orgg Vorbis 16

17 Video Codecs and Browser Support There is NOT a single Codec that is being supported by all browsers at this point :-( MP4/H.264 > Chrome, Safari, IE9, Firefox* > Potential royalty payment issue WebM > Chrome, Firefox, Opera, IE9 > Open source Ogg Theora > Chrome, Firefox, Opera > Open source 17

18 <video...> With a single source <video src="movie.webm" controls> Your browser does not support HTML5 video. <video> With multiple sources <video width="320" height="240" controls> <source src="movie.mp4" type="video/mp4"> <source src="movie.ogg" type="video/ogg"> <source src="movie.webm" type="video/webm"> <object data="movie.mp4" width="320" height="240"> <embed src="movie.swf" width="320" height="240"> </object> </video> 18

19 <video> element Attributes controls autoplay poster loop preload width/height 19

20 <track> sub-element (of <video> element) Used for providing time triggered text to the viewer 5 Info. types of tracks Subtitles Captions Chapters - Used to create navigation within the video Descriptions (not supported yet) - Text descriptions of what's happening in the video > Metadata (not supported yet) - Tracks that have data meant for javascript to parse and do something with. These aren't shown to the user > > > > WebVTT format 20

21 <track> sub-element with attributes A video with two subtitle tracks - English subtitle is the default. <video width="320" height="240" controls> <source src="forrest_gump.mp4" type="video/mp4"> <source src="forrest_gump.ogg" type="video/ogg"> <track kind="subtitles" src="subtitles_en.vtt" srclang="en" label="english" default> <track kind="subtitles" src="subtitles_ko.vtt" srclang="ko" label="korean"> </video> 21

22 Demo: HTML5 Media 22

23 HTML5 Offline Storage 2323

24 HTML5 Offline Storage Types Application Cache Local and session storage IndexedDB File system 24

25 Why Application Cache (AppCache)? Why Application cache? > Existing browsers have caching mechanisms, but they're unreliable and don't always work as you might expect > Existing browsers do not allow app-specific control for developers Application cache enables > Offline browsing - users can navigate your full site even when they're offline > Higher speed - cached resources are local, and therefore load faster > Reduced server load - the browser will only download resources from the server that have changed Where Application cache information specified? > In the Application cache manifest file 25

26 Application Cache Manifest File What is application cache manifest file for? > You specify which application files the browser should cache and make available to offline users through App. Cache Manifest file Where do you specify the location of application cache manifest file? > In the <html..> tag with manifest attribute <!DOCTYPE html> <html manifest="my_cache1.appcache"> <head>... </head> <body>... </body> </html> 26

27 HTML5 Storage API Session storage API > Persists only as long as the window or a tab is alive > Values are visible only within the window or tab in which it is created > Survives page reloading but will be deleted when the user closes the window or the tab > Good for storing sensitive data Local storage API > Persists beyond page restarts > Values are shared across every window or tab from the same origin > Good for storing preferences Only String datatype 27

28 What is and Why IndexedDB? Local storage vs. IndexedDB > Local storage - lets you store data using a simple key-value pair > IndexedDB - a more powerful option, lets you locally store large numbers of objects and retrieve data using robust data access mechanisms Replaces Web SQL > WebSQL Database is deprecated by W3C in 2010 > WebSQL Database is a relational database access system, whereas IndexedDB is an indexed table system. > IndexedDB provides indexing, transactions, querying, cursor support 28

29 FileSystem APIs What is FileSystem APIs? > With the FileSystem API, a web app can create, read, navigate, and write to a sandboxed section of the user's local file system 3 Types of FileSystem APIs > Reading and manipulating files: File/Blob, FileList, FileReader > Creating and writing: Blob(), FileWriter > Directories and file system access: DirectoryReader, FileEntry/DirectoryEntry, LocalFileSystem 29

30 Asking for more storage For persistent storage for Files System API, the default quota is 0, so you need to explicitly request storage for your application. Call requestquota() with the following > Type of storage > Size > Success callback // Request Quota (only for File System API) window.webkitstorageinfo.requestquota(persistent, 1024*1024, function(grantedbytes) { window.webkitrequestfilesystem(persistent, grantedbytes, oninitfs, errorhandler); }, function(e) { console.log('error', e); }); 30

31 Demo: HTML5 Storage 31

32 Web Workers, Server-Sent Events (SSE), Drag & Drop 3232

33 Why Web Worker? Without Web workers > Long-running JavaScript tasks can block other JavaScript tasks > Cause browser UI hang With Web workers > Background processing through the web workers > No more unresponsive script warning > Caller and web worker can send/receive messages 33

34 What is SSE? A client web app "subscribes" to a stream of updates generated by a server and, whenever a new event occurs Useful for one-directional server to client data stream > Stock tickers > News feeds 34

35 SSE vs WebSocket SSE is one-directional (server to client) while WebSocket is bi-directional SSE data is sent over traditional HTTP while WebSocket data is sent over WebSocket channel > SSE server does not need to have additional software SSE has features that WebSocket does not > Automatic reconnection > Event IDs > Ability to send arbitrary events. 35

36 Players in Drag and Drop Scheme Source element (where the drag originates) > The source element can be an image, list, link, file object, block of HTML...you name it Target (an area to catch the drop) > The target is the drop zone (or set of drop zones) that accepts the data the user is trying to drop > Not all elements can be targets (e.g. images) > An element can be both a source and a target Data payload (what we're trying to drop) 36

37 Dragging Events There are a number of different events to attach to for monitoring the entire drag and drop process dragstart event > Used with source to initiate the drag-and-drop operation drag event > Used with source to continue the drag-and-drop operation dragenter, dragleave, dragover event > Used with targets to provide visual cues during the drag process drop event > Used with current target to handle the drop dragend event > Used with source to handle the drop is done 37

38 Demo: HTML5 WebWorker, SSE, Drag & Drop 38

39 HTML5 Cross-Domain Messaging 3939

40 What is Same Origin Policy? The same origin policy does not allow JavaScript code loaded from one origin accessing or communicating with documents from another origin > In other words, documents retrieved from distinct origins are isolated from each other JavaScript codes are considered from the same origin only if they are loaded from the sites that have the same > protocol ( ws:, wss:) > host > port The same origin policy is imposed by browsers 40

41 Same Origin Policy Examples The JavaScript code from can access the following documents since they are considered from same origin > > But it cannot access the following documents since they are considered from different origins > (different protocol) > (different port) > (different host) 41

42 Issues of SOP dealt with in HTML5 Issue #1 > A document running in a window A (or iframe A) cannot access a document running in window B (or iframe B) > HTML5 solves this through Cross-Domain Messaging Issue #2 > A document loaded from origin A cannot access service running in Origin B through traditional XHR > HTML5-enabled browsers supports Cross-Origin Resource Sharing (CORS) and CORS-enabled XMLHttpRequest2 (XHR2) 42

43 What is & Why Cross-Domain Messaging? Before Cross-Domain Messaging, communications between iframes, windows, tabs are disallowed by browser > In order to prevent XSS Cross-Domain Messaging enables secure cross-domain messaging across iframes, windows, tabs regardless of origins of the documents they loaded > These iframes, windows, tabs can send/receive data to/from other iframes, windows, and tabs of different origins 43

44 CORS Scheme The HTTP request is sent with an extra header called Origin > The Origin header contains the origin (protocol, domain name, and port) of the requesting page so that the server can easily determine whether or not it should serve the response > Origin: If the server decides that the request should be allowed, it sends a Access-Control-Allow-Origin header echoing back the same origin that was sent or * if it s a public resource > If this header is missing, or the origins don t match, then the browser disallows the request > Access-Control-Allow-Origin: > Access-Control-Allow-Origin: * 44

45 XMLHttpRequest2 (XHR2) Modern browsers create CORS-aware XHR object (sometimes called XHR2) with the Origin header automatically > If the CORS-enabled server sends back with Access-Control-Allow- Origin header with proper value, then the browser will allows crossdomain access var xhr = new XMLHttpRequest(); xhr.open("get", " true); xhr.onload = function(){ //instead of onreadystatechange //do something }; xhr.send(null); 45

46 Demo: HTML5 Cross-Domain Messaging 46

47 Learn with Passion! JPassion.com 4747

Technologies Web Côté client

Technologies Web Côté client Technologies Web Côté client INF228 2013 Multimedia and the Web 218 Multimedia Formats on the Web Images JPG, PNG, GIF, SVG, WebP, SVG Video Container vs. Codec Containers: MP4, OGG, MPEG-2, WebM Codecs:

More information

IDM 221. Web Design I. IDM 221: Web Authoring I 1

IDM 221. Web Design I. IDM 221: Web Authoring I 1 IDM 221 Web Design I IDM 221: Web Authoring I 1 Week 8 IDM 221: Web Authoring I 2 Media on the Web IDM 221: Web Authoring I 3 Before we cover how to include media files in a web page, you need to be familiar

More information

HTML 5 and CSS 3, Illustrated Complete. Unit K: Incorporating Video and Audio

HTML 5 and CSS 3, Illustrated Complete. Unit K: Incorporating Video and Audio HTML 5 and CSS 3, Illustrated Complete Unit K: Incorporating Video and Audio Objectives Understand Web video and audio Use the video element Incorporate the source element Control playback HTML 5 and CSS

More information

CITS3403 Agile Web Development Semester 1, 2016

CITS3403 Agile Web Development Semester 1, 2016 6 Video, Audio and Canvas CITS3403 Agile Web Development Semester 1, 2016 The audio Element Prior to HTML5, a plug- in was required to play sound while a document was being displayed Audio encoding algorithms

More information

the web as it should be Martin Beeby

the web as it should be Martin Beeby the web as it should be Martin Beeby - @thebeebs paving the way to the end user Hotbed of innovation World of standards Ever-closer user experiences in the beginning mosaic netscape navigator internet

More information

HTML5 HTML & Fut ure o Web M edi dia Streami a est Work h op, ov 2010 Michael Dale Zohar Babin eve oper o Dev R l e t a i tions & C

HTML5 HTML & Fut ure o Web M edi dia Streami a est Work h op, ov 2010 Michael Dale Zohar Babin eve oper o Dev R l e t a i tions & C HTML5 &F Future of fweb bmedia Streaming Media West Workshop, Nov. 2010 Michael Dale Zohar Babin Senior Developer Head of Dev Relations & Community michael.dale@kaltura.com zohar.babin@kaltura.com @michael_dale

More information

HTML5 MOCK TEST HTML5 MOCK TEST I

HTML5 MOCK TEST HTML5 MOCK TEST I http://www.tutorialspoint.com HTML5 MOCK TEST Copyright tutorialspoint.com This section presents you various set of Mock Tests related to HTML5 Framework. You can download these sample mock tests at your

More information

Index LICENSED PRODUCT NOT FOR RESALE

Index LICENSED PRODUCT NOT FOR RESALE Index LICENSED PRODUCT NOT FOR RESALE A Absolute positioning, 100 102 with multi-columns, 101 Accelerometer, 263 Access data, 225 227 Adding elements, 209 211 to display, 210 Animated boxes creation using

More information

8/19/2018. Web Development & Design Foundations with HTML5. Learning Objectives (1 of 2) Learning Objectives (2 of 2) Helper Applications & Plug-Ins

8/19/2018. Web Development & Design Foundations with HTML5. Learning Objectives (1 of 2) Learning Objectives (2 of 2) Helper Applications & Plug-Ins Web Development & Design Foundations with HTML5 Ninth Edition Chapter 11 Web Multimedia and Interactivity Slides in this presentation contain hyperlinks. JAWS users should be able to get a list of links

More information

Fundamentals of Website Development

Fundamentals of Website Development Fundamentals of Website Development CSC 2320, Fall 2015 The Department of Computer Science In this chapter History of HTML HTML 5-2- 1 The birth of HTML HTML Blows and standardization -3- -4-2 HTML 4.0

More information

16. HTML5, HTML Graphics, & HTML Media 웹프로그래밍 2016 년 1 학기 충남대학교컴퓨터공학과

16. HTML5, HTML Graphics, & HTML Media 웹프로그래밍 2016 년 1 학기 충남대학교컴퓨터공학과 16. HTML5, HTML Graphics, & HTML Media 웹프로그래밍 2016 년 1 학기 충남대학교컴퓨터공학과 목차 HTML5 Introduction HTML5 Browser Support HTML5 Semantic Elements HTML5 Canvas HTML5 SVG HTML5 Multimedia 2 HTML5 Introduction What

More information

HTML5 - INTERVIEW QUESTIONS

HTML5 - INTERVIEW QUESTIONS HTML5 - INTERVIEW QUESTIONS http://www.tutorialspoint.com/html5/html5_interview_questions.htm Copyright tutorialspoint.com Dear readers, these HTML5 Interview Questions have been designed specially to

More information

HTML5: MULTIMEDIA. Multimedia. Multimedia Formats. Common Video Formats

HTML5: MULTIMEDIA. Multimedia. Multimedia Formats. Common Video Formats LEC. 5 College of Information Technology / Department of Information Networks.... Web Page Design/ Second Class / Second Semester HTML5: MULTIMEDIA Multimedia Multimedia comes in many different formats.

More information

The Web, after HTML5. Jonghong Jeon. 9 December 2015

The Web, after HTML5. Jonghong Jeon. 9 December 2015 The Web, after HTML5 Jonghong Jeon hollobit@etri.re.kr 9 December 2015 1 hollobit@etri.re.kr 2 3 Agenda What s mean HTML5 is done Starting point Adaptation, Certification, Interoperability Challenge to

More information

HTML5. Language of the Modern Web. By: Mayur Agrawal. Copyright TIBCO Software Inc.

HTML5. Language of the Modern Web. By: Mayur Agrawal. Copyright TIBCO Software Inc. HTML5 Language of the Modern Web By: Mayur Agrawal Copyright 2000-2015 TIBCO Software Inc. Content Exploring prior standards Why HTML5? HTML5 vs HTML4 Key Features of HTML5 HTML5 and Technical Writing

More information

HTML Forms. CITS3403 Agile Web Development. 2018, Semester 1

HTML Forms. CITS3403 Agile Web Development. 2018, Semester 1 HTML Forms CITS3403 Agile Web Development 2018, Semester 1 Some material Copyright 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley. Forms A form is the usual way to get information from

More information

HTML5 a clear & present danger

HTML5 a clear & present danger HTML5 a clear & present danger Renaud Bidou CTO 1/29/2014 Deny All 2012 1 1/29/2014 Deny All 2013 1 Menu 1. HTML5 new capabilities 2. HTML5 tricks 3. Empowering common threats 4. Hackers dreams come true

More information

COURSE OUTLINE MOC 20480: PROGRAMMING IN HTML5 WITH JAVASCRIPT AND CSS3

COURSE 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 information

Multimedia Information Systems

Multimedia Information Systems Multimedia Information Systems VU (707.020) Vedran Sabol KTI, TU Graz Nov 09, 2015 Vedran Sabol (KTI, TU Graz) Multimedia Information Systems Nov 09, 2015 1 / 67 Outline 1 Introduction 2 Drawing in the

More information

The course also includes an overview of some of the most popular frameworks that you will most likely encounter in your real work environments.

The 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 information

Programming in HTML5 with JavaScript and CSS3

Programming in HTML5 with JavaScript and CSS3 Programming in HTML5 with JavaScript and CSS3 20480B; 5 days, Instructor-led Course Description This course provides an introduction to HTML5, CSS3, and JavaScript. This course helps students gain basic

More information

Everything you need to know to get you started. By Kevin DeRudder

Everything you need to know to get you started. By Kevin DeRudder Everything you need to know to get you started with HTML5 By Kevin DeRudder @kevinderudder working for eguidelines and a lecturer at the Technical University of West Flanders. Contact me on kevin@e-guidelines.be

More information

Lesson 5: Multimedia on the Web

Lesson 5: Multimedia on the Web Lesson 5: Multimedia on the Web Lesson 5 Objectives Define objects and their relationships to multimedia Explain the fundamentals of C, C++, Java, JavaScript, JScript, C#, ActiveX and VBScript Discuss

More information

What is HTML5? The previous version of HTML came in The web has changed a lot since then.

What is HTML5? The previous version of HTML came in The web has changed a lot since then. What is HTML5? HTML5 will be the new standard for HTML, XHTML, and the HTML DOM. The previous version of HTML came in 1999. The web has changed a lot since then. HTML5 is still a work in progress. However,

More information

Developer's HTML5. Cookbook. AAddison-Wesley. Chuck Hudson. Tom Leadbetter. Upper Saddle River, NJ Boston Indianapolis San Francisco

Developer's HTML5. Cookbook. AAddison-Wesley. Chuck Hudson. Tom Leadbetter. Upper Saddle River, NJ Boston Indianapolis San Francisco HTML5 Developer's Cookbook Chuck Hudson Tom Leadbetter AAddison-Wesley Upper Saddle River, NJ Boston Indianapolis San Francisco New York Toronto Montreal London Munich Paris Madrid Capetown Sydney Tokyo

More information

Build Native-like Experiences in HTML5

Build Native-like Experiences in HTML5 Developers Build Native-like Experiences in HTML5 The Chrome Apps Platform Joe Marini - Chrome Developer Advocate About Me Joe Marini Developer Relations Lead - Google Chrome google.com/+joemarini @joemarini

More information

Building Native Mapping Apps with PhoneGap: Advanced Techniques Andy

Building Native Mapping Apps with PhoneGap: Advanced Techniques Andy Building Native Mapping Apps with PhoneGap: Advanced Techniques Andy Gup @agup Agenda Application life-cycle Working with UI frameworks Security Geolocation Offline Expectations Experience with PhoneGap

More information

Course 20480: Programming in HTML5 with JavaScript and CSS3

Course 20480: Programming in HTML5 with JavaScript and CSS3 Course 20480: Programming in HTML5 with JavaScript and CSS3 Overview About this course This course provides an introduction to HTML5, CSS3, and JavaScript. This course helps students gain basic HTML5/CSS3/JavaScript

More information

Flash, Video. How to add Flash movies into your site How to add video and audio to your site HTML5 <video> and <audio> elements

Flash, Video. How to add Flash movies into your site How to add video and audio to your site HTML5 <video> and <audio> elements 9 Flash, Video & Audio XX XX X X How to add Flash movies into your site How to add video and audio to your site HTML5 and elements Flash is a very popular technology used to add animations,

More information

COURSE 20480B: PROGRAMMING IN HTML5 WITH JAVASCRIPT AND CSS3

COURSE 20480B: PROGRAMMING IN HTML5 WITH JAVASCRIPT AND CSS3 ABOUT THIS COURSE This course provides an introduction to HTML5, CSS3, and JavaScript. This course helps students gain basic HTML5/CSS3/JavaScript programming skills. This course is an entry point into

More information

Ajax 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 information

CMPT 165 Notes on HTML5

CMPT 165 Notes on HTML5 CMPT 165 Notes on HTML5 Nov. 26 th, 2015 HTML5 Why bother? HTML is constantly evolving HTLM5 is latest version New (more semantically meaningful) markup tags: Old (vs. new) tags: New tags

More information

Kaazing Gateway. Open Source HTML 5 Web Socket Server

Kaazing Gateway. Open Source HTML 5 Web Socket Server Kaazing Gateway Open Source HTML 5 Web Socket Server Speaker John Fallows Co-Founder: Kaazing Co-Author: Pro JSF and Ajax, Apress Participant: HTML 5 Community Agenda Networking Review HTML 5 Communication

More information

White Paper: HTML5 Streaming (Plug-in Free Web Viewer) hanwhasecurity.com

White Paper: HTML5 Streaming (Plug-in Free Web Viewer) hanwhasecurity.com White Paper: HTML5 Streaming (Plug-in Free Web Viewer) hanwhasecurity.com Overview and Background Overview Existing web viewers require a plug-in (ActiveX, Silverlight, or NPAPI) to be installed to use

More information

Next... Next... Handling the past What s next - standards and browsers What s next - applications and technology

Next... Next... Handling the past What s next - standards and browsers What s next - applications and technology Next... Handling the past What s next - standards and browsers What s next - applications and technology Next... Handling the past What s next - standards and browsers What s next - applications and technology

More information

HTML5 in Action ROB CROWTHER JOE LENNON ASH BLUE GREG WANISH MANNING SHELTER ISLAND

HTML5 in Action ROB CROWTHER JOE LENNON ASH BLUE GREG WANISH MANNING SHELTER ISLAND HTML5 in Action ROB CROWTHER JOE LENNON ASH BLUE GREG WANISH MANNING SHELTER ISLAND brief contents PART 1 INTRODUCTION...1 1 HTML5: from documents to applications 3 PART 2 BROWSER-BASED APPS...35 2 Form

More information

Lesson 5: Multimedia on the Web

Lesson 5: Multimedia on the Web Lesson 5: Multimedia on the Web Learning Targets I can: Define objects and their relationships to multimedia Explain the fundamentals of C, C++, Java, JavaScript, JScript, C#, ActiveX and VBScript Discuss

More information

W3C Geolocation API. Making Websites Location-aware

W3C Geolocation API. Making Websites Location-aware W3C Geolocation API Making Websites Location-aware me Director of Consumer Products at Skyhook Wireless Founded Locationaware.org which eventually became W3C Geolocation API Working Group Follow @rsarver

More information

How Libre can you go?

How Libre can you go? How Libre can you go? Reaching as many viewers as possible using only libre video technologies. Phil Cluff, February 2019 Reaching as many viewers as possible using only libre video technologies. Reaching

More information

20480C: Programming in HTML5 with JavaScript and CSS3. Course Code: 20480C; Duration: 5 days; Instructor-led. JavaScript code.

20480C: Programming in HTML5 with JavaScript and CSS3. Course Code: 20480C; Duration: 5 days; Instructor-led. JavaScript code. 20480C: Programming in HTML5 with JavaScript and CSS3 Course Code: 20480C; Duration: 5 days; Instructor-led WHAT YOU WILL LEARN This course provides an introduction to HTML5, CSS3, and JavaScript. This

More information

RKN 2015 Application Layer Short Summary

RKN 2015 Application Layer Short Summary RKN 2015 Application Layer Short Summary HTTP standard version now: 1.1 (former 1.0 HTTP /2.0 in draft form, already used HTTP Requests Headers and body counterpart: answer Safe methods (requests): GET,

More information

Interactive feature: HTML5 video for

Interactive feature: HTML5 video for Interactive feature: HTML5 video for email 2 HTML5 video for email Feature background Why use it? When to use it (determining usage suitability)? Which email reading environments support this? Notes for

More information

Computer Systems Department, University of Castilla-La Mancha Albacete, Spain

Computer Systems Department, University of Castilla-La Mancha Albacete, Spain Review of the HTML5 API Computer Systems Department, University of Castilla-La Mancha Albacete, Spain felix.albertos@uclm.es 5th June 2018 Félix Albertos Marco ICWE 2018 TUTORIAL Review of the HTML5 API

More information

AJAX ASYNCHRONOUS JAVASCRIPT AND XML. Laura Farinetti - DAUIN

AJAX 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 information

AJAX: Rich Internet Applications

AJAX: 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 information

Building Web Applications with HTML5, CSS3, and Javascript: An Introduction to HTML5

Building Web Applications with HTML5, CSS3, and Javascript: An Introduction to HTML5 Building Web Applications with HTML5, CSS3, and Javascript: An Introduction to HTML5 Jason Clark Head of Digital Access & Web Services Montana State University Libraries pinboard.in #tag pinboard.in/u:jasonclark/t:lita-html5/

More information

Ajax 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 information

Browser code isolation

Browser code isolation CS 155 Spring 2016 Browser code isolation John Mitchell Acknowledgments: Lecture slides are from the Computer Security course taught by Dan Boneh and John Mitchell at Stanford University. When slides are

More information

Master Project Software Engineering: Team-based Development WS 2010/11

Master Project Software Engineering: Team-based Development WS 2010/11 Master Project Software Engineering: Team-based Development WS 2010/11 Implementation, September 27 th, 2011 Glib Kupetov Glib.Kupetov@iese.fraunhofer.de Tel.: +49 (631) 6800 2128 Sebastian Weber Sebastian.Weber@iese.fraunhofer.de

More information

NEW WEBMASTER HTML & CSS FOR BEGINNERS COURSE SYNOPSIS

NEW WEBMASTER HTML & CSS FOR BEGINNERS COURSE SYNOPSIS NEW WEBMASTER HTML & CSS FOR BEGINNERS COURSE SYNOPSIS LESSON 1 GETTING STARTED Before We Get Started; Pre requisites; The Notepad++ Text Editor; Download Chrome, Firefox, Opera, & Safari Browsers; The

More information

Introduction to HTML 5. Brad Neuberg Developer Programs, Google

Introduction to HTML 5. Brad Neuberg Developer Programs, Google Introduction to HTML 5 Brad Neuberg Developer Programs, Google The Web Platform is Accelerating User Experience XHR CSS DOM HTML iphone 2.2: Nov 22, 2008 canvas app cache database SVG Safari 4.0b: Feb

More information

IGME-330. Rich Media Web Application Development I Week 1

IGME-330. Rich Media Web Application Development I Week 1 IGME-330 Rich Media Web Application Development I Week 1 Developing Rich Media Apps Today s topics Tools we ll use what s the IDE we ll be using? (hint: none) This class is about Rich Media we ll need

More information

October 08: Introduction to Web Security

October 08: Introduction to Web Security October 08: Introduction to Web Security Scribe: Rohan Padhye October 8, 2015 Web security is an important topic because web applications are particularly hard to secure, and are one of the most vulnerable/buggy

More information

HTML5. for Masterminds. (1st Edition) J.D Gauchat

HTML5. for Masterminds. (1st Edition) J.D Gauchat HTML5 for Masterminds (1st Edition) J.D Gauchat Copyright 2011 Juan Diego Gauchat All Rights Reserved Edited by: Laura Edlund www.lauraedlund.ca No part of this work may be reproduced or transmitted in

More information

Top Trends in elearning. September 15 & 16, Is HTML5 Ready for elearning? Debbie Richards, Creative Interactive Ideas

Top Trends in elearning. September 15 & 16, Is HTML5 Ready for elearning? Debbie Richards, Creative Interactive Ideas Top Trends in elearning September 15 & 16, 2011 501 Is HTML5 Ready for elearning? Is HTML5 Ready for elearning? Polls 1 and 3 2 Session 501 Is HTML5 Ready for elearning? Page 1 What s Covered in This Session?

More information

Multimedia im Netz Online Multimedia Winter semester 2015/16

Multimedia im Netz Online Multimedia Winter semester 2015/16 Multimedia im Netz Online Multimedia Winter semester 2015/16 Tutorial 09 Minor Subject Ludwig-Maximilians-Universität München Online Multimedia WS 2015/16 - Tutorial 09 (NF) - 1 Today s Agenda Quick Test

More information

F FAILboard Pro, File Transfer Protocol (FTP) application

F FAILboard Pro, File Transfer Protocol (FTP) application A, B Adobe Dreamweaver CS5.5 compression compressed, obscured, and alien like jquery code, 236 uncompressed jquery script, 235 HTML5 Boilerplate, 240 PhoneGap, 256 Adobe Fireworks design comp, 143, 144

More information

Building Game Development Tools with App Engine, GWT, and WebGL. Lilli Thompson 5/10/2011

Building Game Development Tools with App Engine, GWT, and WebGL. Lilli Thompson 5/10/2011 Building Game Development Tools with App Engine, GWT, and WebGL Lilli Thompson 5/10/2011 FEEDBACK: Please provide feedback on this session at http://goo.gl/ij56w HASHTAGS: #io2011, #DevTools Overview Who

More information

Varargs Training & Software Development Centre Private Limited, Module: HTML5, CSS3 & JavaScript

Varargs Training & Software Development Centre Private Limited, Module: HTML5, CSS3 & JavaScript PHP Curriculum Module: HTML5, CSS3 & JavaScript Introduction to the Web o Explain the evolution of HTML o Explain the page structure used by HTML o List the drawbacks in HTML 4 and XHTML o List the new

More information

footer, header, nav, section. search. ! Better Accessibility.! Cleaner Code. ! Smarter Storage.! Better Interactions.

footer, header, nav, section. search. ! Better Accessibility.! Cleaner Code. ! Smarter Storage.! Better Interactions. By Sruthi!!!! HTML5 was designed to replace both HTML 4, XHTML, and the HTML DOM Level 2. It was specially designed to deliver rich content without the need for additional plugins. The current version

More information

UI Course HTML: (Html, CSS, JavaScript, JQuery, Bootstrap, AngularJS) Introduction. The World Wide Web (WWW) and history of HTML

UI 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 information

Comet and WebSocket Web Applications How to Scale Server-Side Event-Driven Scenarios

Comet and WebSocket Web Applications How to Scale Server-Side Event-Driven Scenarios Comet and WebSocket Web Applications How to Scale Server-Side Event-Driven Scenarios Simone Bordet sbordet@intalio.com 1 Agenda What are Comet web applications? Impacts of Comet web applications WebSocket

More information

Panopto 5.5 Release Notes

Panopto 5.5 Release Notes Panopto 5.5 Release Notes Panopto 5.5.0 Release Notes Headline features Canvas Gradebook Integration Panopto sessions can now be added as assignments in the Canvas LMS, and students scores on Panopto quizzes

More information

How to Edit Your Website

How to Edit Your Website How to Edit Your Website A guide to using your Content Management System Overview 2 Accessing the CMS 2 Choosing Your Language 2 Resetting Your Password 3 Sites 4 Favorites 4 Pages 5 Creating Pages 5 Managing

More information

JOE WIPING OUT CSRF

JOE WIPING OUT CSRF JOE ROZNER @JROZNER WIPING OUT CSRF IT S 2017 WHAT IS CSRF? 4 WHEN AN ATTACKER FORCES A VICTIM TO EXECUTE UNWANTED OR UNINTENTIONAL HTTP REQUESTS WHERE DOES CSRF COME FROM? 6 SAFE VS. UNSAFE Safe GET HEAD

More information

20480B: Programming in HTML5 with JavaScript and CSS3

20480B: Programming in HTML5 with JavaScript and CSS3 20480B: Programming in HTML5 with JavaScript and CSS3 Course Details Course Code: Duration: Notes: 20480B 5 days This course syllabus should be used to determine whether the course is appropriate for the

More information

Overview

Overview HTML4 & HTML5 Overview Basic Tags Elements Attributes Formatting Phrase Tags Meta Tags Comments Examples / Demos : Text Examples Headings Examples Links Examples Images Examples Lists Examples Tables Examples

More information

Client Side Injection on Web Applications

Client Side Injection on Web Applications Client Side Injection on Web Applications Author: Milad Khoshdel Blog: https://blog.regux.com Email: miladkhoshdel@gmail.com 1 P a g e Contents INTRODUCTION... 3 HTML Injection Vulnerability... 4 How to

More information

WebRTC.... GWT & in-browser computation. Alberto Mancini - Francesca Tosi -

WebRTC.... GWT & in-browser computation. Alberto Mancini - Francesca Tosi - WebRTC... GWT & in-browser computation Alberto Mancini - alberto@jooink.com Francesca Tosi - francesca@jooink.com WebRTC Plug-in free real-time communication WebRTC is a free, open project that enables

More information

Offline-first PWA con Firebase y Vue.js

Offline-first PWA con Firebase y Vue.js Offline-first PWA con Firebase y Vue.js About me Kike Navalon, engineer Currently working at BICG playing with data You can find me at @garcianavalon 2 We live in a disconnected & battery powered world,

More information

REPRONOW-SAVE TIME REPRODUCING AND TRIAGING SECURITY BUGS

REPRONOW-SAVE TIME REPRODUCING AND TRIAGING SECURITY BUGS SESSION ID: ASEC-W12 REPRONOW-SAVE TIME REPRODUCING AND TRIAGING SECURITY BUGS Vinayendra Nataraja Senior Product Security Engineer Salesforce @vinayendra Lakshmi Sudheer Security Researcher Adobe, Inc.

More information

Programming in HTML5 with JavaScript and CSS3

Programming in HTML5 with JavaScript and CSS3 20480 - Programming in HTML5 with JavaScript and CSS3 Duration: 5 days Course Price: $2,975 Software Assurance Eligible Course Description Course Overview This training course provides an introduction

More information

JOE WIPING OUT CSRF

JOE WIPING OUT CSRF JOE ROZNER @JROZNER WIPING OUT CSRF IT S 2017 WHAT IS CSRF? 4 WHEN AN ATTACKER FORCES A VICTIM TO EXECUTE UNWANTED OR UNINTENTIONAL HTTP REQUESTS WHERE DOES CSRF COME FROM? LET S TALK HTTP SAFE VS. UNSAFE

More information

H5STREAM. Copyright 2018 linkingvison, All rights reserved

H5STREAM. Copyright 2018 linkingvison, All rights reserved Copyright 2018 linkingvison, All rights reserved ON-PREMISES RTSP/RTMP MP4 AVI MEDIA REST API RECORD SNAPSHOT RTSP/RTMP / IS HTML5 NATIVE PLAYER WITH LOW LATENCY(

More information

FIREFOX MENU REFERENCE This menu reference is available in a prettier format at

FIREFOX MENU REFERENCE This menu reference is available in a prettier format at FIREFOX MENU REFERENCE This menu reference is available in a prettier format at http://support.mozilla.com/en-us/kb/menu+reference FILE New Window New Tab Open Location Open File Close (Window) Close Tab

More information

WCMS Responsive Design Template Upgrade Training

WCMS Responsive Design Template Upgrade Training WCMS Responsive Design Template Upgrade Training The purpose of this training session is to provide training to site owners, who are upgrading their WCMS content to the new Responsive Design (RD) template.

More information

JavaScript Handling Events Page 1

JavaScript Handling Events Page 1 JavaScript Handling Events Page 1 1 2 3 4 5 6 7 8 Handling Events JavaScript JavaScript Events (Page 1) An HTML event is something interesting that happens to an HTML element Can include: Web document

More information

An Overview of. Eric Bollens ebollens AT ucla.edu Mobile Web Framework Architect UCLA Office of Information Technology

An Overview of. Eric Bollens ebollens AT ucla.edu Mobile Web Framework Architect UCLA Office of Information Technology An Overview of Eric Bollens ebollens AT ucla.edu Mobile Web Framework Architect UCLA Office of Information Technology August 23, 2011 1. Design Principles 2. Architectural Patterns 3. Building for Degradation

More information

Jim Jackson II Ian Gilman

Jim Jackson II Ian Gilman Single page web apps, JavaScript, and semantic markup Jim Jackson II Ian Gilman FOREWORD BY Scott Hanselman MANNING contents 1 HTML5 foreword xv preface xvii acknowledgments xx about this book xxii about

More information

Current Trends in Native and Cross-Platform Mobile Application Development

Current Trends in Native and Cross-Platform Mobile Application Development Current Trends in Native and Cross-Platform Mobile Application Development Ala Al-Fuqaha, Ph.D. Associate Professor and Director, NEST Research Lab College of Engineering & Applied Sciences Computer Science

More information

Web Development 20480: Programming in HTML5 with JavaScript and CSS3. Upcoming Dates. Course Description. Course Outline

Web Development 20480: Programming in HTML5 with JavaScript and CSS3. Upcoming Dates. Course Description. Course Outline Web Development 20480: Programming in HTML5 with JavaScript and CSS3 Learn how to code fully functional web sites from the ground up using best practices and web standards with or without an IDE! This

More information

Playing with IE11 ActiveX 0days

Playing with IE11 ActiveX 0days Playing with IE11 ActiveX 0days About Me James Lee Math geek Passionate about Security vulnerability research Agenda The ways to render HTML in Internet Explorer 11 IE11 Information disclosure and Content

More information

Looking at the Internet with Google Chrome & Firefox. Scoville Memorial Library Claudia Cayne - September, 2010

Looking at the Internet with Google Chrome & Firefox. Scoville Memorial Library Claudia Cayne - September, 2010 Looking at the Internet with Google Chrome & Firefox Scoville Memorial Library Claudia Cayne - ccayne@biblio.org September, 2010 Google Chrome & Firefox are web browsers - the decoder you need to view

More information

Module7: AJAX. Click, wait, and refresh user interaction. Synchronous request/response communication model. Page-driven: Workflow is based on pages

Module7: 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 information

Extending the Web Security Model with Information Flow Control

Extending the Web Security Model with Information Flow Control Extending the Web Security Model with Information Flow Control Deian Stefan Advised by David Herman Motivation: 3rd party libraries Password-strength checker Desired security policy: Password is not leaked

More information

November 2017 WebRTC for Live Media and Broadcast Second screen and CDN traffic optimization. Author: Jesús Oliva Founder & Media Lead Architect

November 2017 WebRTC for Live Media and Broadcast Second screen and CDN traffic optimization. Author: Jesús Oliva Founder & Media Lead Architect November 2017 WebRTC for Live Media and Broadcast Second screen and CDN traffic optimization Author: Jesús Oliva Founder & Media Lead Architect Introduction It is not a surprise if we say browsers are

More information

COMET, HTML5 WEBSOCKETS OVERVIEW OF WEB BASED SERVER PUSH TECHNOLOGIES. Comet HTML5 WebSockets. Peter R. Egli INDIGOO.COM. indigoo.com. 1/18 Rev. 2.

COMET, HTML5 WEBSOCKETS OVERVIEW OF WEB BASED SERVER PUSH TECHNOLOGIES. Comet HTML5 WebSockets. Peter R. Egli INDIGOO.COM. indigoo.com. 1/18 Rev. 2. COMET, HTML5 WEBSOCKETS OVERVIEW OF WEB BASED SERVER PUSH TECHNOLOGIES Peter R. Egli INDIGOO.COM 1/18 Contents 1. Server push technologies 2. HTML5 server events 3. WebSockets 4. Reverse HTTP 5. HTML5

More information

DNA Evolution 4.0 Workflow Guide for Automated Third-party Preview Generation

DNA Evolution 4.0 Workflow Guide for Automated Third-party Preview Generation DNA Evolution 4.0 Workflow Guide for Automated Third-party Preview Generation 2015 StorageDNA, Inc. All rights reserved. The owner or authorized user of a valid copy of DNA Evolution may reproduce this

More information

How to Edit Your Website

How to Edit Your Website How to Edit Your Website A guide to using your Content Management System Overview 2 Accessing the CMS 2 Choosing Your Language 2 Resetting Your Password 3 Sites 4 Favorites 4 Pages 5 Creating Pages 5 Managing

More information

Networking & The Web. HCID 520 User Interface Software & Technology

Networking & The Web. HCID 520 User Interface Software & Technology Networking & The Web HCID 520 User Interface Software & Technology Uniform Resource Locator (URL) http://info.cern.ch:80/ 1991 HTTP v0.9 Uniform Resource Locator (URL) http://info.cern.ch:80/ Scheme/Protocol

More information

The Road to the Native Mobile Web. Kenneth Rohde Christiansen

The Road to the Native Mobile Web. Kenneth Rohde Christiansen The Road to the Native Mobile Web Kenneth Rohde Christiansen Kenneth Rohde Christiansen Web Platform Architect at Intel Europe Blink core owner and former active WebKit reviewer Works on Chromium, Crosswalk

More information

Using Development Tools to Examine Webpages

Using 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 information

Service Workers & APEX

Service Workers & APEX Dimitri Gielis Service Workers & APEX www.apexrnd.be dgielis.blogspot.com @dgielis dgielis@apexrnd.be Dimitri Gielis Founder & CEO of APEX R&D 18+ years of Oracle Experience (OCP & APEX Certified) Oracle

More information

Web Architecture Review Sheet

Web Architecture Review Sheet Erik Wilde (School of Information, UC Berkeley) INFO 190-02 (CCN 42509) Spring 2009 May 11, 2009 Available at http://dret.net/lectures/web-spring09/ Contents 1 Introduction 2 1.1 Setup.................................................

More information

PHP & My SQL Duration-4-6 Months

PHP & My SQL Duration-4-6 Months PHP & My SQL Duration-4-6 Months Overview of the PHP & My SQL Introduction of different Web Technology Working with the web Client / Server Programs Server Communication Sessions Cookies Typed Languages

More information

What s New in Laserfiche Web Access 10

What s New in Laserfiche Web Access 10 What s New in Laserfiche Web Access 10 Webinar Date 8 October 2015 and 3 February 2016 Presenters Justin Pava, Technical Product Manager Brandon Buccowich, Technical Marketing Engineer For copies of webinar

More information

CIS 408 Internet Computing Sunnie Chung

CIS 408 Internet Computing Sunnie Chung Project #2: CIS 408 Internet Computing Sunnie Chung Building a Personal Webpage in HTML and Java Script to Learn How to Communicate Your Web Browser as Client with a Form Element with a Web Server in URL

More information

Fall Semester (081) Module7: AJAX

Fall 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 information

HTML 5: Fact and Fiction Nathaniel T. Schutta

HTML 5: Fact and Fiction Nathaniel T. Schutta HTML 5: Fact and Fiction Nathaniel T. Schutta Who am I? Nathaniel T. Schutta http://www.ntschutta.com/jat/ @ntschutta Foundations of Ajax & Pro Ajax and Java Frameworks UI guy Author, speaker, teacher

More information

Cross Video Gallery 6.6 User Guide

Cross Video Gallery 6.6 User Guide http://dnnmodule.com/ Page 1 of 22 Cross Video Gallery 6.6 User Guide (DNN 7 Video & Audio & YouTube &Slideshow module) http://dnnmodule.com 10/27/2014 Cross Software, China Skype: xiaoqi98@msn.com QQ:

More information