CHAPTER 11

image

Introduction to WebSockets for Game Developers

Peter Lubbers, Program Manager, Google Developer Relations

It is a bit hard to imagine, but the Web wasn’t always as dynamic as it is today. Before I discuss WebSockets, let’s take a trip down memory lane.

Before Asynchronous JavaScript and XML (AJAX) and its cornerstone, XMLHttpRequest (XHR), gained widespread industry adoption, web application updates could only be achieved by refreshing a page. AJAX came of age in the early 2000s and represented the first wave of interactive tools, giving developers the ability to make applications feel more like their desktop counterparts. An AJAX ...

Get HTML5 Game Development Insights now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.