Web Info & Tutorials

February 6th, 2007

AUDIBLE AJAX EPISODE 20: PROJECT TAMARIN

We at Ajaxian have long been hoping for a JIT compiler inside of the browsers’ JavaScript interpreter — so we were pretty stoked when Adobe donated their excellent JIT-compiling JavaScript virtual machine to Mozilla back in Nov. ‘06. The new open-source codebase, maintained by the Mozilla Foundation, is known as Project Tamarin.

In this episode of Audible Ajax (~14 MB, ~27 min.), we look into Project Tamarin in a bit of detail, analyzing what kind of an impact this will have on the Ajax community. Let us know what you think!

February 6th, 2007

BOOST AJAX PERFORMANCE USING LOCAL STORAGE

Niall Kennedy has taken a look at the various local storage options from various browsers, and cross-browser in Boost Ajax performance using local storage.

His article touches on the good ole cookie, Flash local Shared Object, Internet Explorer userData, and Firefox DOM Storage.

He talks about pros and cons, and efforts such as dojo.storage.

Conclusion

Client-side storage addressable from any web page has the potential to change the way we build web pages and the division of labor between client and server. Just as CSS and JavaScript created new ways to style and interact with a page, the client-side storage capabilities of modern browsers will create a new concept of a web application runtime. It’s yet another step in the progression of web applications trying to create the best possible experience using the latest widely deployed web browsers and browser plugins.

Web applications using these latest technologies can deploy an upgrade on-the-fly, initializing a new set of libraries and web page templates after examining a user’s browser and bandwidth for compatibility. Web applications such as Google Calendar might store your appointments locally, exposing this data to Google Maps or other mapping applications to plan the route to your next appointment without submitting a new server requests for the same data. Your webmail will be downloaded locally, quickly loaded even if you are on a plane.

Speaking of dojo.storage, there is another update:

It is cute that the namespace has “.dot.” in it :)

February 6th, 2007

ONETEAM INSTANT MESSAGING CLIENT

Process One has announced a newborn IM computer titled OneTeam.

The computer is XUL based, so requires Firefox 2 or crapper be separate as a stand-alone XULRunner:

OneTeam handles presence, one-to-one chat, enter tranfert, individual playing bill and group-chat in realtime. Based on the XMPP protocol, it enables both bonded and clannish chitchat exclusive the company, but crapper also be unsealed in a curb behavior to designated servers in relation organizations.

For example, it is doable to be broken exclusive by grouping employed on the aforementioned send at a presented time. Other messages module be suspended until a time you hit chosen.

Process One

February 6th, 2007

GCOMETD: COMET ON JAVA

Jean-Francois Arcand has followed in the footsteps of Jetty with gCometd, a assist to do Comet call applications in Java.

His article discusses “The Cometd support and its Bayeux prescript is today based play with Grizzly 1.0.11 and GlassFish 9.1 b35. In this prototypal blog, I module speech most the gCometd implementation, how to enable it and exposit a dojo cometd enabled example.”

Dojo cometd example

To wager the gCometd in action, you crapper download a distribution here. This distribution is an modified Chat covering acquirable in Jetty, cursive by Greg Wilkins. Greg adventurer is a member of the Cometd glasses and the creator of Jetty. Jetty was the prototypal cometd feat and I’ve definite to alter its cometd example for the determine of this blog.

For Grizzly, meet unzip the struggle enter low the cometd folder. For GlassFish, meet deploy the application. Then move your application and saucer to the context-root of the distribution (”/index.html” for Grizzly, “cometd-example/index.html” for GlassFish). An superior agency to ingest to wager what DOJO’s Cometd computer is sending to gCometd is Firebug. I strongly propose you establish it. It rattling support discernment what is Bayeux!