nextwebgen.com

The Next Generation Web Now

SMC Trader, The Global Online Trading Platform, Goes Web 2.0 (PR Web)

Filed under: Web 2.0 News — Yahoo! News Search Results for web 2.0 at 2:22 am on Thursday, May 31, 2007

SMC Trader - www.smctrader.com - the global online trading platform has officially gone Web 2.0. As older style websites deliver information, Web 2.0 websites deliver interactivity. Videos, Chat & Feedback all feature in the traders experience. (PRWeb May 31, 2007) Post Comment:Trackback URL: http://www.prweb.com/pingpr.php/UHJvZi1Db3VwLUNvdXAtU2luZy1UaGlyLVplcm8=

Online Trading Platform 'Goes Web 2.0' - Social Computing Magazine

Filed under: Web 2.0 News — web 2.0 - Google News at 2:02 am on Thursday, May 31, 2007

Online Trading Platform 'Goes Web 2.0'
Social Computing Magazine, NY - 2 hours ago
As older style websites deliver information, Web 2.0 websites deliver interactivity. As more investors, said Rogers, take their finances into their own
SMC Trader, The Global Online Trading Platform, Goes Web 2.0 Emediawire (press release)
all 3 news articles

SMC Trader, The Global Online Trading Platform, Goes Web 2.0 (PRWeb via Yahoo! News)

Filed under: Web 2.0 News — Yahoo! News Search Results for web 2.0 at 2:01 am on Thursday, May 31, 2007

SMC Trader - www.smctrader.com - the global online trading platform has officially gone Web 2.0. As older style websites deliver information, Web 2.0 websites deliver interactivity. Videos, Chat & Feedback all feature in the traders experience.

AJAX is painful, painful, painful says Google - Australian Personal Computer

Filed under: Web 2.0 News — Ajax - Google News at 1:33 am on Thursday, May 31, 2007

AJAX is painful, painful, painful says Google
Australian Personal Computer, Australia - 3 hours ago
One of Google's key developers today told attendees of Google Developer Day Sydney that programming AJAX apps could be "very, very painful."

Are You Chasing the Web 2.0 Trend? Part 1 - ClickZ News

Filed under: Web 2.0 News — web 2.0 - Google News at 9:13 pm on Wednesday, May 30, 2007

Are You Chasing the Web 2.0 Trend? Part 1
ClickZ News, NY - 2 hours ago
Are you launching your Web 2.0 strategy? Have you made the great stealth video about your product and uploaded it to YouTube? Certainly you've built a

Is Web 2.0 Safe? - PC World

Filed under: Web 2.0 News — web 2.0 - Google News at 7:16 pm on Wednesday, May 30, 2007


PC World
Is Web 2.0 Safe?
PC World - 6 hours ago
Kamkar created what is considered the first Web 2.0 worm–a virulent bug that no firewall could block, and which ultimately forced MySpace.com to

Google Updates AJAX Dev Tool - DevX.com

Filed under: Web 2.0 News — Ajax - Google News at 7:01 pm on Wednesday, May 30, 2007

Google Updates AJAX Dev Tool
DevX.com, CT - 1 hour ago
Google has posted a Release Candidate of Google Web Toolkit (GWT) 1.4, the latest version of its developer tool for building AJAX-based Web applications and
Google Web Toolkit 1.4: “Have to see it to believe it” ZDNet.com blogs
all 3 news articles

RSS Bling goes Offline with Google Gears

Filed under: Web 2.0 News — Dion Almaer at 6:03 pm on Wednesday, May 30, 2007

I couldn’t resist taking RSS Bling, and adding modern offline support to it (instead of HTA/Mozilla specific support from 2+ years ago).

I tackled a very narrow problem. Instead of grabbing feed and post data directly from an online store, I changed the code to:

  • Display the feeds and posts, pulling them from the local database (Using the embedded SQLLite DB)
  • Try to get updated feeds and posts, and if they are available (e.g. you are online), place them right into the offline store
  • Repaint.

This simplified model takes out the complicated syncing piece (and since this is a simple read-only reader, that is quite OK!). There is no checking to see if you are online or offline. There is no visual queue for telling you that (which is a good thing IMO). It should just work.

There are times where you do need to change the UI though of course. It would be nice to say “hey, don’t close the laptop quite yet, I am still downloading all of these feeds so you can read them on the plane”.

For a real offline feed reader, you can use the new Google Reader that runs on Google Gears.

The work is all done in offline.js, and it has a couple of different sections.

The fun piece is the Google Gears work to setup and play with the database.

E.g.

JAVASCRIPT:

  1.  
  2. function initDb() {
  3.   if (!window.google || !google.gears) {
  4.     return;
  5.   }
  6.  
  7.   db = getDb();
  8.   run(‘create table if not exists feeds (’ +
  9.              ‘id integer not null primary key autoincrement,’ +
  10.              ‘title varchar(255),’ +
  11.              ‘url varchar(255),’ +
  12.              ‘description text)’);
  13.  
  14.   run(‘create table if not exists posts (’ +         
  15.              ‘id integer not null primary key autoincrement,’ +
  16.              ‘feed_id integer,’ +
  17.              ‘title varchar(255),’ +
  18.              ‘url varchar(255),’ +
  19.              ‘content text)’);
  20. }
  21.  
  22. function getDb() {
  23.   try {
  24.     var theDb = google.gears.factory.create(‘beta.database’, ‘1.0′);
  25.     theDb.open(‘rssbling’);
  26.     return theDb;
  27.   } catch (e) {
  28.     alert(‘Could not create the rssbling database: ‘ + e.message);
  29.   }
  30. }
  31.  
  32. /*
  33. * Check to see if the feed is already there before adding it
  34. */
  35. function addFeed(title, url, description) {
  36.   var rslt = executeToObjects(’select id from feeds where title = ? and url = ?’, [title, url])[0];
  37.   if (rslt) { return; }
  38.   run(‘insert into feeds (title, url, description) values (?, ?, ?)’, [title, url, description]);
  39. }
  40.  
  41. function selectPosts(feed_id) {
  42.   return executeToObjects(“select * from posts where feed_id = ?”, [feed_id]);
  43. }
  44.  

This has only scratched the surface. I need to integrate the Resource pieces, come up with a problem that would benefit from the WorkerPool, and play.

I can’t wait to see what you all come up with. There is a lot of room to do interesting offline apps, and build libraries on top of Google Gears.

Their approach hasn’t been to boil the ocean of offline, but rather to give us developers a little bit to work with and then we can go to town. The recent model for this is XHR itself. It isn’t the best interface, but it is a nice low-level piece of functionality that we can then riff on top of.

RSS Bling on Google Gears

« Previous PageNext Page »