html5 - socket.io
rest - hateoas