As noted in the SproutCore documentation you need to have RubyGems 1.3.0 installed. You also need a full Ruby distribution (including openssl bits), which is not so clearly noted. Here’s the steps I followed on my Ubuntu 8.10 system.
Step 1. Update to the latest version of RubyGems Type the following to update RubyGems:
1 sudo gem update --system Note: thats a double dash before system. On my system this created a new executable /usr/bin/gem1.
Read more...
Myself and Nikunj Mehta have been working on an Internet Draft for a small extension to Atom and AtomPub to enable modelling master-detail relationships (e.g. purchase orders and line items) in feeds and collections. We have frequently found a need to express this kind of relationship when attempting to define Atom/AtomPub interfaces for enterprise applications, so we feel it would be useful to try and define a standard mechanism for this.
Read more...
I was recently asked how I debug JavaScript code executing on Internet Explorer Mobile. First things first you need to configure Internet Explorer Mobile to show JavaScript Errors. As noted here you need to:
Change the Registry setting "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" and Create a new DWORD key under Main with the name "ShowScriptErrors". Set DWORD value of 1.
There are (at least) two ways to change registry settings on a Windows Mobile device/emulator.
Read more...
Recently there has been an increase in interest in building offline capable web applications. I’ve faced the offline use-case a few times in the past, I thought I’d try to jot down some of my experiences from these excursions. I’ve dealt with offline use cases in the following domains:
In the data centre, enabling J2EE applications to deal with offline mainframes and other legacy data sources/sinks. These resources might be offline due to failure, scheduled maintenance, or because their capacity is consumed with running batch jobs.
Read more...