13/06/07

Permalink 12:29:54 am, by robertc Email , 378 words, 584 views   English (UK)
Categories: Web Develop, Front End Web Development Share on reddit Share on digg Share on del.icio.us Share on ma.gnolia.com Share on StumbleUpon

GDD07UK: Building better AJAX apps

Review: Building better AJAX apps at GDD07UK, The Brewery in London, 52 Chiswell Street, London 15:45 to 16:30

Since I'm now a few weeks behind on my reviews (the date of this post is when I started writing it...), probably everyone who cares about Google Gears has heard about it by now, so I'll keep this short. Chris talked about the design goals for Gears, for both end users and developers. For end users it boiled down to providing a seamless experience between periods of online and offline activity. For developers the goal was to build incrementally on existing skills and techniques - leveraging all those newly learned Ajax skills rather than replacing them, "preserve existing knowledge and momentum" was the exact phrase. Google themselves plan to support all the major desktop browsers with extensions and plugins, but the implementation is an open standard (an open source) so if you feel the need to have it implemented on your platform of choice you can go ahead and do it yourself.

On to the technical details, Gears has three major components:

  • Local Server - basically a local proxy, your application files go into a ManagedResourceStore, which has a manifest, so all your app files can be versioned together, and ResourceStore for any other random web resources your user may access
  • Database - an SQLite database with a javascript API
  • WorkerPool - a method for supporting javascript concurrency through Erlang-style lightweight processes, no shared memory and communication through message passing

If it was just the LocalServer by itself, this would still have been a useful extension - that's all that's really needed to make your web app work offline, but the Database and WorkerPool components enable a whole different approach to web application development. WorkerPool makes it much easier to write applications which do client side data intensive processing, and Database allows you to build applications which sync back to a central server periodically (similar to how .Net CF + SQL Server Compact applications are intended to work now). Expect to see some startups with innovative products based on Gears in the next few months.

Several code examples and clear explanations, an excellent talk as befits what is obviously a key technology for Google - 5 out of 5.

Technorati tags for this review:    
Technorati tags for this post:

Trackback address for this post:

http://www.boogdesign.com/b2evo/th1srv/trackback.php/200

Comments, Trackbacks, Pingbacks:

No Comments/Trackbacks/Pingbacks for this post yet...

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))

Hot Topics

Popular

boogdesign posts

Longer posts on standards based web design, portable web development and Linux, intermingled with some stuff on my other nerd interests.

Search

Syndicate this blog XML

  • RSS 0.92 Posts RSS 0.92 Comments
  • RSS 1.0 Posts RSS 1.0 Comments
  • RSS 2.0 Posts RSS 2.0 Comments
  • Atom Posts Atom Comments
What is RSS?

License info

Creative Commons License
This work is licensed under a Creative Commons Attribution-Share Alike 2.5 License.

powered by
b2evolution

get hCard