« FlashCast beats dirt | Main | Gears, Lynch, Thursday »
May 30, 2007
Google Gears
Google Gears: Adobe and Google team up for local database access within web browsers. Infoworld: "Kevin Lynch, senior vice president and chief software architect at Adobe, said his company will join Google in the effort to develop a standard cross-platform, cross-browser local storage capability. The Gears API will be available in Adobe's Apollo tool that enables Web applications to run on the desktop, he added." The press release mentions support from Mozilla and Opera. The docs mention that the local relational database will be build on SQLite. (The Adobe Flash Player already handles local storage of larger-than-cookiesized data, but without the relational aspects of a full local database.) I'm still studying this news; please leave a note here if you see questions to get answered, thanks.
Posted by JohnDowdell at May 30, 2007 04:22 PM
Trackback Pings
TrackBack URL for this entry:
http://weblogs.macromedia.com/mtadmin/mt-tb.cgi/8760
Comments
Artur Bergman at O'Reilly walks through the components. (He mentions "Dojo Offline", and it looks like this is based upon "Dojo Storage", which is based upon Adobe Flash Player's local data storage.)
Nick Gonzalez at TechCrunch says that the implementation within Google Reader already accommodates auto-synch with the server, once reconnected. (Such data-synch is usually an application-level implementation step, once you have the local storage API to build with.)
Martin LaMonica at CNET has some storage details: "The local SQLite database, while small in size, is capable of saving gigabytes of data, although Google intends to set up Google Gears so that Web application providers have to ask permission from users to store data locally. Google engineers have already started work on adding full-text searching to SQLite, Upson said."
In commentary I've read so far, some of the emphasis seems to be on larger-than-cookiesized local storage... some of the commentary focuses more on offline synch... I haven't seen much yet on the developmental angles of how SQL queries can be done clientside, and how relational searches differ from straight token:value cookie storage.
Posted by: John Dowdell at May 30, 2007 05:13 PM
David Berlind at ZDNet has more details, and some original reporting:
The technology consists of three primary components. First, a local "server" which is not really a local Web server but rather a means for capturing all of the Javascript and HTML-based logic that drives the functionality of an application. Second, a local database using the open source-based SQLite for persistence of any data associated with the offline functionality... Google also contributed the necessary Javascript APIs for accessing SQLite from Javascript...
In the interview, [Google's Linux Upson] wouldn't comment on what Adobe's interests are. But I managed to track down Adobe's vice president of product management Michele Turner who told me:
"Google got a hold of us and said they were coming out with an offline capability for browser-based applications and they thought it had implications for our Apollo [runtime]. So, we sat down with them and found out that if you looked across the three main components of Google Gears, we were developing identical technology to facilitate the offline component of the Apollo runtime (a component that allows Internet-enabled applications that run on the Apollo runtime to continue running without connectivity). For example, they're using SQLite and we were already incorporating SQLite into Apollo. So, now we're aligning our efforts with Google on things like the synchronous and asynchronous calls that must be made to the SQLite database in order to enable the offline capability."
Turner went on to say that Adobe intends to make Google Gear functionality more accessible to developers working with Flex and Flash action script. But she wasn't sure when that functionality would become available.
Posted by: John Dowdell at May 30, 2007 06:29 PM
"Gears today covers what we think is the minimal set of primitives required for offline apps. It is still a bit rough and in need of polish, but we are releasing it early because we think the best way to make Gears really useful is to evolve it into an open standard. We are releasing Gears as an open source project and we are working with Adobe, Mozilla and Opera and other industry partners to make sure that Gears is the right solution for everyone. We also want to get early feedback, community involvement, and rapid iterations."
Posted by: John Dowdell at May 30, 2007 06:42 PM
Cool... Dion Almaer already has an example up! (The interesting part here is the triage he takes upon the significant problem of synching with the remote machine when reconnected.)
Dion also has news on how the Dojo folks will be wiring up their API to this local backend.
Posted by: John Dowdell at May 30, 2007 07:09 PM
Mike Chambers has some conversation starting up, particularly about the SQLite and embedded-database aspects.
Posted by: John Dowdell at May 30, 2007 09:36 PM
Scott Hyndman has info on Gears/Dojo/Flash integration... more word in his blog tomorrow.
Posted by: John Dowdell at May 30, 2007 10:25 PM
JD,
Veery interesting. When I first looked at and wrote about Google Gears (www.humdinger-media.com/wblog/?p=71), I immediately thought of Apollo. It's good to know a little more about the background and the collaboration as far as Google Gears is involved.
Just in case you or anyone else is interested, there's a guy called Rusty who also did a very nice job taking Google Gears out for a test spin. You can read his tutorial with step-by-step instructions at: www.seroundtable.com/archives/013657.html
And there's a really cool dude, called Nick, who actually developed a working Google Gears solution to cache WordPress in PHP. You can read about his endeavors at: blog.assembleron.com/2007/05/31/google-gears-caching-of-wordpress-in-php/#comment-2943
(Hey, I'm just trying to help to spread the word about Google Gears to those who are interested . . . I'm not getting paid or anything to promote this kick-tush technology.)
Thanks again,
WebGyver
--------------------------
Making web stuff out of bubble gum and kitchen chemicals.
www.webgyver.info
Posted by: WebGyver at June 1, 2007 07:16 AM
Google's Gears discussion group.
Posted by: John Dowdell at June 1, 2007 12:02 PM
A new database schema editor based on mxGraph is now available at:
http://www.mxgraph.com/demo/mxgraph/schema.html
The editor can be used to create a database in Google Gears.
Features include:
- Drag and drop user interface
- Graphical schema definition
- Properties dialog for columns
- Command history (undo/redo)
- Graphical creation of entity relations
- Creation of create table statements
- Creation of database in Google Gears
- Export of diagram as XML
mxGraph is a JavaScript library that uses built-in browser capabilities to provide an interactive drawing and diagramming solution. Target applications are Web based applications that require workflow/BPM, diagram, network, or general graph editing to be available in-place on a Web page. mxGraph is free for non-commercial use.
Posted by: Gaudenz Alder at June 6, 2007 05:56 AM
this is the time that microsoft has to make adcenter free for 2 years ,,, google is trying to make free charges for its web-based softwares ..
microsoft dont need adcenter money , so let it be free for 2 years or 5 years .. MS must play the google way ..
Posted by: john paul at June 8, 2007 11:12 PM