Managed Web and Print MarketingwebEprint

Archive for the ‘Uncategorized’ Category

JSON Classes for Open Rico Live Grid

Tuesday, April 15th, 2008

I’ve been working on a project using Google Gears for the last few weeks and I’ve hacked together some classes to allow the user of the Open Rico Live Grid to use Gears to operate offline. A result of using Gears to take an application offline is that it is much easier to move data around in a raw data type format as oppose to a markup format that you might use if you can format the data on the server. The advantage is that if your server produces raw data and your Gears database produces raw data, then you can do all of your formating in one place. In the browser via JavaScript. If your server is pushing fragments of markup to your page via AJAX, then when you need to replicate that functionality offline, you have to grab the data from the local DB and then format via JS and try to produce the same markup that your server is producing. Then when you need to change something, you get to change it twice. Boo!

(more…)