3 messages in com.googlegroups.google-gearsRe: Gears on a stick
FromSent OnAttachments
daniel.fryar06 Feb 2008 11:25 
daniel.fryar06 Feb 2008 13:33 
Ben Lisbakken07 Feb 2008 08:24 
Subject:Re: Gears on a stick
From:daniel.fryar (dani@gmail.com)
Date:02/06/2008 01:33:33 PM
List:com.googlegroups.google-gears

I found a little discussion on this topic here:http:// groups.google.com/group/google-gears/browse_thread/thread/ 01b5469006575e39

I have been working on getting a web application to run completely on a USB memory stick and I would love get this community's thoughts on it.

A laundry-list of thoughts/issues I have had so far:

The Databases are stored in a specific place
(seehttp://code.google.com/apis/gears/api_database.html#directories). Is there any way to either: 1. Store the database in another place? or 2. Access an existing database in another place? I understand that the intent was to disallow this for security purposes
(seehttp://code.google.com/apis/gears/api_database.html#sqlite_changes). Since this is mostly open-source, there may be ways to open it up and modify it for my own purposes. This brings up issues like, "can someone modify gears and have people duped into downloading their copy..." but as I am already limiting myself in a hundred ways wanting to run everything on a thumb drive, I am not specifically like that theoretical cracker.

Also, it would be neat to have localserver be just a little beefier so it could actually serve stuff up and be running on a thumb drive. I am just clicking a stored html, which works pretty much for now, but I eventually want to put a sophisticated GWT webapp here, so a little more smarts would allow for the loader html file to open up localserver, which would be able to look at the platform and choose between the <complex-name-browser-specific>.html files that GWT generates.

Which makes me wonder: does anyone know how gears will handle an un- served application with respect to the security measures to enforce the same origin policy? What I mean is, if the browser points at file://d:yada/yada.html or something, then where will the gears stuff end up? Not in ../{profile}/Google Gears for Firefox/localhost/ as if you had a local server going.

Well, enough rambling. I really think that this is a very fascinating technology and I'd love to see more discussions about it, so please