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
Otros Autores: Chopra, Varun, author (author)
Formato: Libro electrónico
Idioma:Inglés
Publicado: Birmingham, England : Packt Publishing 2015.
Edición:1st edition
Colección:Community experience distilled.
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009628670606719
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