Cargando…

WebSocket essentials, building apps with HTML5 WebSockets : build your own real-time web applications using HTML5 WebSockets /

This book is for web developers who want to learn and implement WebSocket to create interesting apps for modern browsers, leveraging the capabilities of HTML5 with WebSockets.

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Chopra, Varun (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, UK : Packt Publishing, 2015.
Colección:Community experience distilled.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Introducing the World of Web App; What is the Web?; Web applications; Where does WebSockets fit?; WebSockets over other methods; Modern browsers; HTML; HTML5
  • the modern Web standard; Media
  • audio/video; Canvas; Form elements; Semantics; Mobile first; Offline storage; Geolocation; Drag and drop; Web workers; JavaScript; Modern servers; WebSockets; Summary; Chapter 2: Getting Started with WebSockets; Why WebSockets?; Importance of WebSockets; When to use?; How it works?
  • WebSocket APIReady states; Events; Echo Test; The WebSockets client app; Instantiation; Adding events; Sending messages; Receiving messages; Closing the connection; The WebSocket server; The Node.js server; Summary; Chapter 3: Configuring the Server and Transferring Real-time Data; Full-duplex real-time data transfer; Foundation of real-time applications; Collaborative presentation application; The presentation library; Setting up the library; Adding collaboration; Code implementation; The client code; The server code; Do it yourself; Input username; The list of users.
  • User-based authorization to change the presentationMaking the user the presenter; Tips and tricks; Summary; Chapter 4: Using WebSockets in Real Scenario; The real scenario; The JavaScript framework; AngularJS; Learn by doing; The collaborative drawing application; Requirements; The drawing library; The client application; Integrating with the server; The client code; The server code; Do it yourself; User registration; The list of users; Share with specific users; Save drawings; The application structure; Restructure the application; Model; View; Controller; Service; Summary.
  • Chapter 5: WebSockets for Mobile and TabletMobile devices and the WebSocket; Pusher; Socket. IO; Running server on mobile; Local server on mobile; Mobile output; Browser support; Do it yourself; Scenario 1; Scenario 2; Scenario 3; Summary; Chapter 6: Enhancing HTML5 Web Application Development Using Modern Tools; Modern tools and techniques; Code editors; Boilerplates; Packaging tools; Build tools; Application frameworks; Modern servers; Responsive web design; The MEAN stack; Summary; Index.