xRTML.org

xRTML's Blog

xRTML News, from Portugal to the Realtime World Web.

Chatting in Realtime®

— by João Batista on May 31, 2012

Chatting in Realtime®

In this article we’ll set up a small chat has an example on how to communicate between two or more people using our Realtime® technology.

From our box of xRTML tags we’ll require only two of them: connection and shoutbox. After it’s done you’ll find out that you probably spent more time styling the chat area than actually coding it.

Depending on the way the shoutbox is configured, communication between users on the same website can range from all users or to just between two users. The source code for this demo is at the end of the page.

Read more →

In-depth Drawing Board

— by Ricardo Jesus on March 22, 2012

In-depth Drawing Board

At first glance, the xRTML Drawing Board tag may look a bit overwhelming due to its many functionalities. Before starting to explain its behavior, let me do a brief introduction regarding this tag.

The Drawing Board tag is an implementation of a drawing tool, using HTML5 canvas, leveraged by the xRTML framework in order to broadcast all the steps of the drawing to all the users subscribed to the channel. The tag can have two behaviors: sender or receiver, where the sender is the one who draws, and the receiver the spectator. As expected, in order for this tag to work properly, the browser must support the HTML5 Canvas 2D Context.

Read more →