: Peter Lubbers, Brian Albers, Frank Salim
: Pro HTML5 Programming Powerful APIs for Richer Internet Application Development
: Apress
: 9781430227915
: 1
: CHF 41.70
:
: Allgemeines, Lexika
: English
: 304
: Wasserzeichen/DRM
: PC/MAC/eReader/Tablet
: PDF

HTML5 is here, and with it, web applications take on a power, ease, scalability, and responsiveness like never before. In this book, developers will learn how to use the latest cutting-edge HTML5 web technology-available in the most recent versions of modern browsers-to build web applications with unparalleled functionality, speed, and responsiveness.

  • Ex lains how to create real-time HTML5 applications that tap the full potential of modern browsers
  • Provides practical, real-world examples of HTML5 features in action
  • Shows which HTML5 features are supported in current browsers
  • Covers all the new HTML5 APIs to get you up to speed quickly with HTML5


Peter Lubbers is the director of documentation and training at Kaazing Corporation and the co-founder of the San Francisco HTML5 User Group. Peter also teaches HTML5 training courses all over the world. Prior to joining Kaazing, Peter worked as an information architect at Oracle, where he wrote many books, including the award-winning Oracle Application Server Portal Configuration Guide. At Oracle, Peter also developed documentation automation solutions, and two of his inventions are patented. A native of the Netherlands, Peter served as a Special Forces commando in the Royal Dutch Green Berets. Peter lives on the edge of the Tahoe National Forest and in his spare time, he loves to run ultra marathons in the Sierra Nevada foothills and around Lake Tahoe (preferably in one go!).
Title Page1
Copyright Page2
Contents at a Glance4
Table of Contents5
Foreword13
About the Authors14
About the Technical Reviewer15
Acknowledgements16
Introduction17
Who This Book Is For17
An Overview of This Book18
Example Code and Companion Web Site18
Contacting the Authors18
Chapter 1 Overview of HTML519
The Story So Far The History of HTML519
The Myth of 2022 and Why It Doesn t Matter20
Who Is Developing HTML5?21
A New Vision21
Compatibility and Paving the Cow Paths21
Utility and the Priority of Constituencies22
Secure by Design22
Separation of Presentation and Content22
Interoperability Simplification23
Universal Access23
A Plugin Free Paradigm23
What s In and What s Out?24
What s New in HTML5?26
New DOCTYPE and Character Set26
New and Deprecated Elements27
Semantic Markup28
Simplifying Selection Using the Selectors API35
JavaScript Logging and Debugging38
window.JSON39
DOM Level 340
Monkeys, Squirrelfish, and Other Speedy Oddities40
Summary41
Chapter 2 Using the HTML5 Canvas API42
Overview of HTML5 Canvas42
History42
What Is a Canvas?43
Canvas Coordinates43
When Not to Use Canvas44
Fallback Content44
CSS and Canvas45
Browser Support for HTML5 Canvas45
Using the HTML5 Canvas APIs46
Checking for Browser Support46
Adding a Canvas to a Page47
Applying Transformations to Drawings49
Working with Paths52
Working with Stroke Styles55
Working with Fill Styles56
Filling Rectangular Content57
Drawing Curves59
Inserting Images into a Canvas61
Using Gradients62
Using Background Patterns64
Scaling Canvas Objects66
Using Canvas Transforms69
Using Canvas Text70
Applying Shadows72
Working with Pixel Data74
Implementing Canvas Security75
Building an Application with HTML5 Canvas76
Practical Extra: Full Page Glass Pane80
Summary80
Chapter 3 Working with HTML5 Audio and Video81
Overview of HTML5 Audio and Video81
Video Containers81
Audio and Video Codecs83
The Codec Wars and the Tentative Truce83
Audio and Video Restrictions84
Browser Support for HTML5 Audio and Video84
Using the HTML5 Audio and Video APIs85
Checking for Browser Support86
Understanding Media Elements87
The Basics: Declaring Your Media Element87
Using the Source88
Taking Control90
Working with Audio92
Audio Activation92
Working with Video93
Creating a Video Timeline Browser94
Adding the Video and the Canvas Element94
Adding Variables95
Adding the updateFrame Function96
Adding the startVideo Function97
Handling User Input98
Adding the stopTimeline Function99
Practical Extras100
Background Noise in a Page100
Mouseover Video Playback101
Summary102
Chapter 4 Using the HTML5 Geolocation AP