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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.