I just stumbled onto xajax, an open source PHP libary for building web-based AJAX applications. After briefly viewing the documentation and playing with some examples, I've decided to use this particular library to build my experimental games. Hopefully, I'll learn enough to use it for more advanced applications.