<?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: window.name meet dojox.io.windowName</title>
	<atom:link href="http://ajaxian.com/archives/windowname-meet-dojoxiowindowname/feed" rel="self" type="application/rss+xml" />
	<link>http://ajaxian.com/archives/windowname-meet-dojoxiowindowname</link>
	<description>Cleaning up the web with Ajax</description>
	<lastBuildDate>Wed, 17 Mar 2010 19:36:37 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: friedcell</title>
		<link>http://ajaxian.com/archives/windowname-meet-dojoxiowindowname/comment-page-1#comment-267779</link>
		<dc:creator>friedcell</dc:creator>
		<pubDate>Wed, 01 Oct 2008 01:33:39 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=3903#comment-267779</guid>
		<description>I &lt;a href=&quot;http://friedcellcollective.net/outbreak/jsjq uerywindownameplugin/&quot; rel=&quot;nofollow&quot;&gt;ported this to jQuery&lt;/a&gt; as a plugin that hijacks the built-in ajax function when needed. Also changed the code from listening to onload to a timer that checks the state.</description>
		<content:encoded><![CDATA[<p>I <a href="http://friedcellcollective.net/outbreak/jsjq uerywindownameplugin/" rel="nofollow">ported this to jQuery</a> as a plugin that hijacks the built-in ajax function when needed. Also changed the code from listening to onload to a timer that checks the state.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cromwellian</title>
		<link>http://ajaxian.com/archives/windowname-meet-dojoxiowindowname/comment-page-1#comment-266134</link>
		<dc:creator>cromwellian</dc:creator>
		<pubDate>Thu, 24 Jul 2008 23:54:55 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=3903#comment-266134</guid>
		<description>Cool idea guys, you just solved a pressing problem. I snooped your implementation and implemented it in GWT, see here: http://timepedia.blogspot.com/2008/07/cross-domain-formpanel-submissions-in.html

I adopted your URL convention (windowname=true) for interoperability purposes. It would be nice if, like JSONP, this convention or something like it gets standardized.

-Ray</description>
		<content:encoded><![CDATA[<p>Cool idea guys, you just solved a pressing problem. I snooped your implementation and implemented it in GWT, see here: <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>I adopted your URL convention (windowname=true) for interoperability purposes. It would be nice if, like JSONP, this convention or something like it gets standardized.</p>
<p>-Ray</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kriszyp</title>
		<link>http://ajaxian.com/archives/windowname-meet-dojoxiowindowname/comment-page-1#comment-266117</link>
		<dc:creator>kriszyp</dc:creator>
		<pubDate>Thu, 24 Jul 2008 05:19:57 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=3903#comment-266117</guid>
		<description>@Jordan1: This technique is only available to web services that provide resources with the window.name protocol, so to not give it a name that identifies the transport technique so you can use it with compatible services in the name would only be misleading.</description>
		<content:encoded><![CDATA[<p>@Jordan1: This technique is only available to web services that provide resources with the window.name protocol, so to not give it a name that identifies the transport technique so you can use it with compatible services in the name would only be misleading.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jordan1</title>
		<link>http://ajaxian.com/archives/windowname-meet-dojoxiowindowname/comment-page-1#comment-266112</link>
		<dc:creator>Jordan1</dc:creator>
		<pubDate>Wed, 23 Jul 2008 23:40:46 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=3903#comment-266112</guid>
		<description>The name &quot;dojox.io.windowName&quot; is non-intuitive and only accessible to people who understand the hack.</description>
		<content:encoded><![CDATA[<p>The name &#8220;dojox.io.windowName&#8221; is non-intuitive and only accessible to people who understand the hack.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kriszyp</title>
		<link>http://ajaxian.com/archives/windowname-meet-dojoxiowindowname/comment-page-1#comment-266101</link>
		<dc:creator>kriszyp</dc:creator>
		<pubDate>Wed, 23 Jul 2008 18:58:53 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=3903#comment-266101</guid>
		<description>Also to be clear, Ajaxian has _not_ posted about using window.name as a transport before. The previous posts that are linked here discuss using it for session variables and for caching, respectively. Using it as a transport is new, as far as I can tell.</description>
		<content:encoded><![CDATA[<p>Also to be clear, Ajaxian has _not_ posted about using window.name as a transport before. The previous posts that are linked here discuss using it for session variables and for caching, respectively. Using it as a transport is new, as far as I can tell.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kriszyp</title>
		<link>http://ajaxian.com/archives/windowname-meet-dojoxiowindowname/comment-page-1#comment-266093</link>
		<dc:creator>kriszyp</dc:creator>
		<pubDate>Wed, 23 Jul 2008 17:35:46 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=3903#comment-266093</guid>
		<description>@shadedecho: I certainly agree that we want native support, as matter as fact I am on the W3C working group for cross-site access control (for XHR), and even have other posts on Ajaxian about the need for such. However, I am certainly not willing to just give up on secure mashups in the meantime. We will be dealing with legacy browsers for years to come, a idealistic desire is not going to remove that reality of our situation and the need for techniques for securely accessing data.

Your comment about lack of opt-in is incorrect, window.name does require opt-in from the server, the server must respond by setting the window.name property, this is how it signals authorization. Additionally, this protocol actually opens up the door for some very powerful UI based authorization approaches due the frame sandboxing, that can make cross-site authorization more interactive and easier to build than XHR where authorization must be negotiated using techniques similar to OAuth (although OAuth can&#039;t be done with cross-site XHR).

We will be doing some more posts on using technique with authorization and meta-data transfers (substitute for headers). I will also be doing a post about how to use window.name with the XHR API, a consistent API is certainly one of the goals as well, this post was simply introducing the technique.</description>
		<content:encoded><![CDATA[<p>@shadedecho: I certainly agree that we want native support, as matter as fact I am on the W3C working group for cross-site access control (for XHR), and even have other posts on Ajaxian about the need for such. However, I am certainly not willing to just give up on secure mashups in the meantime. We will be dealing with legacy browsers for years to come, a idealistic desire is not going to remove that reality of our situation and the need for techniques for securely accessing data.</p>
<p>Your comment about lack of opt-in is incorrect, window.name does require opt-in from the server, the server must respond by setting the window.name property, this is how it signals authorization. Additionally, this protocol actually opens up the door for some very powerful UI based authorization approaches due the frame sandboxing, that can make cross-site authorization more interactive and easier to build than XHR where authorization must be negotiated using techniques similar to OAuth (although OAuth can&#8217;t be done with cross-site XHR).</p>
<p>We will be doing some more posts on using technique with authorization and meta-data transfers (substitute for headers). I will also be doing a post about how to use window.name with the XHR API, a consistent API is certainly one of the goals as well, this post was simply introducing the technique.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shadedecho</title>
		<link>http://ajaxian.com/archives/windowname-meet-dojoxiowindowname/comment-page-1#comment-266088</link>
		<dc:creator>shadedecho</dc:creator>
		<pubDate>Wed, 23 Jul 2008 14:54:53 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=3903#comment-266088</guid>
		<description>I like that someone has shown yet another way that we can hack the browser environment into allowing cross-domain communication. However, these are just hacks at their core... using something that wasn&#039;t intended for a particular purpose to &quot;solve&quot; a shortcoming in some other unrelated process.  

Moreover, the problem with these kinds of solutions is that creating a consistent &quot;Ajax&quot; interface (meaning, for instance, the familiar native XHR api) becomes a lot harder and more hacky. And I believe a consistent API should be the premiere focus, not just finding yet another loophole in the browser (that may change or get plugged up later anyway).

In addition, there are some important limitations, such as the lack of ability to set request headers, nor the ability to make authenticated calls.

And this approach is dangerous because it utilizes no built in security or authentication to allow such cross-communication. Models which include the server in the decision process, such as opt-in server policies (crossdomain.xml) are IMHO a lot more robust and should be where we are focusing our energies, rather than thinking the browser alone, with a dynamic (ie, hackable) javascript engine, will be able to ever solely and securely solve this problem.

Adobe Flash has better than 99% browser acceptance, and has made great strides in their security model for cross-domain communication (though clearly there is more to be done!). So I still don&#039;t understand why so many people want down-play solutions that rely on a plugin like flash in favor of all these other hacks? I think it&#039;s pointless elitism to say that solution &quot;a&quot; is better than &quot;b&quot; because &quot;a&quot; hacks only the native browser environment and &quot;b&quot; uses extensions to it.

Flash and their security model were built with specific and intentional support for cross-domain communication, in a secure fashion, and I think it deserves more attention as a viable alternative.

To this end, flXHR (http://flxhr.flensed.com/) is a javascript+flash solution which implements an api-compatible drop-in replacement for the native XHR, with secure cross-domain communication support.</description>
		<content:encoded><![CDATA[<p>I like that someone has shown yet another way that we can hack the browser environment into allowing cross-domain communication. However, these are just hacks at their core&#8230; using something that wasn&#8217;t intended for a particular purpose to &#8220;solve&#8221; a shortcoming in some other unrelated process.  </p>
<p>Moreover, the problem with these kinds of solutions is that creating a consistent &#8220;Ajax&#8221; interface (meaning, for instance, the familiar native XHR api) becomes a lot harder and more hacky. And I believe a consistent API should be the premiere focus, not just finding yet another loophole in the browser (that may change or get plugged up later anyway).</p>
<p>In addition, there are some important limitations, such as the lack of ability to set request headers, nor the ability to make authenticated calls.</p>
<p>And this approach is dangerous because it utilizes no built in security or authentication to allow such cross-communication. Models which include the server in the decision process, such as opt-in server policies (crossdomain.xml) are IMHO a lot more robust and should be where we are focusing our energies, rather than thinking the browser alone, with a dynamic (ie, hackable) javascript engine, will be able to ever solely and securely solve this problem.</p>
<p>Adobe Flash has better than 99% browser acceptance, and has made great strides in their security model for cross-domain communication (though clearly there is more to be done!). So I still don&#8217;t understand why so many people want down-play solutions that rely on a plugin like flash in favor of all these other hacks? I think it&#8217;s pointless elitism to say that solution &#8220;a&#8221; is better than &#8220;b&#8221; because &#8220;a&#8221; hacks only the native browser environment and &#8220;b&#8221; uses extensions to it.</p>
<p>Flash and their security model were built with specific and intentional support for cross-domain communication, in a secure fashion, and I think it deserves more attention as a viable alternative.</p>
<p>To this end, flXHR (<a href="http://flxhr.flensed.com/" rel="nofollow">http://flxhr.flensed.com/</a>) is a javascript+flash solution which implements an api-compatible drop-in replacement for the native XHR, with secure cross-domain communication support.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
