<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Bin-Blog &#187; offline</title>
	<atom:link href="http://www.bin-co.com/blog/tag/offline/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bin-co.com/blog</link>
	<description>Learn about the latest in Web Development - as soon as I do.</description>
	<lastBuildDate>Tue, 13 Oct 2009 18:55:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Google Gears &#8211; Offline Functionality for Web Apps</title>
		<link>http://www.bin-co.com/blog/2007/05/google-gears-offline-functionality-for-web-apps/</link>
		<comments>http://www.bin-co.com/blog/2007/05/google-gears-offline-functionality-for-web-apps/#comments</comments>
		<pubDate>Thu, 31 May 2007 07:20:30 +0000</pubDate>
		<dc:creator>Binny V A</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[apps]]></category>
		<category><![CDATA[gears]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[offline]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.bin-co.com/blog/2007/05/google-gears-offline-functionality-for-web-apps/</guid>
		<description><![CDATA[There has been many ideas about a offline storage mechanism for web applications. Dojo implemented this in its Library. Firefox 3 promises this. Now we have a new arrival in this area &#8211; Google Gears. Unlike Dojo&#8217;s implementation, Gears require an extension for it to work. Google Gears is an open source browser extension that [...]]]></description>
			<content:encoded><![CDATA[<p><a href='http://www.bin-co.com/blog/2007/05/google-gears-offline-functionality-for-web-apps/google-gears-logo/' rel='attachment wp-att-28' title='Google Gears Logo'><img class="intro" align="right" src='http://www.bin-co.com/blog/wp-content/uploads/2007/05/google_gears_logo.png' alt='Google Gears Logo' /></a></p>
<p class="intro">There has been many ideas about a offline storage mechanism for web applications. <a href="http://www.sitepen.com/blog/2007/01/23/the-dojo-offline-api/">Dojo implemented this</a> in its Library. <a href="http://www.readwriteweb.com/archives/firefox_3_offline_apps.php">Firefox 3 promises this</a>. Now we have a new arrival in this area &#8211; <a href="http://gears.google.com/">Google Gears</a>. Unlike Dojo&#8217;s implementation, Gears require an extension for it to work.</p>
<blockquote cite="http://code.google.com/apis/gears/"><p>Google Gears is an open source browser extension that lets developers create web applications that can run offline.</p>
</blockquote>
<h2>See Gears In Action</h2>
<p>To see Gears in action, first install the extension&#8230;</p>
<p><a href="http://gears.google.com/">Google Gears</a></p>
<p>Then go to Google Reader &#8211; you will see a &#8216;Offline&#8217; mode button in the top right corner. If you click on that the script will download 2000 entries into your local database(<a href="http://binnyva.blogspot.com/2006/10/sqlite.html">SQLite</a>).</p>
<p><img src='http://www.bin-co.com/blog/wp-content/uploads/2007/05/downloading.png' alt='Downloading Online Entries using Google Gears' /></p>
<p>To see this database, open up the <a href="http://kb.mozillazine.org/Profile_folder">Firefox Profile folder</a> and enter the &#8216;Google Gears for Firefox&#8217; folder. You will find many Database files there. Just open any of these in a SQLite V3 supporting viewer.</p>
<p>After the download is complete, you can use the Reader without a net connection.</p>
<p>When you get the connection back, just click on the same button &#8211; all the changes will be send to the online server.</p>
<p><img src='http://www.bin-co.com/blog/wp-content/uploads/2007/05/syncing.png' alt='Syncing Local DB changes with online server in Google Gears' /></p>
<h2>Advantages of the Google Gears</h2>
<ul>
<li>Once the extension is installed, the script will work across all the supported browser. No JavaScript hacks required.</li>
<li>Full featured Database support &#8211; this makes it much easier to work with.</li>
<li>Supported by Google</li>
<li><a href="http://code.google.com/p/google-gears/source">Open Source</a></li>
</ul>
<h2>Disadvantages of Google Gears</h2>
<ul>
<li>The user must install an extension for this to work.</li>
<li>Requires user action before going offline. If your connection breaks suddenly(as it often happens here in India), you are left with nothing.</li>
<li>All browsers are not supported(yet)</li>
<li>Beta software &#8211; some bugs are to be expected. But, this will be solved in time.</li>
</ul>
<p>I am still exploring the code &#8211; expect a new post with working <a href="http://www.openjs.com/">javascript</a> examples soon.</p>
<h2>Google Gear Links</h2>
<ul>
<li><a href="http://gears.google.com/">Google Gears</a></li>
<li><a href="http://code.google.com/apis/gears/design.html">Getting Started</a></li>
<li><a href="http://code.google.com/apis/gears/tutorial.html">Tutorial</a></li>
<li><a href="http://code.google.com/apis/gears/">Developer site</a></li>
<li><a href="http://code.google.com/support/bin/topic.py?topic=11628">Frequently asked questions</a></li>
<li><a href="http://groups.google.com/group/google-gears">Developer Forum</a></li>
<li><a href="http://gearsblog.blogspot.com/">Gears API Blog</a></li>
<li><a href="http://erik.eae.net/archives/2007/05/30/19.06.10/">erik&#8217;s weblog</a></li>
<li><a href="http://ifacethoughts.net/2007/05/31/gear-for-offline/">Gears for Offline</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.bin-co.com/blog/2007/05/google-gears-offline-functionality-for-web-apps/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

