OReilly_Programming_HTML5_Applications.pdf
(
1414 KB
)
Pobierz
Programming HTML5 Applications
Programming HTML5 Applications
Programming HTML5 Applications
Zachary Kessin
Beijing
•
Cambridge
•
Farnham
•
Köln
•
Sebastopol
•
Tokyo
Programming HTML5 Applications
by Zachary Kessin
Printing History:
ISBN: 978-1-449-39908-5
1315947718
Table of Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
1. The Web as Application Platform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Developing Web Applications
1
Adding Power to Web Applications
3
2. The Power of JavaScript . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
JavaScript's Triumph
5
Non-blocking I/O and Callbacks
7
Lambda Functions Are Powerful
8
Closure
10
Functional Programming
12
Prototypes and How to Expand Objects
15
Expanding Functions with Prototypes
17
Currying and Object Parameters
20
Array iteration operations
21
You Can Extend Objects, Too
24
3. Testing Javascript applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
QUnit
28
A Simple Example
28
Testing with QUnit
30
Mocking and Stubs
31
Selenium
31
Selenium Commands
34
Constructing tests With the Selenium IDE
37
Automatically running tests
37
Selenese Command Programing Interface
41
Running QUnit from Selenium
43
Selenium RC and a test farm
45
v
Plik z chomika:
agentpl
Inne pliki z tego folderu:
O'Reilly - DNS on Windows Server 2003.chm
(2758 KB)
O'Reilly - Dreamweaver in a Nutshell.chm
(3750 KB)
O'Reilly - Dreamweaver MX 2004 The Missing Manual.chm
(15236 KB)
O'Reilly - Dynamic HTML The Definitive Reference.pdf
(9442 KB)
O'Reilly - eBay Hacks 100 Industrial Strength Tips and Tools.chm
(3279 KB)
Inne foldery tego chomika:
Addison Wesley
Packt Books
Wiley
Zgłoś jeśli
naruszono regulamin