Archive for category AJAX
Java Programming for the Nintendo Wii
Posted by Stephen Downey in AJAX, java, Wii on May 8, 2008
There is a great article over at Ajaxian on programming for the Nintendo Wii. I bought a Wii myself a few weeks back and have been having great fun with Tiger Woods golf. (It is actually my first game console) Up until down the idea of playing a game console alone did not appeal to me but the Nintendo Wii experience is amazing.
The Wii console connects to the controller or Wiimote via bluethooth and uses an accelerometer built into the wiimote to detect the location of the wiimote as well as it’s acceleration. This leads to a really interactive experience for the user.
I have been amazed by responsiveness of the Wiimote and now Dion Almaer and Ben Galbraith over at Ajaxian have developed an Ajax app that uses Wiiusej to interact with the Wiimote. The Wiiusej API is a java wrapper for the C based Wiiuse library.
We then wrote a Java class that acts as a state machine for what the remote is doing. It understands the movements, which buttons are pushed, how fast you are moving the device. With this data we could build a simple darts game. With the state machine Java code, and an Applet wrapper that exposed the information, we were ready to get to the Ajax side of the house.
Checkout the video below of the guys in action:
AJAX process definition on Client Side
Posted by Stephen Downey in AJAX, article, J-SOFA, java, javascript on December 19, 2006
I came across an interesting article by Masayuki Otoshi via Java World that discusses how to execute process definitions on the client side rather than the server side. This can come into play when making AJAX calls. As AJAX is Asynchronous, it is not possible to predict the order that your callback methods will be called in. Masayuki uses J-SOFA (Java/JavaScript Services Orchestration for Actions) to overcome this.
I haven't come across J-SOFA before but it looks like it might be worth looking at for situations where the order of callback methods is important.
Google Release AJAXSLT
Posted by Stephen Downey in AJAX, api, Google, XSLT on September 12, 2006
Google have just released AJAXSLT.
…an implementation of XSL-T in JavaScript, intended for use in fat web pages, which are nowadays referred to as AJAX applications.
I'm looking forward to playing around with this. I have being doing a lot of work with XSLT lately so it will be interesting to see how Google have married this with AJAX.