书籍详情
HTML5应用编程(影印版)
作者:(美)凯西恩 著
出版社:东南大学出版社
出版时间:2012-06-01
ISBN:9787564134136
定价:¥32.00
购买这本书可以去
内容简介
《HTML5应用编程(影印版)》ZacharyKessin著:发掘HTML5的全部特性,学习如何搭建能够运行在移动设备上的完整的、自包含的应用,这些应用足以和桌面应用相抗衡。通过这本实用的指南,你会发现在HTML5中与数据打交道的有效方法,比如离线存储和多线程处理。你会熟悉那些能够帮助你充分利用所有HTML5元素的高级JavaScript工具。《HTML5应用编程(影印版)》不仅包含了示例代码,同时它还为有经验的JavaScript开发者展示了HTML5是如何把Web变成一流的开发环境的。
作者简介
Zachary Kessin,在开发交互式Web应用上已经有二十多年的经验了。他关注于使用Java Script在浏览器中搭建复杂应用,使用Selenium测试浏览器应用,功能化编程和代码生成。
目录
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
A Simple Example
Testing with QUnit
Selenium
Selenium Commands
Constructing Tests with the Selenium IDE
Automatically Running Tests
Selenese Command Programming Interface
Running QUnit from Selenium
Selenium RC and a Test Farm
4. Local Storage
The localStorage and sessionStorage Objects
Using localStorage in ExtJS
Offline Loading with a Data Store
Storing Changes for a Later Server Sync
JQuery Plug-ins
DSt
jStore
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
Fiiesystem
7. Taking It Offline .
Introduction to the Manifest File
Structure of the Manifest File
Updates to the Manifest File
Events
Debugging Manifest Files
8. Splitting Up Work Through Web Workers
Web Worker Use Cases
Graphics
Maps
Using Web Workers
The Worker Environment
Worker Communication
Web Worker Fractal Example
Testing and Debugging Web Workers
A Pattern for Reuse of Muhithread Processing
Libraries for Web Workers
9. Web Sockets
The Web Sockets Interface
Setting Up a Web Socket
Web Socket Example
Web Socket Protocol
Ruby Event Machine
Erlang Yaws
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
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
A Simple Example
Testing with QUnit
Selenium
Selenium Commands
Constructing Tests with the Selenium IDE
Automatically Running Tests
Selenese Command Programming Interface
Running QUnit from Selenium
Selenium RC and a Test Farm
4. Local Storage
The localStorage and sessionStorage Objects
Using localStorage in ExtJS
Offline Loading with a Data Store
Storing Changes for a Later Server Sync
JQuery Plug-ins
DSt
jStore
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
Fiiesystem
7. Taking It Offline .
Introduction to the Manifest File
Structure of the Manifest File
Updates to the Manifest File
Events
Debugging Manifest Files
8. Splitting Up Work Through Web Workers
Web Worker Use Cases
Graphics
Maps
Using Web Workers
The Worker Environment
Worker Communication
Web Worker Fractal Example
Testing and Debugging Web Workers
A Pattern for Reuse of Muhithread Processing
Libraries for Web Workers
9. Web Sockets
The Web Sockets Interface
Setting Up a Web Socket
Web Socket Example
Web Socket Protocol
Ruby Event Machine
Erlang Yaws
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
猜您喜欢