BSON, short for Binary JSON, is a binary-encoded serialization of JSON-like documents. Like JSON, BSON supports the embedding of documents and arrays within other documents and arrays.
BSON is used by MongoDB to represent its document-oriented database structure.
Tropo makes it simple to build phone, SMS and Instant messaging applications. You use the web technologies you already know and Tropo’s powerful cloud API to bring real-time communications to your apps.
I had recorded a video and exported into HTML5 Webkit compatible video clip, and included into web page using HTML5 <video> tags. And then, the screens will be copied into HTML5 <canvas>. After that, the magic comes, the screen in HTML5 <canvas> will be real time broadcasted to the other client browsers (tested on Google Chrome, Apple Safari, and Apple Safari Browser runs on iPhone, or webkit browser). I had applied some algorithms to manipulate the video as well. The canvas also allows simple line drawing. At the end, the results of the canvas will broadcast to the other client browsers in real time.
CorMVC by Ben Nadel is a jQuery-powered Model-View-Controller (MVC) framework that can aide in the development of single-page, web-based applications. CorMVC stands for client-only-required model-view-controller and is designed to be lowest possible entry point to learning about single-page application architecture. It does not presuppose any server-side technologies, or a web server of any kind, and requires no more than a web browser to get up and running.
HTML5 now supports Full Screen API that allows browser to request full screen, and it is useful for video element. It is awkward that HTML5 video does not full screen while Flash video does have previously.
Just get in touch with Pusher and have a simple apps online, an apps that is able to show my location on Google Map in real time.
Use your HTML5-enabled browser such as Google Chrome, or iPhone device, and pointed to this URL http://fyhao.com/showcase/p/map.html, and then you will see my (fyhao) location on Google Map in real time.
By right, at the first time you visit this web page, you will see a text indicating “Connecting…” at the top left, it will change to “Connected” and disappeared after sometimes, depend on your device and network location. (At the time of writing, I try to use Google Chrome on Mac to access but it is damn slow, however, iPhone is very fast to connect)
After that, you may see “Updated” text fade in and fade out at the top left, indicated that the map had been updated. Now, your job is just waiting the map to be updated without refreshing the browser screen. If nothing happened, meant there is no any new updated information from me.
How it works? I will create another script to get my current location using HTML5 Geolocation API and send the location to Pusher for about 3 seconds interval, and it will immediately update your screen with my latest location. But I will not open my phone’s screen to point to this page for longer time, so you may not see any updated for certain times..
Pusher is an amazing tool to easily integrate real time feature in our web apps and mobile apps. Using the Pusher API is very easy, and there are many industry use case, see the Pusher examples here.
Currently, only Google Chrome the client browser supports HTML5 WebSockets natively. There is also less server support for HTML5 WebSockets, since this specification still new. Jetty WebSocket Server is one of an open source solution built on top of Java EE.