Integrate the browser with APlay's Javascript target. There is no need to call webservices or parse XML/JSON data when working with generated APlay objects. Call server methods as if they were local and receive callbacks everytime data changes. Create an interconnected model for web pages and servers and thus let the server access data on the page. If no server logic is needed, APlay Zero Server can be used which requires no implementation.

There are different opinions on the role a browser will have in future applications and games. With the ongoing development and adoption of HTML5, we believe that it's advantages will increase even more: Applications or games are often installation-free, can be maintained without user notice and thus offer a low-threshold application platform. There are numerous libraries that provide WebSocket abstraction, event bus implementations or even the approach to bring JavaScript to the server to avoid type conversion problems. APlay takes an integrated approach that allows to create a full-featured JavaScript APlay client with connection handling, serialisation, type conversion and more.

Adopting JSClass v3.0 mechanisms, a JavaScript APlay application is built by implementing generated stub classes. Values are transferred by calling setters, changed values trigger event handlers that in turn can update the UI or initiate other actions.

Underneath, APlay takes care of available transport mechanisms. A call to APlay's connect method automatically detects the best available mechanism (native WebSockets in different protocol versions, Flash WebSocket emulation) and takes care of load balancing - if configured. This makes sure that your application reaches the broadest possible audience, even if their browser is not up-to-date.

Possible applications