Description
In this training, you will learn how to implement the different JavaScript APIs offered by the new HTML5 specifications. You will thus manipulate those dedicated to data storage, client/server communication or even geolocation.
Who is this training for ?
For whom ?
Web developers. Web project managers.
Prerequisites
Good knowledge of HTML and JavaScript.
Training objectives
Training program
- Introduction
- New HTML 5 features: new semantic elements, main tags, forms.
- New CSS selectors: search for elements by Class, by selectors.
- Practical work Searching for elements by positioning or Class.
- Persistence management
- Overview of storage issues.
- Local Storage, in session or in a database.
- Creation of databases, queries.
- SqLite administration tools.
- SQL operations available.
- Practical work Creation of a product table with query.
- Cache management
- Creating an application in offline mode.
- Creating the manifest file.
- Supporting offline mode.
- Related events to the cache manager: offline, online events.
- Practical work Setting up an offline mode.
- Client/Server Communication
- CrossDomain communication.
- Cross Document Messaging.
- PostMessage API.
- Communication types: polling, long-polling, streaming.
- Listener for messages sent by the server.
- EventSource API.
- XMLHTTPRequest Level 2.
- Presentation Level 2.
- Multi-document communication.
- Web sockets communication.
- API and protocol.
- Practical work rnImplementation and comparison of the different C/S protocols.
- Drag/copy management
- Drag'n'Drop mechanisms.
- Drag'n'Drop manipulation API.
- The draggable attribute.
- Behavior properties.
- Events.
- Possibilities and limits.
- Transfer of a file, an image by dragging /copy.
- Practical work rnShopping cart management by dragging/copy.
- Geolocation
- Geolocation overview.
- Private data.
- Location information sources.
- Using the API location.
- Respect for privacy.