Development of Internet Applications HTML5 Ing. Jan Janoušek 7.

Slides:



Advertisements
Similar presentations
Build Amazing Apps with Web Standards Mobile HTML5 Applications In Hours, Not Days.
Advertisements

D4.3 Additional Applications iPad Application – Facebook Integration George Chrysochoidis i-sieve technologies ltd. PATHS Project Review, 12th March 2014,
An Introduction Timmy Kokke | UNIT4 Internet Solutions | Expression Blend MVP / Webguy.
4.01 How Web Pages Work.
HTML5 Applications with ASP.NET Web Forms Stephen Walther Superexpert.com
Building Mobile Apps in the Cloud – Comparing Approaches.
Topics in this presentation: The Web and how it works Difference between Web pages and web sites Web browsers and Web servers HTML purpose and structure.
LATEST WEB TECHNOLOGIES Presented by Md. Zakaria Chowdhury CEO, Webcraft Bangladesh.
Development of mobile applications using PhoneGap and HTML 5
What is HTML5? HTML5 is the new LEGO for both designers and programmers.
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.
HTML5 …web is getting sexy. What is HTML5? - It is still HTML, successor of HTML4x - It is ENRICHED HTML - It is still UNDER DEVELOPMENT - Backward Compatible.
Martin Kruliš by Martin Kruliš (v1.0)1.
HTML5 Accessibility Ted Drake, Yahoo! Accessibility Lab Slideshare.net/7mary4.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Copyright © cs-tutorial.com. Introduction to Web Development In 1990 and 1991,Tim Berners-Lee created the World Wide Web at the European Laboratory for.
An Introduction to ASP.NET Ed Dunhill blogs.msdn.com/edunhill SLIDE7.
5 Chapter Five Web Servers. 5 Chapter Objectives Learn about the Microsoft Personal Web Server Software Learn how to improve Web site performance Learn.
Web Page Design I Basic Computer Terms “How the Internet & the World Wide Web (www) Works”
Universiti Utara Malaysia Chapter 3 Introduction to ASP.NET 3.5.
HTML5, part III – API, … Štěpán Developer Evangelist Microsoft, Czech Republic.
Mobile web Sebastian Lopienski IT Technical Forum 29 June 2012.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
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.
Application Layer Honolulu Community College Cisco Academy Training Center Semester 1 Version
HTML5 Gaurav Jaiswal Singsys Pte. Ltd.. What is HTML5?
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
Trunica Inc. 500 East Kennedy Blvd #300 Tampa, FL Cross Platform Mobile Apps With Cordova and Visual Studio 2015 © Copyright 2015.
HTML 5 Tutorial Chapter 6 Web Storage. Storing Data on The Client HTML5 offers two new objects for storing data on the client: localStorage - stores data.
CS2550 Dr. Brian Durney. SOURCES  JavaScript: The Definitive Guide, by David Flanagan  Dive into HTML5, by Mark Pilgrim
Managing the Application Life Cycle
Web Technologies Lecture 6 State preservation. Motivation How to keep user data while navigating on a website? – Authenticate only once – Store wish list.
1 More About HTML Images and Links. 22 Objectives You will be able to Include images in your HTML page. Create links to other pages on your HTML page.
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.
Internet addresses By Toni Grey & Rashida Swan HTTP Stands for HyperText Transfer Protocol Is the underlying stateless protocol used by the World Wide.
What is HTML5? HTML5 will be the new standard for HTML. The previous version of HTML, HTML 4.01, came in The web has changed a lot since then. HTML5.
丁建文 國立高雄應用科大資管系副教授 兼任計網中心軟體發展組組長 跨平台行動應用軟體開發技術 : HTML5 & Mobile JavaScript Framework 暨南大學.
Using HTML5 to Build Offline Applications Woody Pewitt Icenium
JavaScript 사용현황 김민철. Table of contents  1. Mobile  WAC  PhoneGap  AppsPresso  2. TV  Samsung Smart TV  KT IPTV  3. 기타  node.js 2.
HTML5 Requirement Driven Design David Tarrant Electronics and Computer Science.
OTS The Best of Native Apps and the Mobile Web Duncan Cragg.
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.
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
A little more App Inventor and Mind the GAP!
4.01 How Web Pages Work.
Chapter 4: Feature Detection & Drag and Drop
Web Programming Language
4.01 How Web Pages Work.
Web Technologies Computing Science Thompson Rivers University
Web Concepts Lesson 2 ITBS2203 E-Commerce for IT.
Application Layer Honolulu Community College
CHAPTER 9 APIS. CHAPTER 9 APIS WHAT IS AN API?
Some Common Terms The Internet is a network of computers spanning the globe. It is also called the World Wide Web. World Wide Web It is a collection of.
Application with Cross-Platform GUI
PHP / MySQL Introduction
Department of Computer Science, Florida State University
Building offline access in Metro style apps and websites using HTML5
The Application Lifecycle
Building responsive apps and sites with HTML5 web workers
Information Technology Ms. Abeer Helwa
HTML5 and Local Storage.
Secure Web Programming
Apache Cordova What is it ? Platforms Development Architecture Plugins
Back end Development CS Programming Languages for Web Applications
CIS 133 mashup Javascript, jQuery and XML
Web Technologies Computing Science Thompson Rivers University
4.01 How Web Pages Work.
C++ Final Presentation.
Back end Development CS Programming Languages for Web Applications
CGS 3066: Web Programming and Design Fall 2019
Presentation transcript:

Development of Internet Applications HTML5 Ing. Jan Janoušek 7

Storage -Replaces Cookies -data are not sent with each request -ability to save larger amount of data -accesible only on client side -Key-value storage (string) -LocalStorage – data are stored even when user close the browser -SessionStorage – data are stored only during one session if(typeof(Storage)!=="undefined") { // Yes! } else { // Sorry! No web storage support.. }

Web database -Web SQL Database -Relational database (SQL) -No-more part of HTML5 (but implementedy in some browsers) -Methods: openDatabase, transaction, executeSQL,… -IndexedDB -Object database -Fast searching using indexes -Synchronous or asynchronos access -Support of transactions

Off-line applications -Whole page can be used without internet access -Works like cahe -Based on Cache Manifest -file with MIME type „text/cache-manifest“ -Contains 3 sections CACHE – defines content that should be fetched only from local cache NETWORK – defines content thath should be downloaded from server every time FALLBACK – defines content that should be replaced with other content when internet connection is not available -Cache is updated when manifest file is changed, when user clear cache or using JavaScript API.

Web Workers -Similar to threads -Execute external JS file as separated proces. -Primary object is called „Worker“. -Communication between page that executed worker and worker is performed using messages („postmessage“, „onmessage“) -Can´t access web page by which is executed (can´t access DOM, object window, document, etc…)

Drag & Drop -Any content can be dragged & dropped from and to the browser window. -For data transfer, not for visual component movement (like jQuery IO draggable & droppable). -HTML element that should be draggable have to be marked by attribute draggable=„true“ -Droppable area (element) should implement events ondragstart, ondrop, ondragover -Data can be set/get using JS methods dataTransfer.setData() and dataTransfer.getData()

File API -Enable work with Files (they can be dropped to browser using Drag & Drop API, selected using file input form element, etc…). -File API contains JS objects „File“, „FileList“, „Blob“, „FileReader“, „BlobBuilder“, „FileWriter“ and „URL“. -Data can be accessed as text, binnary data, or base64 encoded data.

FileSystem API -Offers access to virtual file system in user computer (sandboxed). -Accessible using method „requestFileSystem“. -Can be used for example for: -File upload -Cache -Multimedial data storage -File editing -Off-line work -Implemented only in Chrome

Geolocation API -Offers access to current user GPS postion (latitude, longtitude, altitude, accuracy, speed and timestamp). -User have to enable access to current position for concrete web page. -Depends on capabilities of concrete device (ideal for mobile devices, but not for desktop computers). -API is accesible using object „navigator.geolocation“. -Methods „getCurrentPosition“ and „watchPosition“ -Requires HTTPS protocol if ("geolocation" in navigator) { /* geolocation is available */ } else { /* geolocation IS NOT available */ } if ("geolocation" in navigator) { /* geolocation is available */ } else { /* geolocation IS NOT available */ }

Others -Device orientation -Camera and microphone -Voice input/output -Touch gestures -Battery state -Fullscreen -etc… Zdroj:

Mobile applications (native) based on HTML5 -Applications are bulit using standard web technologies (HTML, CSS3, JS) + special framework and then „compiled“ as a native applications. -There are some APIs (provided by framework) for using device capabilities (camera, contacts, storage, accelerometer, notifications, etc...) -Examples of frameworks are PhoneGap, Cordova and others. -Framework just embed your HTML5 application to native application that use browser view for execution of HTML5 application.

US/docs/Web/Guide/HTML/HTML5