653
lesson summary and review, 424–425, 436
practice exercises, 425–435
WebSocket libraries, 423–424
WebSocket object
binaryType property, 417
bufferedAmount property, 417
close() method, 416
extensions property, 417
implementing, 417–420
onclose event property, 417
onerror event property, 417
onmessage event property, 417
onopen event property, 417
protocol property, 417
readyState property, 417, 419
send() method, 416–417, 419
url property, 417
WebSocket constructor, 416
WebSocket protocol
dealing with web farms, 422–423
described, 415– 416
handling connection disconnects, 422
handling timeouts, 420–422
lesson summary and review, 424–425, 436
practice exercises, 425–435
WebSocket libraries, 423–424
WebVTT (Web Video Text Tracks) standard,
441–442
WEFT (Web Embedding Fonts Tool), 144
WHERE clause (SQL), 587
while loop, 84–85
width attribute
<canvas> element, 460
<embed> element, 50
<object> element, 51
<video> element, 441
window object
events triggered by, 117
frameElement property, 44
parent property, 44
web farms, 422– 423
web servers
described, 312–313
submitting form data to, 316
WebSocket protocol, 416
web services. See also Node.js platform
AJAX calling, 368–380
cross-origin resource sharing, 380–381
described, 364–366
lesson summary and review, 381–382, 391–392
practice exercises, 386–390
RESTful, 366–368
Web Services Description Language (WSDL), 366
Web SQL databases
adding tables, 584
aggregating functions, 588
browser support, 559
creating and opening, 582–583
deleting records, 586
executeSql() method, 585–586
filtering results, 587–588
inserting new records, 585–586
JOIN commands, 588
lesson summary and review, 588–589, 617
longevity considerations of, 582
performing schema updates, 583
reading values from, 586–587
as storage mechanism, 558
transactions in, 584–585
updating existing records, 586
web storage. See storage mechanisms
web workers, 404–405, 563
Web.config file, 10
.webm file extension, 438–439
WebM/VP8 format, 438
WebSocket API
dealing with web farms, 422–423
described, 415– 417
handling connection disconnects, 422
handling timeouts, 420–422
window object