The web is developing at a high speed. This training shows you how to build modern, fast, flexible mobile and desktop web applications based on the latest technologies. [+]
How to have a normal website and also let it appear as a traditional application or native mobile application? Want to write apps that are powered by Web technologies and delivered with Web infrastructure? Welcome to Progressive Web Apps. PWAs are secure and installable, can run offline and can display system notifications even when the app is not running.
Accessibility and Video will be covered extensively. Finally you’ll learn how to measure and optimise performance, as well as debugging and testing.
Basically this course will teach the most popular and successful web technologies in use today. Course will be updated regularly to keep up with the latests developments.
We’ll cover basic syntax as well as useful new additions to the language. Most notable:
Variable declarations with let, var and const; Class syntax; Modules; Template strings; Arrow functions; Default parameters in functions; for..of loops; Promises and async/await asynchronous function handling; Destructuring; Rest and Spread operators for quick array and object manipulations; Maps (key-value pairs) and Sets (unique values).
HTML 5.2 and beyond
Basics like the Document Object Model (DOM) and manipulation thereof as well as the working of the event-system are covered. We’ll dive deeper into handling both touch and mouse event to work with all types of devices, not only desktops. HTML Forms input types and validation methods are covered.
CSS (Snapshot 2017 and beyond)
Explaining CSS precedence. Both well known and the latests selectors, pseudo classes and pseudo elements are discussed as well as style attributes. Techniques to adjust to the screen size are responsive images as well as Web Fonts and flexible font sizes.
Progressive Web Apps
Progressive Web Apps (PWA) is a set of technologies you can use to enhance a website with application behaviour:
Installable: The website can be added to the home screen of the device.
Web App Manifest: Defining the icon, home screen title, splash screen, background color and home page.
Fetch: Simple and powerful API to fetch resources (successor of XMLHttpRequest).
Offline and online behaviour: No matter if there is a network connection, the app will work using Service Workers to control requests and storing responses to requests offline using the Cache API, Web Storage or IndexedDB.
Notifications. Send updates from the server to the app with the Push API and use the Notification API to generate system notifications even if the app is not running.
Safe: Only https (or localhost for development).
Progressive: Use the above technologies if they are available, but the page (app) will work if the device’s browser is less capable.
PWA can even be published to the Microsoft Store and become Windows Apps.
Data storage within the browser are covered with 3 techniques:
Storage API, Local & Session storage when you don’t want to store too much data.
IndexedDB API (version 2), is an object database with more capacity.
Cache API for use with Progressive Web Apps.
Video & Audio
Answers: How to add video & audio elements? How to create subtitles and picture-in-picture video?
Explaining techniques to keep your designs accessible for the visual impaired.
Compression and minification of images, scripts, css, etc.
To inline or not to inline?
Async loading of scripts.
How to measure performance?
Explaining how to use the developer tools in the browser:
Setting breakpoints in code or when events happen
Using the console
Dynamically making changes for immediate feedback
Debugging CSS specificity and computed styles.