<?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: Google Gears: the SOAP approach to Web app development</title>
	<atom:link href="http://www.markbaker.ca/blog/2008/07/google-gears-the-soap-approach-to-web-app-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.markbaker.ca/blog/2008/07/google-gears-the-soap-approach-to-web-app-development/</link>
	<description>Celebrating the power of the Web</description>
	<lastBuildDate>Fri, 26 Aug 2011 20:00:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: carmen</title>
		<link>http://www.markbaker.ca/blog/2008/07/google-gears-the-soap-approach-to-web-app-development/comment-page-1/#comment-356</link>
		<dc:creator>carmen</dc:creator>
		<pubDate>Wed, 30 Jul 2008 05:18:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.markbaker.ca/blog/?p=1570#comment-356</guid>
		<description>i tried to get Gears, to have a number like &#039;800K&#039; to counteract Dion&#039;s &quot;small little components&quot; claim. i have a feeling its like a megabyte of stuff isnt it?

it says Opera isnt supported, then in Firefox it says im on 64bit and i need 32bit.

so gears is fail already, quite literally. but yeah, it basically dangles a few carrots to devs in a couple ways it works around things that browsers are fixing the right way, that is built-in, via WHATWG/OpenWeb/W3C/etc APIs


as for your data. the way id do it is a GET http://geolocatesomehwere.net/searchstring Accept: application/json;text/html and getCurrentLocation() would wrap this GET. no fancy libs needed. i dont know which geolocate services understand webarch, or dont require an annoying API key though. google cut me off after liek 500 geolocates last i tried, which was a couple years ago before they had an API and i was using perl..

as for the storage, i guess Microformats or RDFa makes too much sense. caching it locally in storage corresponding to the URI of the resource. yeah go crazy with your weird gears shit!</description>
		<content:encoded><![CDATA[<p>i tried to get Gears, to have a number like &#8217;800K&#8217; to counteract Dion&#8217;s &#8220;small little components&#8221; claim. i have a feeling its like a megabyte of stuff isnt it?</p>
<p>it says Opera isnt supported, then in Firefox it says im on 64bit and i need 32bit.</p>
<p>so gears is fail already, quite literally. but yeah, it basically dangles a few carrots to devs in a couple ways it works around things that browsers are fixing the right way, that is built-in, via WHATWG/OpenWeb/W3C/etc APIs</p>
<p>as for your data. the way id do it is a GET <a href="http://geolocatesomehwere.net/searchstring" rel="nofollow">http://geolocatesomehwere.net/searchstring</a> Accept: application/json;text/html and getCurrentLocation() would wrap this GET. no fancy libs needed. i dont know which geolocate services understand webarch, or dont require an annoying API key though. google cut me off after liek 500 geolocates last i tried, which was a couple years ago before they had an API and i was using perl..</p>
<p>as for the storage, i guess Microformats or RDFa makes too much sense. caching it locally in storage corresponding to the URI of the resource. yeah go crazy with your weird gears shit!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Baker</title>
		<link>http://www.markbaker.ca/blog/2008/07/google-gears-the-soap-approach-to-web-app-development/comment-page-1/#comment-355</link>
		<dc:creator>Mark Baker</dc:creator>
		<pubDate>Mon, 28 Jul 2008 19:46:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.markbaker.ca/blog/?p=1570#comment-355</guid>
		<description>Thanks Dion, I&#039;m glad you appreciate it.

I agree that with a custom API you have much more flexibility in terms of deciding how &quot;simple&quot; (or name any desirable property) you can be, because you&#039;re not bound by the constraints of a DOM model.  On the other hand, by reusing the DOM you get a lot for free including events (as mentioned), selectors, and integration with other 3rd party DOM JS libraries, as well as the aforementioned lower barrier to entry for developers.

As you mention simplicity though, I would also add that I believe that simplicity for Gears as a whole should also be a concern, rather than just the simplicity of each gear.  I believe a DOM based approach would be a *big* winner here, because the common model reduces variability.  Inevitably too, there will be requirements for gears to work with each other, and again I think the common model is exactly what is needed.  That&#039;s not to say that the DOM will be able to meet all inter-gear requirements, but I think what&#039;s there is pretty general.  Extending the DOM itself is an option in that case too.</description>
		<content:encoded><![CDATA[<p>Thanks Dion, I&#8217;m glad you appreciate it.</p>
<p>I agree that with a custom API you have much more flexibility in terms of deciding how &#8220;simple&#8221; (or name any desirable property) you can be, because you&#8217;re not bound by the constraints of a DOM model.  On the other hand, by reusing the DOM you get a lot for free including events (as mentioned), selectors, and integration with other 3rd party DOM JS libraries, as well as the aforementioned lower barrier to entry for developers.</p>
<p>As you mention simplicity though, I would also add that I believe that simplicity for Gears as a whole should also be a concern, rather than just the simplicity of each gear.  I believe a DOM based approach would be a *big* winner here, because the common model reduces variability.  Inevitably too, there will be requirements for gears to work with each other, and again I think the common model is exactly what is needed.  That&#8217;s not to say that the DOM will be able to meet all inter-gear requirements, but I think what&#8217;s there is pretty general.  Extending the DOM itself is an option in that case too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nodalities &#187; Blog Archive &#187; This Week&#8217;s Semantic Web</title>
		<link>http://www.markbaker.ca/blog/2008/07/google-gears-the-soap-approach-to-web-app-development/comment-page-1/#comment-354</link>
		<dc:creator>Nodalities &#187; Blog Archive &#187; This Week&#8217;s Semantic Web</dc:creator>
		<pubDate>Mon, 28 Jul 2008 19:01:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.markbaker.ca/blog/?p=1570#comment-354</guid>
		<description>[...] Google Gears: the SOAP approach to Web app development [...]</description>
		<content:encoded><![CDATA[<p>[...] Google Gears: the SOAP approach to Web app development [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dion Almaer</title>
		<link>http://www.markbaker.ca/blog/2008/07/google-gears-the-soap-approach-to-web-app-development/comment-page-1/#comment-353</link>
		<dc:creator>Dion Almaer</dc:creator>
		<pubDate>Fri, 25 Jul 2008 20:32:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.markbaker.ca/blog/?p=1570#comment-353</guid>
		<description>Mark,

Thanks for explaining further. That makes more sense, and is an interesting idea.... having documents that an API can pull up and manipulate like this.

I still think that I personally prefer just having a simple JavaScript API that says &quot;give me the current location&quot; and such, rather than working with the DOM, but I do see how it is interesting.</description>
		<content:encoded><![CDATA[<p>Mark,</p>
<p>Thanks for explaining further. That makes more sense, and is an interesting idea&#8230;. having documents that an API can pull up and manipulate like this.</p>
<p>I still think that I personally prefer just having a simple JavaScript API that says &#8220;give me the current location&#8221; and such, rather than working with the DOM, but I do see how it is interesting.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Baker</title>
		<link>http://www.markbaker.ca/blog/2008/07/google-gears-the-soap-approach-to-web-app-development/comment-page-1/#comment-352</link>
		<dc:creator>Mark Baker</dc:creator>
		<pubDate>Thu, 24 Jul 2008 16:19:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.markbaker.ca/blog/?p=1570#comment-352</guid>
		<description>Hi Dion, thanks for commenting.  I appreciate that you&#039;re trying to reuse what you can, but I think you can and should go further.  But I think that last paragraph of yours indicates that we&#039;re not yet on the same page, so allow me to address that now...

What I&#039;m proposing is that there be more than one &quot;document in question&quot;.

Currently, as you know, the common case is that a Javscript developer has access to a single document - window.document - and they can use the DOM API on it.  I&#039;m not suggesting changing that at all, nor adding any information to that document.  I&#039;m just suggesting that we give that same developer a reference to an *additional* locally resident document which encapsulates client-side data and data-oriented services.

It&#039;s like the /proc pseudo filesystem on Linux.</description>
		<content:encoded><![CDATA[<p>Hi Dion, thanks for commenting.  I appreciate that you&#8217;re trying to reuse what you can, but I think you can and should go further.  But I think that last paragraph of yours indicates that we&#8217;re not yet on the same page, so allow me to address that now&#8230;</p>
<p>What I&#8217;m proposing is that there be more than one &#8220;document in question&#8221;.</p>
<p>Currently, as you know, the common case is that a Javscript developer has access to a single document &#8211; window.document &#8211; and they can use the DOM API on it.  I&#8217;m not suggesting changing that at all, nor adding any information to that document.  I&#8217;m just suggesting that we give that same developer a reference to an *additional* locally resident document which encapsulates client-side data and data-oriented services.</p>
<p>It&#8217;s like the /proc pseudo filesystem on Linux.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dion Almaer</title>
		<link>http://www.markbaker.ca/blog/2008/07/google-gears-the-soap-approach-to-web-app-development/comment-page-1/#comment-351</link>
		<dc:creator>Dion Almaer</dc:creator>
		<pubDate>Thu, 24 Jul 2008 15:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.markbaker.ca/blog/?p=1570#comment-351</guid>
		<description>Hi Mark,

We definitely do try to reuse as much as what we can as possible. This is why we provide small little components that try to do one thing well, that developers can&#039;t do yet. We aren&#039;t trying to provide a separate platform, rather you do your usual Web app, and you have access to a few new APIs.

With the location API, as we work with it in real-world cases, we have found that people like to have a JavaScript API that can just make a programmatic call when they need location information. That being said, you *could* store results in the DOM and have an interval that keeps it up to date. The JavaScript API is there for you to build on.

Also, this data isn&#039;t related to the document in question, but relates to the users browser geolocation, so I don&#039;t see it as a good fit personally.

Cheers,

Dion Almaer
Gears Team</description>
		<content:encoded><![CDATA[<p>Hi Mark,</p>
<p>We definitely do try to reuse as much as what we can as possible. This is why we provide small little components that try to do one thing well, that developers can&#8217;t do yet. We aren&#8217;t trying to provide a separate platform, rather you do your usual Web app, and you have access to a few new APIs.</p>
<p>With the location API, as we work with it in real-world cases, we have found that people like to have a JavaScript API that can just make a programmatic call when they need location information. That being said, you *could* store results in the DOM and have an interval that keeps it up to date. The JavaScript API is there for you to build on.</p>
<p>Also, this data isn&#8217;t related to the document in question, but relates to the users browser geolocation, so I don&#8217;t see it as a good fit personally.</p>
<p>Cheers,</p>
<p>Dion Almaer<br />
Gears Team</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: William Vambenepe</title>
		<link>http://www.markbaker.ca/blog/2008/07/google-gears-the-soap-approach-to-web-app-development/comment-page-1/#comment-350</link>
		<dc:creator>William Vambenepe</dc:creator>
		<pubDate>Thu, 24 Jul 2008 06:47:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.markbaker.ca/blog/?p=1570#comment-350</guid>
		<description>On the comfort scale, DOM programming ranks somewhere between a root canal (no pun intended on the &quot;root&quot; term) and an endoscopy.
I am with you on the value of defining a simple XML doc to convey data rather than defining a set of getter methods, but why focus on DOM as a way to access it? Isn&#039;t XPath much more direct?
BTW, I know close to nothing about Google Gears, so I have no opinion about them. Just reacting to what you describe.</description>
		<content:encoded><![CDATA[<p>On the comfort scale, DOM programming ranks somewhere between a root canal (no pun intended on the &#8220;root&#8221; term) and an endoscopy.<br />
I am with you on the value of defining a simple XML doc to convey data rather than defining a set of getter methods, but why focus on DOM as a way to access it? Isn&#8217;t XPath much more direct?<br />
BTW, I know close to nothing about Google Gears, so I have no opinion about them. Just reacting to what you describe.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

