Programming HTML5 Applications

Building Powerful Cross-Platfrom Environments in JavaScript

Specificaties
Paperback, 128 blz. | Engels
O'Reilly | 1e druk, 2012
ISBN13: 9781449399085
Rubricering
Hoofdrubriek : Computer en informatica
O'Reilly 1e druk, 2012 9781449399085
Verwachte levertijd ongeveer 16 werkdagen

Samenvatting

HTML5 is not just a replacement for plugins. It also makes the Web a first-class development environment by giving JavaScript programmers a solid foundation for building industrial-strength applications. This practical guide takes you beyond simple site creation and shows you how to build self-contained HTML5 applications that can run on mobile devices and compete with desktop apps.

You'll learn powerful JavaScript tools for exploiting HTML5 elements, and discover new methods for working with data, such as offline storage and multithreaded processing. Complete with code samples, this book is ideal for experienced JavaScript and mobile developers alike.

- Store session data in the browser with local storage objects
- Save trips to the server: store larger amounts of data with IndexedDB
- Give browsers limited access to a user's system to read and upload files
- Take your app offline-and speed up page loading when it's online
- Use Web Workers to create multithreaded applications
- Transfer data between browser and server more efficiently with Web Sockets
- Learn about HTML5 tags for forms, multimedia, graphics, and geolocation

Specificaties

ISBN13:9781449399085
Taal:Engels
Bindwijze:paperback
Aantal pagina's:128
Uitgever:O'Reilly
Druk:1
Verschijningsdatum:10-1-2012

Over Zachary Kessin

Zachary Kessin first discovered the world wide web around 1993 when NCSA Mosaic was still the dominant browser. He has been building applications on the internet since 1995 when perl and CGI were the way to go. He has worked in the Boston Area, London, Tel Aviv and Jerusalem.

Andere boeken door Zachary Kessin

Inhoudsopgave

Preface

1. The Web As Application Platform
-Adding Power to Web Applications
-Developing Web Applications
-JavaScript's Triumph

2. The Power of JavaScript
-Nonblocking I/O and Callbacks
-Lambda Functions Are Powerful
-Closures
-Functional Programming
-Prototypes and How to Expand Objects
-Expanding Functions with Prototypes
-Currying and Object Parameters
-Array Iteration Operations
-You Can Extend Objects, Too

3. Testing JavaScript Applications
-QUnit
-Selenium

4. Local Storage
-The localStorage and sessionStorage Objects
-JQuery Plug-ins

5. IndexedDB
-Adding and Updating Records
-Adding Indexes
-Retrieving Data
-Deleting Data

6. Files
-Blobs
-Working with Files
-Uploading Files
-Drag-and-Drop
-Putting It All Together
-Filesystem

7. Taking It Offline
-Introduction to the Manifest File
-Events
-Debugging Manifest Files

8. Splitting Up Work Through Web Workers
-Web Worker Use Cases
-Using Web Workers
-Web Worker Fractal Example
-Testing and Debugging Web Workers
-A Pattern for Reuse of Multithread Processing
-Libraries for Web Workers

9. Web Sockets
-The Web Sockets Interface
-Setting Up a Web Socket
-Web Socket Example
-Web Socket Protocol

10. New Tags
-Tags for Applications
-Accessibility Through WAI-ARIA
-Microdata
-New Form Types
-Audio and Video
-Canvas and SVG
-Geolocation
-New CSS

Appendix: JavaScript Tools You Should Know

Index

Net verschenen

Rubrieken

Populaire producten

    Personen

      Trefwoorden

        Programming HTML5 Applications