<?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: GWT Server Communication Strategies</title>
	<atom:link href="http://www.mooreds.com/wordpress/archives/500/feed" rel="self" type="application/rss+xml" />
	<link>http://www.mooreds.com/wordpress/archives/500</link>
	<description></description>
	<lastBuildDate>Tue, 07 Feb 2012 14:11:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: moore</title>
		<link>http://www.mooreds.com/wordpress/archives/500/comment-page-1#comment-3184</link>
		<dc:creator>moore</dc:creator>
		<pubDate>Mon, 09 Aug 2010 18:52:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.mooreds.com/wordpress/archives/000500#comment-3184</guid>
		<description>Note that as of GWT 2.0.3, there is a JSONP request builder object shipping with GWT: http://eggsylife.co.uk/2010/04/22/gwt-2-jsonp-and-javascript-overlays-with-jsonprequestbuilder/ and http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/jsonp/client/JsonpRequestBuilder.html</description>
		<content:encoded><![CDATA[<p>Note that as of GWT 2.0.3, there is a JSONP request builder object shipping with GWT: <a href="http://eggsylife.co.uk/2010/04/22/gwt-2-jsonp-and-javascript-overlays-with-jsonprequestbuilder/" rel="nofollow">http://eggsylife.co.uk/2010/04/22/gwt-2-jsonp-and-javascript-overlays-with-jsonprequestbuilder/</a> and <a href="http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/jsonp/client/JsonpRequestBuilder.html" rel="nofollow">http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/jsonp/client/JsonpRequestBuilder.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: moore</title>
		<link>http://www.mooreds.com/wordpress/archives/500/comment-page-1#comment-2499</link>
		<dc:creator>moore</dc:creator>
		<pubDate>Mon, 22 Jun 2009 09:32:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.mooreds.com/wordpress/archives/000500#comment-2499</guid>
		<description>Here&#039;s a Google I/O presentation about this very topic (from 5/2008): http://sites.google.com/site/io/gwt-and-client-server-communication</description>
		<content:encoded><![CDATA[<p>Here&#8217;s a Google I/O presentation about this very topic (from 5/2008): <a href="http://sites.google.com/site/io/gwt-and-client-server-communication" rel="nofollow">http://sites.google.com/site/io/gwt-and-client-server-communication</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: moore</title>
		<link>http://www.mooreds.com/wordpress/archives/500/comment-page-1#comment-2384</link>
		<dc:creator>moore</dc:creator>
		<pubDate>Mon, 16 Feb 2009 02:58:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.mooreds.com/wordpress/archives/000500#comment-2384</guid>
		<description>Note that one of the comments from the ongwt discussion mentioned this new server communication framework: http://code.google.com/p/gwteventservice/  

I have not used this framework, but it certainly looks interesting. If I were writing a complicated GWT application, this LGPL framework would certainly be worth looking at.</description>
		<content:encoded><![CDATA[<p>Note that one of the comments from the ongwt discussion mentioned this new server communication framework: <a href="http://code.google.com/p/gwteventservice/" rel="nofollow">http://code.google.com/p/gwteventservice/</a>  </p>
<p>I have not used this framework, but it certainly looks interesting. If I were writing a complicated GWT application, this LGPL framework would certainly be worth looking at.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: moore</title>
		<link>http://www.mooreds.com/wordpress/archives/500/comment-page-1#comment-2355</link>
		<dc:creator>moore</dc:creator>
		<pubDate>Tue, 23 Dec 2008 05:23:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.mooreds.com/wordpress/archives/000500#comment-2355</guid>
		<description>Hi Thomas,

Thanks for pointing out that I could have used plain old javascript to execute &#039;my_fcn&#039;.  I used the term JSONP because of the article that introduced me to the concept ( http://code.google.com/support/bin/answer.py?answer=65632&amp;topic=11368 ).  You have to admit that JSONP is catchier than &quot;just javascript&quot;.

I believe what I&#039;m calling JSON ({&quot;msg&quot;:&quot;plain json&quot;}) is JSON, according to the RFC you pointed me to.  It&#039;s a fair argument that using JSON in this case is overkill, since it really comes into its own when tranferring complicated data structures. 

Thanks for the comments about the term &#039;payload&#039; being outmoded--while I have heard about REST, I&#039;m afraid I&#039;m not as up to speed on the concept as I should be. 

And thanks for your comments in general.</description>
		<content:encoded><![CDATA[<p>Hi Thomas,</p>
<p>Thanks for pointing out that I could have used plain old javascript to execute &#8216;my_fcn&#8217;.  I used the term JSONP because of the article that introduced me to the concept ( <a href="http://code.google.com/support/bin/answer.py?answer=65632&#038;topic=11368" rel="nofollow">http://code.google.com/support/bin/answer.py?answer=65632&#038;topic=11368</a> ).  You have to admit that JSONP is catchier than &#8220;just javascript&#8221;.</p>
<p>I believe what I&#8217;m calling JSON ({&#8220;msg&#8221;:&#8221;plain json&#8221;}) is JSON, according to the RFC you pointed me to.  It&#8217;s a fair argument that using JSON in this case is overkill, since it really comes into its own when tranferring complicated data structures. </p>
<p>Thanks for the comments about the term &#8216;payload&#8217; being outmoded&#8211;while I have heard about REST, I&#8217;m afraid I&#8217;m not as up to speed on the concept as I should be. </p>
<p>And thanks for your comments in general.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: moore</title>
		<link>http://www.mooreds.com/wordpress/archives/500/comment-page-1#comment-2354</link>
		<dc:creator>moore</dc:creator>
		<pubDate>Tue, 23 Dec 2008 05:05:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.mooreds.com/wordpress/archives/000500#comment-2354</guid>
		<description>Cameron, very cool.  Thanks for posting that link.  

From the bit of looking, I see that the window.name apparently has no limit: http://www.boutell.com/newfaq/creating/scriptpass.html (that post does mention some security concerns).</description>
		<content:encoded><![CDATA[<p>Cameron, very cool.  Thanks for posting that link.  </p>
<p>From the bit of looking, I see that the window.name apparently has no limit: <a href="http://www.boutell.com/newfaq/creating/scriptpass.html" rel="nofollow">http://www.boutell.com/newfaq/creating/scriptpass.html</a> (that post does mention some security concerns).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Broyer</title>
		<link>http://www.mooreds.com/wordpress/archives/500/comment-page-1#comment-2353</link>
		<dc:creator>Thomas Broyer</dc:creator>
		<pubDate>Tue, 23 Dec 2008 00:45:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.mooreds.com/wordpress/archives/000500#comment-2353</guid>
		<description>Please, please! JSON != JavaScript!

First, &quot;JSONP&quot; having &quot;JSON&quot; in its name is an heresy, it&#039;s just JavaScript; your example could have been written:
(function() { var obj={}; obj.msg = &#039;plain jsonp&#039;; my_fcn(obj); })();
and it would be clear that it&#039;s not JSON (RFC 4627; see http://json.org for an overview)

What you&#039;re calling &quot;JSON&quot; is just JavaScript too.

Finally, calling an URL &quot;payload&quot; takes us back in the days where people was saying &quot;How to do a POST with a link? I don&#039;t want to use a GET because it makes URLs ugly&quot; (that was 10 years ago). Hopefully now people know about &quot;REST principles&quot; (&quot;resources&quot; and how URLs identify them) and HTTP caching.</description>
		<content:encoded><![CDATA[<p>Please, please! JSON != JavaScript!</p>
<p>First, &#8220;JSONP&#8221; having &#8220;JSON&#8221; in its name is an heresy, it&#8217;s just JavaScript; your example could have been written:<br />
(function() { var obj={}; obj.msg = &#8216;plain jsonp&#8217;; my_fcn(obj); })();<br />
and it would be clear that it&#8217;s not JSON (RFC 4627; see <a href="http://json.org" rel="nofollow">http://json.org</a> for an overview)</p>
<p>What you&#8217;re calling &#8220;JSON&#8221; is just JavaScript too.</p>
<p>Finally, calling an URL &#8220;payload&#8221; takes us back in the days where people was saying &#8220;How to do a POST with a link? I don&#8217;t want to use a GET because it makes URLs ugly&#8221; (that was 10 years ago). Hopefully now people know about &#8220;REST principles&#8221; (&#8220;resources&#8221; and how URLs identify them) and HTTP caching.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cameron</title>
		<link>http://www.mooreds.com/wordpress/archives/500/comment-page-1#comment-2352</link>
		<dc:creator>Cameron</dc:creator>
		<pubDate>Mon, 22 Dec 2008 23:31:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.mooreds.com/wordpress/archives/000500#comment-2352</guid>
		<description>There is a way to support cross domain form posts and receive a response from the server - the window.name hack.  For an example in GWT see

http://timepedia.blogspot.com/2008/07/cross-domain-formpanel-submissions-in.html

Cheers

Cameron</description>
		<content:encoded><![CDATA[<p>There is a way to support cross domain form posts and receive a response from the server &#8211; the window.name hack.  For an example in GWT see</p>
<p><a href="http://timepedia.blogspot.com/2008/07/cross-domain-formpanel-submissions-in.html" rel="nofollow">http://timepedia.blogspot.com/2008/07/cross-domain-formpanel-submissions-in.html</a></p>
<p>Cheers</p>
<p>Cameron</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- This Quick Cache file was built for (  www.mooreds.com/wordpress/archives/500/feed ) in 0.21887 seconds, on Feb 8th, 2012 at 9:58 pm UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 8th, 2012 at 10:58 pm UTC -->
