Building Web Applications with WebSockets
WebSockets brings new capabilities to the web ñ reliable, low-latency, low-overhead web communications ñ but also requires new skills and ways of looking at development. Developers and security professionals have been struggling to fit this new technology into their existing models of the web. It's time to look at the fundamentals of WebSocket communication and web development, then use these to build a new way of understanding web development. In this session, we'll look deeply at the WebSocket protocol, see how to apply it to common design patterns (broadcast, request-response, and mediated peer-to-peer), then apply this knowledge to building HTML5 WebSocket clients. We'll also look at how to make this work on the desktop and mobile devices. We'll also cover the testing issues that arise when developing on multiple platforms and provide real-world strategies for efficient testing.†You'll take home pointers to resources, roadmaps for learning the client-side technologies, and a copy of the finished application source code to jump-start your own development efforts. Session objectives: At the end of this session, you should be able to:1.Identify the choices that lead to a successful client-server WebSocket deployment, 2. Name two server options for your webSocket application, 3. Match your application idea to the corresponding communications pattern, 4. Identify the client-side technologies needed to make your application work, 5. Identify where to integrate WebSockets in common client-side technologies such as Backbone and AngularJS, 6. Create a testing plan for your client-server application. Audience: Intermediate to advanced developers who have been building server-rendered apps using technologies such as JSP, Ruby on Rails, Django, etc.