Pro HTML5 programming

HTML5 is here, and with it, web applications have acquired power, ease, scalability, and responsiveness like never before. With 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...

Descripción completa

Detalles Bibliográficos
Autor principal: Lubbers, Peter (-)
Otros Autores: Albers, Brian, Salim, Frank
Formato: Libro electrónico
Idioma:Inglés
Publicado: [Berkeley, Calif.] : Apress 2011.
Edición:2nd ed
Colección:The expert's voice in Web development Pro HTML5 programming
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009628788306719
Tabla de Contenidos:
  • Title Page; Copyright Page; Contents at a Glance; Table of Contents; Foreword; About the Authors; About the Technical Reviewer; Acknowledgments; Introduction; Who This Book Is For; An Overview of This Book; Example Code and Companion Web Site; Contacting the Authors; CHAPTER 1 Overview of HTML5; The Story So Far-The History of HTML5; The Myth of 2022 and Why It Doesn't Matter; Who Is Developing HTML5?; A New Vision; Compatibility and Paving the Cow Paths; Utility and the Priority of Constituencies; Interoperability Simplification; Universal Access; A Plugin-Free Paradigm
  • What's In and What's Out?What's New in HTML5?; New DOCTYPE and Character Set; New and Deprecated Elements; Semantic Markup; Simplifying Selection Using the Selectors API; JavaScript Logging and Debugging; window.JSON; DOM Level 3; Monkeys, Squirrelfish, and Other Speedy Oddities; Summary; CHAPTER 2 Using the Canvas API; Overview of HTML5 Canvas; History; What Is a Canvas?; Canvas Coordinates; When Not to Use Canvas; Fallback Content; CSS and Canvas; Browser Support for HTML5 Canvas; Using the HTML5 Canvas APIs; Checking for Browser Support; Adding a Canvas to a Page
  • Applying Transformations to DrawingsWorking with Paths; Working with Stroke Styles; Working with Fill Styles; Filling Rectangular Content; Drawing Curves; Inserting Images into a Canvas; Using Gradients; Using Background Patterns; Scaling Canvas Objects; Using Canvas Transforms; Using Canvas Text; Applying Shadows; Working with Pixel Data; Implementing Canvas Security; Building an Application with HTML5 Canvas; Practical Extra: Full Page Glass Pane; Practical Extra: Timing Your Canvas Animation; Summary; CHAPTER 3 Working with Scalable Vector Graphics; Overview of SVG; History
  • Understanding SVGScalable Graphics; Creating 2D Graphics with SVG; Adding SVG to a Page; Simple Shapes; Transforming SVG Elements; Reusing Content; Patterns and Gradients; SVG Paths; Using SVG Text; Putting the Scene Together; Building an Interactive Application with SVG; Adding Trees; Adding the updateTrees Function; Adding the removeTree Function; Adding the CSS Styles; The Final Code; Summary; CHAPTER 4 Working with Audio and Video; Overview of Audio and Video; Video Containers; Audio and Video Codecs; Audio and Video Restrictions; Browser Support for Audio and Video
  • Using the Audio and Video APIChecking for Browser Support; Accessibility; Understanding Media Elements; Working with Audio; Working with Video; Practical Extras; Summary; CHAPTER 5 Using the Geolocation API; About Location Information; Latitude and Longitude Coordinates; Where Does Location Information Come From?; IP Address Geolocation Data; GPS Geolocation Data; Wi-Fi Geolocation Data; Cell Phone Geolocation Data; User-Defined Geolocation Data; Browser Support for Geolocation; Privacy; Triggering the Privacy Protection Mechanism; Dealing with Location Information; Using the Geolocation API
  • Checking for Browser Support