<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Getting into Gears: Offline Web App Tutorial &#8211; Part 2</title>
	<atom:link href="http://www.davidkelly.ie/2008/08/20/getting-into-gears-offline-web-app-tutorial-part-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.davidkelly.ie/2008/08/20/getting-into-gears-offline-web-app-tutorial-part-2/</link>
	<description>www.davidkelly.ie</description>
	<lastBuildDate>Tue, 31 Jan 2012 22:47:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Ravi</title>
		<link>http://www.davidkelly.ie/2008/08/20/getting-into-gears-offline-web-app-tutorial-part-2/comment-page-1/#comment-8458</link>
		<dc:creator>Ravi</dc:creator>
		<pubDate>Wed, 26 Aug 2009 15:07:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidkelly.ie/blog/?p=112#comment-8458</guid>
		<description>Hi Dave,

I still have a problem accessing app offline.
Let me explain how am I doing it so that you can give me some idea:
I have two files (ggears_c.php and ggears_c.html).

I have online file ggears_c.php which has php script and gears script (checking if gears installed, activating my site, sync using workerPool, listing data fetched from Local DB and Create Desktop shortcut).
When user syncs data here (in php file), I am executing HTML file (backend using AJAX) ggears_c.html (for offline use..doing this since when user clicks on &#039;Create Desktop Shortcut&#039; it points to ggears_c.html page and I think this html page data should be in cache for offline use).
Now when I go offline and click on shortcut, it shows &#039;not connected/failed to open...).
Is there any problem using two files.
My online file (ggears_c.php) includes headers,jquery,css files.
Please guide me.
Waiting for you reply.
Thanks,
Ravi</description>
		<content:encoded><![CDATA[<p>Hi Dave,</p>
<p>I still have a problem accessing app offline.<br />
Let me explain how am I doing it so that you can give me some idea:<br />
I have two files (ggears_c.php and ggears_c.html).</p>
<p>I have online file ggears_c.php which has php script and gears script (checking if gears installed, activating my site, sync using workerPool, listing data fetched from Local DB and Create Desktop shortcut).<br />
When user syncs data here (in php file), I am executing HTML file (backend using AJAX) ggears_c.html (for offline use..doing this since when user clicks on &#8216;Create Desktop Shortcut&#8217; it points to ggears_c.html page and I think this html page data should be in cache for offline use).<br />
Now when I go offline and click on shortcut, it shows &#8216;not connected/failed to open&#8230;).<br />
Is there any problem using two files.<br />
My online file (ggears_c.php) includes headers,jquery,css files.<br />
Please guide me.<br />
Waiting for you reply.<br />
Thanks,<br />
Ravi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ravi</title>
		<link>http://www.davidkelly.ie/2008/08/20/getting-into-gears-offline-web-app-tutorial-part-2/comment-page-1/#comment-8457</link>
		<dc:creator>Ravi</dc:creator>
		<pubDate>Mon, 24 Aug 2009 19:46:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidkelly.ie/blog/?p=112#comment-8457</guid>
		<description>ok...I understood. thanks for explanation.
Once again, thanks a lot for very useful tutorial (awesome).
I&#039;ll keep reading your blogs ..attracted me... :-) 

Thanks and Regards,
Ravi</description>
		<content:encoded><![CDATA[<p>ok&#8230;I understood. thanks for explanation.<br />
Once again, thanks a lot for very useful tutorial (awesome).<br />
I&#8217;ll keep reading your blogs ..attracted me&#8230; <img src='http://www.davidkelly.ie/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  </p>
<p>Thanks and Regards,<br />
Ravi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.davidkelly.ie/2008/08/20/getting-into-gears-offline-web-app-tutorial-part-2/comment-page-1/#comment-8456</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Mon, 24 Aug 2009 19:33:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidkelly.ie/blog/?p=112#comment-8456</guid>
		<description>Hi Ravi,

I don&#039;t think you need to write the script separately, but when you&#039;re accessing resources (such as requesting data) there should be a way of checking whether the resource is available online, or if the offline resource (e.g. the local database) should be used. 

When I was doing this, I used a script that acted as a gateway to the data; if the data was not available online, the script used the offline resource. This was based on the Gears &lt;a href=&quot;http://code.google.com/apis/gears/architecture.html&quot; rel=&quot;nofollow&quot;&gt;article on application architecture&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Hi Ravi,</p>
<p>I don&#8217;t think you need to write the script separately, but when you&#8217;re accessing resources (such as requesting data) there should be a way of checking whether the resource is available online, or if the offline resource (e.g. the local database) should be used. </p>
<p>When I was doing this, I used a script that acted as a gateway to the data; if the data was not available online, the script used the offline resource. This was based on the Gears <a href="http://code.google.com/apis/gears/architecture.html" rel="nofollow">article on application architecture</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ravi</title>
		<link>http://www.davidkelly.ie/2008/08/20/getting-into-gears-offline-web-app-tutorial-part-2/comment-page-1/#comment-8455</link>
		<dc:creator>Ravi</dc:creator>
		<pubDate>Mon, 24 Aug 2009 19:03:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidkelly.ie/blog/?p=112#comment-8455</guid>
		<description>Hi Dave,

I have implemented sync part using workerPool (thanks alot for your tutorial).
Thanks for the url for offline use. I am going through it.

I have a doubt for offline usage:
Do I have to write script separately for off-line version ?
I think it&#039;s the same which I implemented for online use....when user goes offline, he/she accesses the same page...right ?
I don&#039;t have to add separately the script for offline version !

Thanks,
Ravi</description>
		<content:encoded><![CDATA[<p>Hi Dave,</p>
<p>I have implemented sync part using workerPool (thanks alot for your tutorial).<br />
Thanks for the url for offline use. I am going through it.</p>
<p>I have a doubt for offline usage:<br />
Do I have to write script separately for off-line version ?<br />
I think it&#8217;s the same which I implemented for online use&#8230;.when user goes offline, he/she accesses the same page&#8230;right ?<br />
I don&#8217;t have to add separately the script for offline version !</p>
<p>Thanks,<br />
Ravi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.davidkelly.ie/2008/08/20/getting-into-gears-offline-web-app-tutorial-part-2/comment-page-1/#comment-8454</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Mon, 24 Aug 2009 13:48:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidkelly.ie/blog/?p=112#comment-8454</guid>
		<description>Hi Ravi,

Thanks for the comment, glad to hear the tutorial helped!

Yes, I&#039;d guess the browser hanging is because the sync is using up too many of its resources (which should be helped by moving it to the WorkerPool).

On the offline usage - the url should be the same one you use for online access. I&#039;m not sure what the issue is when you refresh the browser (why it isn&#039;t loading the off-line version). There is a good article at &lt;a href=&quot;http://code.google.com/apis/gears/articles/take_app_offline.html&quot; rel=&quot;nofollow&quot;&gt;http://code.google.com/.../take_app_offline.html&lt;/a&gt; that gives steps for off-line conversion and tips &amp; caveats that might help...

Hope that&#039;s of some help.

Dave.</description>
		<content:encoded><![CDATA[<p>Hi Ravi,</p>
<p>Thanks for the comment, glad to hear the tutorial helped!</p>
<p>Yes, I&#8217;d guess the browser hanging is because the sync is using up too many of its resources (which should be helped by moving it to the WorkerPool).</p>
<p>On the offline usage &#8211; the url should be the same one you use for online access. I&#8217;m not sure what the issue is when you refresh the browser (why it isn&#8217;t loading the off-line version). There is a good article at <a href="http://code.google.com/apis/gears/articles/take_app_offline.html" rel="nofollow">http://code.google.com/&#8230;/take_app_offline.html</a> that gives steps for off-line conversion and tips &#038; caveats that might help&#8230;</p>
<p>Hope that&#8217;s of some help.</p>
<p>Dave.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ravi</title>
		<link>http://www.davidkelly.ie/2008/08/20/getting-into-gears-offline-web-app-tutorial-part-2/comment-page-1/#comment-8453</link>
		<dc:creator>Ravi</dc:creator>
		<pubDate>Mon, 24 Aug 2009 13:18:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidkelly.ie/blog/?p=112#comment-8453</guid>
		<description>Hi David,
Your&#039;s is The best tutorial I have got.
It&#039;s to the point and very clear to implement.
I have already implemented sync part for my app but that was without using workerPool module and my app hangs (displays a message that script is busy) and  now I know that workerPool will play a major role here.
So I am going to implement workerPool for sync process by going through your tutorial.

I&#039;ve a query here :
How do I access my app offline ?
Is it the same url which I use for online app (which is in my server : http://www.myserver.com/gerars.html) ?
I have created a desktop shortcut which works fine (when I do not have internet connnection) but if I refresh my browser (either clicking on refresh icon or ctrl+f5) then it shows &#039;no network connection.&#039; .
Would you guide me on this.

Thanks for the tutorial
Ravi
ravirkkm@gmail.com</description>
		<content:encoded><![CDATA[<p>Hi David,<br />
Your&#8217;s is The best tutorial I have got.<br />
It&#8217;s to the point and very clear to implement.<br />
I have already implemented sync part for my app but that was without using workerPool module and my app hangs (displays a message that script is busy) and  now I know that workerPool will play a major role here.<br />
So I am going to implement workerPool for sync process by going through your tutorial.</p>
<p>I&#8217;ve a query here :<br />
How do I access my app offline ?<br />
Is it the same url which I use for online app (which is in my server : <a href="http://www.myserver.com/gerars.html" rel="nofollow">http://www.myserver.com/gerars.html</a>) ?<br />
I have created a desktop shortcut which works fine (when I do not have internet connnection) but if I refresh my browser (either clicking on refresh icon or ctrl+f5) then it shows &#8216;no network connection.&#8217; .<br />
Would you guide me on this.</p>
<p>Thanks for the tutorial<br />
Ravi<br />
<a href="mailto:ravirkkm@gmail.com">ravirkkm@gmail.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Getting into Gears: Offline Web App Tutorial - Part 1 &#124; Dave Kelly :: Blog</title>
		<link>http://www.davidkelly.ie/2008/08/20/getting-into-gears-offline-web-app-tutorial-part-2/comment-page-1/#comment-684</link>
		<dc:creator>Getting into Gears: Offline Web App Tutorial - Part 1 &#124; Dave Kelly :: Blog</dc:creator>
		<pubDate>Wed, 20 Aug 2008 13:25:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidkelly.ie/blog/?p=112#comment-684</guid>
		<description>[...] Part 2 of the Gears tutorial is now available   Why not Share [...]</description>
		<content:encoded><![CDATA[<p>[...] Part 2 of the Gears tutorial is now available   Why not Share [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

