HTML5 Data and Services Cookbook

Take the fast track to the rapidly growing world of HTML5 data and services with this brilliantly practical cookbook. Whether building websites or web applications, this is the handbook you need to master HTML5.
Preview in Mapt

HTML5 Data and Services Cookbook

Gorgi Kosev, Mite Mitreski

Take the fast track to the rapidly growing world of HTML5 data and services with this brilliantly practical cookbook. Whether building websites or web applications, this is the handbook you need to master HTML5.

Quick links: > What will you learn?> Table of content

Mapt Subscription
FREE
$20.83/m after trial
eBook
$23.10
RRP $32.99
Save 29%
Print + eBook
$54.99
RRP $54.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$23.10
$54.99
$29.99 p/m after trial
RRP $32.99
RRP $54.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


HTML5 Data and Services Cookbook Book Cover
HTML5 Data and Services Cookbook
$ 32.99
$ 23.10
HTML5 Enterprise Application Development Book Cover
HTML5 Enterprise Application Development
$ 29.99
$ 21.00
Buy 2 for $35.00
Save $27.98
Add to Cart

Book Details

ISBN 139781783559282
Paperback480 pages

Book Description

HTML5 is everywhere. From PCs to tablets to smartphones and even TVs, the web is the most ubiquitous application platform and information medium bar. Its becoming a first class citizen in established operating systems such as Microsoft Windows 8 as well as the primary platform of new operating systems such as Google Chrome OS.

"HTML5 Data and Services Cookbook" contains over 100 recipes explaining how to utilize modern features and techniques when building websites or web applications. This book will help you to explore the full power of HTML5 - from number rounding to advanced graphics to real-time data binding.

"HTML5 Data and Services Cookbook" starts with the display of text and related data. Then you will be guided through graphs and animated visualizations followed by input and input controls.

Data serialization, validation and communication with the server as well as modern frameworks with advanced features like automatic data binding and server communication will also be covered in detail.This book covers a fast track into new libraries and features that are part of HTML5!

Table of Contents

Chapter 1: Display of Textual Data
Introduction
Rounding numbers for display
Padding numbers
Displaying metric and imperial measurements
Displaying formatted dates in the user's time zone
Displaying the dynamic time that has elapsed
Displaying Math
Creating an endless scrolling list
Creating a sortable paginated table
Creating multiple-choice filters
Creating range filters
Creating combined complex filters
Displaying code in HTML
Rendering Markdown
Autoupdating fields
Chapter 2: Display of Graphical Data
Introduction
Creating a line chart
Creating a bar chart
Creating a pie chart
Creating an area chart
Displaying combined charts
Creating a bubble chart
Showing a map with a marked location
Showing a map with a path
Displaying gauges
Displaying a tree
LED scoreboard using web fonts
Chapter 3: Animated Data Display
Introduction
Making a motion chart
Displaying a force directed graph
Making a live range chart filter
Making an image carousel
Zooming and panning a chart
Using the web notifications API
Creating interactive Geo charts from a dataset
Chapter 4: Using HTML5 Input Components
Introduction
Using the text input field
Using textarea
Inputting dates
Inputting time
Telephone input
Range input field
Color picker input
Using single-choice dropdowns
Using multiple-choice select lists
Getting geographical location input
Using file inputs at the client side
Using a drag-and-drop file area
Chapter 5: Custom Input Components
Introduction
Using contentEditable for basic rich text input
Advanced rich text input
Creating a drop-down menu
Creating custom dialogs
Creating autocomplete for input
Creating a custom single-selection list
Creating a multiple-selection list
Geographic location input using maps
Chapter 6: Data Validation
Introduction
Validating text by length
Validating numbers by range
Using the built-in pattern validation
Advanced use of built-in constraints and custom validations
Calculating password strength
Validating US zip codes
Using asynchronous server-side validation
Combining client-side and server-side validation
Chapter 7: Data Serialization
Introduction
Deserializing JSON to JavaScript objects
Serializing objects to a JSON string
Decoding base64 encoded binary data
Encoding binary data or text into base64
Serializing binary data into JSON
Serializing and deserializing cookies
Serializing a form into request strings
Reading XML documents with DOMParser
Serialization of XML document at the client side
Chapter 8: Communicating with Servers
Creating an HTTP GET request to fetch JSON
Creating a request with custom headers
Versioning your API
Fetching JSON data with JSONP
Reading XML data from server
Using the FormData interface
Posting a binary file to the server
Creating an SSL connection with Node.js
Making real-time updates with Ajax Push
Exchanging real-time messages using WebSockets
Chapter 9: Client-side Templates
Introduction
Rendering objects using Handlebars
Rendering objects using EJS
Rendering objects using Jade
Rendering arrays using Handlebars
Rendering arrays using EJS
Rendering arrays using Jade
Simplifying templates with helpers in Handlebars
Reusing templates with partials in Handlebars
Reusing templates with partials in EJS
Using filters in Jade
Using mixins in Jade
Using layouts and blocks in Jade
Chapter 10: Data Binding Frameworks
Introduction
Creating a basic Angular view with data binding
Rendering lists and using Angular controllers
Routing, filters, and backend services in Angular
Using Angular's client-side validation
Making a chart component with Angular directives
Structuring applications for Meteor.js
Reactive programming and data in Meteor.js
Live HTML and user-specific data in Meteor.js
Security mechanisms in Meteor.js
Chapter 11: Data Storage
Introduction
Data URI
Session and local storage
Reading data from files
Using IndexedDB
Limits of the storage and how to ask for more
Manipulating the browser history
Chapter 12: Multimedia
Introduction
Playing audio files
Playing video files
Customizing controls for media elements
Adding text to your video
Embedding multimedia
Converting text to speech using HTML5 audio

What You Will Learn

  • Making charts using flot or HTML5 canvas.
  • Creating awesome visualizations with D3.js
  • Common helpers when working with input
  • Making animated and iteractive visualzations
  • Using the HTML5 input helpers
  • Creating custom input components
  • Client-side templating to simplify HTML generation
  • Manipulating and storing data on the client side

Authors

Table of Contents

Chapter 1: Display of Textual Data
Introduction
Rounding numbers for display
Padding numbers
Displaying metric and imperial measurements
Displaying formatted dates in the user's time zone
Displaying the dynamic time that has elapsed
Displaying Math
Creating an endless scrolling list
Creating a sortable paginated table
Creating multiple-choice filters
Creating range filters
Creating combined complex filters
Displaying code in HTML
Rendering Markdown
Autoupdating fields
Chapter 2: Display of Graphical Data
Introduction
Creating a line chart
Creating a bar chart
Creating a pie chart
Creating an area chart
Displaying combined charts
Creating a bubble chart
Showing a map with a marked location
Showing a map with a path
Displaying gauges
Displaying a tree
LED scoreboard using web fonts
Chapter 3: Animated Data Display
Introduction
Making a motion chart
Displaying a force directed graph
Making a live range chart filter
Making an image carousel
Zooming and panning a chart
Using the web notifications API
Creating interactive Geo charts from a dataset
Chapter 4: Using HTML5 Input Components
Introduction
Using the text input field
Using textarea
Inputting dates
Inputting time
Telephone input
Range input field
Color picker input
Using single-choice dropdowns
Using multiple-choice select lists
Getting geographical location input
Using file inputs at the client side
Using a drag-and-drop file area
Chapter 5: Custom Input Components
Introduction
Using contentEditable for basic rich text input
Advanced rich text input
Creating a drop-down menu
Creating custom dialogs
Creating autocomplete for input
Creating a custom single-selection list
Creating a multiple-selection list
Geographic location input using maps
Chapter 6: Data Validation
Introduction
Validating text by length
Validating numbers by range
Using the built-in pattern validation
Advanced use of built-in constraints and custom validations
Calculating password strength
Validating US zip codes
Using asynchronous server-side validation
Combining client-side and server-side validation
Chapter 7: Data Serialization
Introduction
Deserializing JSON to JavaScript objects
Serializing objects to a JSON string
Decoding base64 encoded binary data
Encoding binary data or text into base64
Serializing binary data into JSON
Serializing and deserializing cookies
Serializing a form into request strings
Reading XML documents with DOMParser
Serialization of XML document at the client side
Chapter 8: Communicating with Servers
Creating an HTTP GET request to fetch JSON
Creating a request with custom headers
Versioning your API
Fetching JSON data with JSONP
Reading XML data from server
Using the FormData interface
Posting a binary file to the server
Creating an SSL connection with Node.js
Making real-time updates with Ajax Push
Exchanging real-time messages using WebSockets
Chapter 9: Client-side Templates
Introduction
Rendering objects using Handlebars
Rendering objects using EJS
Rendering objects using Jade
Rendering arrays using Handlebars
Rendering arrays using EJS
Rendering arrays using Jade
Simplifying templates with helpers in Handlebars
Reusing templates with partials in Handlebars
Reusing templates with partials in EJS
Using filters in Jade
Using mixins in Jade
Using layouts and blocks in Jade
Chapter 10: Data Binding Frameworks
Introduction
Creating a basic Angular view with data binding
Rendering lists and using Angular controllers
Routing, filters, and backend services in Angular
Using Angular's client-side validation
Making a chart component with Angular directives
Structuring applications for Meteor.js
Reactive programming and data in Meteor.js
Live HTML and user-specific data in Meteor.js
Security mechanisms in Meteor.js
Chapter 11: Data Storage
Introduction
Data URI
Session and local storage
Reading data from files
Using IndexedDB
Limits of the storage and how to ask for more
Manipulating the browser history
Chapter 12: Multimedia
Introduction
Playing audio files
Playing video files
Customizing controls for media elements
Adding text to your video
Embedding multimedia
Converting text to speech using HTML5 audio

Book Details

ISBN 139781783559282
Paperback480 pages
Read More

Read More Reviews

Recommended for You

HTML5 Enterprise Application Development Book Cover
HTML5 Enterprise Application Development
$ 29.99
$ 21.00
Learn HTML5 by Creating Fun Games Book Cover
Learn HTML5 by Creating Fun Games
$ 29.99
$ 21.00
Instant HTML5 Fonts and Typography Book Cover
Instant HTML5 Fonts and Typography
$ 12.99
$ 9.10
HTML5 Game Development by Example: Beginner's Guide - Second Edition Book Cover
HTML5 Game Development by Example: Beginner's Guide - Second Edition
$ 35.99
$ 25.20
Multiplayer Game Development with HTML5 Book Cover
Multiplayer Game Development with HTML5
$ 23.99
$ 16.80
Instant HTML5 Responsive Table Design How-to Book Cover
Instant HTML5 Responsive Table Design How-to
$ 12.99
$ 9.10