Getting Started with HTML5 WebSocket Programming. (2013)
- Record Type:
- Book
- Title:
- Getting Started with HTML5 WebSocket Programming. (2013)
- Main Title:
- Getting Started with HTML5 WebSocket Programming.
- Other Names:
- Pterneas, Vangos
- Contents:
- Preface; Chapter 1: WebSocket -- a Handshake!; Life before WebSocket; Polling; Long polling; Streaming; Postback and AJAX; Then came HTML5; The WebSocket protocol; The URL; Browser support; Who's using WebSockets; Mobile?; The future is now; What are we going to make?; Summary; Chapter 2: The WebSocket API; HTML5 basics; Markup; Styling; Logic; A chatting application; API overview; Browser support; The WebSocket object; Events; onopen; onmessage; onclose; onerror; Actions; send(); close(); Properties; The complete example; index.html; chat.js; What about the server?; Summary. Chapter 3: Configuring the ServerWhy do I need a WebSocket server?; Setting up the server; Selecting the technology that suits you; C/C++; Java; .NET; PHP; Python; Ruby; JavaScript; Setting up the development environment; Connecting to the web server; Creating the WebSocket server instance; Open; Close; Message; Send; Other methods; The complete source code; Summary; Chapter 4: Data Transfer -- Sending, Receiving, and Decoding; What kinds of data can WebSockets transfer?; String; JSON; XML; ArrayBuffer; Blobs; Video streaming; Putting it all together. Sending the nickname and message using JSONSending images to the server; Summary; Chapter 5: Security; WebSocket headers; Common attacks; Denial of Service; Man-in-the-middle; XSS; WebSocket native defence mechanisms; SSH/TLS; Client-to-Server masking; Security toolbox; Fiddler; Wireshark; Browser developer tools; ZAP; Summary; Chapter 6: Error HandlingPreface; Chapter 1: WebSocket -- a Handshake!; Life before WebSocket; Polling; Long polling; Streaming; Postback and AJAX; Then came HTML5; The WebSocket protocol; The URL; Browser support; Who's using WebSockets; Mobile?; The future is now; What are we going to make?; Summary; Chapter 2: The WebSocket API; HTML5 basics; Markup; Styling; Logic; A chatting application; API overview; Browser support; The WebSocket object; Events; onopen; onmessage; onclose; onerror; Actions; send(); close(); Properties; The complete example; index.html; chat.js; What about the server?; Summary. Chapter 3: Configuring the ServerWhy do I need a WebSocket server?; Setting up the server; Selecting the technology that suits you; C/C++; Java; .NET; PHP; Python; Ruby; JavaScript; Setting up the development environment; Connecting to the web server; Creating the WebSocket server instance; Open; Close; Message; Send; Other methods; The complete source code; Summary; Chapter 4: Data Transfer -- Sending, Receiving, and Decoding; What kinds of data can WebSockets transfer?; String; JSON; XML; ArrayBuffer; Blobs; Video streaming; Putting it all together. Sending the nickname and message using JSONSending images to the server; Summary; Chapter 5: Security; WebSocket headers; Common attacks; Denial of Service; Man-in-the-middle; XSS; WebSocket native defence mechanisms; SSH/TLS; Client-to-Server masking; Security toolbox; Fiddler; Wireshark; Browser developer tools; ZAP; Summary; Chapter 6: Error Handling and Fallbacks; Error handling; Checking network availability; Fallback solutions; JavaScript polyfills; Popular polyfills; Browser plugins; Summary; Chapter 7: Going Mobile (and Tablet, Too); Why mobile matters. Native mobile app versus mobile websitePrerequisites; Installing the SDK; Testing our existing code in the mobile browser; Going native; Creating the project; Creating the WebSocket iPhone app; What about the iPad?; Summary; Appendix; Resources; Online sources; Articles; Source code; System requirements; Stay in touch; Index. … (more)
- Publisher Details:
- Place of publication not identified : Packt Publishing
- Publication Date:
- 2013
- Extent:
- 1 online resource
- Subjects:
- 006.74
COMPUTERS -- Programming Languages -- HTML
Client/server computing
Electronic data processing
COMPUTERS -- General
Client/server computing
Electronic data processing
COMPUTERS -- Internet -- Application Development
Electronic books - Languages:
- English
- ISBNs:
- 1299832369
9781299832367
9781782166979
1782166971
9781782166962
1782166963 - Notes:
- Note: Print version record.
- Access Rights:
- Legal Deposit; Only available on premises controlled by the deposit library and to one user at any one time; The Legal Deposit Libraries (Non-Print Works) Regulations (UK).
- Access Usage:
- Restricted: Printing from this resource is governed by The Legal Deposit Libraries (Non-Print Works) Regulations (UK) and UK copyright law currently in force.
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD.DS.86773
- Ingest File:
- 01_107.xml