<?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: Crossdomain JSON troubles: JSONCrossdomainRequest</title>
	<atom:link href="http://techblog.floorplanner.com/2008/12/05/crossdomain-ajax-json-request-troubles/feed/" rel="self" type="application/rss+xml" />
	<link>http://techblog.floorplanner.com/2008/12/05/crossdomain-ajax-json-request-troubles/</link>
	<description>Our latest geek adventures!</description>
	<lastBuildDate>Tue, 16 Mar 2010 19:42:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: jaap</title>
		<link>http://techblog.floorplanner.com/2008/12/05/crossdomain-ajax-json-request-troubles/comment-page-1/#comment-210</link>
		<dc:creator>jaap</dc:creator>
		<pubDate>Tue, 09 Dec 2008 18:13:36 +0000</pubDate>
		<guid isPermaLink="false">http://techblog.floorplanner.com/?p=292#comment-210</guid>
		<description>@kyle simpsons: We use frameworks all the time. We rely on a framework protoype, i guess you know it. It would really be overhead when using 2 frameworks. Well I think for a lot of people your project suits the needs. For us it didn&#039;t. I&#039;ll have a look at the expressinstall part, thank you for mentioning... good luck with flXHR!</description>
		<content:encoded><![CDATA[<p>@kyle simpsons: We use frameworks all the time. We rely on a framework protoype, i guess you know it. It would really be overhead when using 2 frameworks. Well I think for a lot of people your project suits the needs. For us it didn&#8217;t. I&#8217;ll have a look at the expressinstall part, thank you for mentioning&#8230; good luck with flXHR!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kyle Simpson</title>
		<link>http://techblog.floorplanner.com/2008/12/05/crossdomain-ajax-json-request-troubles/comment-page-1/#comment-209</link>
		<dc:creator>Kyle Simpson</dc:creator>
		<pubDate>Tue, 09 Dec 2008 14:49:08 +0000</pubDate>
		<guid isPermaLink="false">http://techblog.floorplanner.com/?p=292#comment-209</guid>
		<description>Fair enough... there is &quot;some&quot; overhead... But the entire thing (now, with &#039;1.0&#039; about to be released!), including the SWF&#039;s, the JS, etc, weighs in at under 47k.  I think that&#039;s pretty fair and comparable, considering the large amount of functionality and robustness it provides, and compared to other big JS frameworks and such.

I&#039;m glad to see your project uses SWFObject, but you don&#039;t properly (as far as I can tell) expose one of its most important features -- ExpressInstall (&quot;XI&quot;). The entire &quot;CheckPlayer&quot; part of flensed was actually conceived to wrap swfobject with an API which could better expose that functionality to dynamically embedding SWF situations. 

Namely, swfobject assumes a SWF will *always* be visible and big enough to hold the XI downloader -- but in your case, and mine, this is not at all true, as the SWF is 1x1 and hidden.

The problem is, without some robust support like XI, users with an older flash (a little more common), or no flash at all (rare) will be stuck, and won&#039;t even particularly know why. So one of the big pluses that flensed/CheckPlayer will give is that it provides a slick way to help users know about the flash dependency and makes it as painless as possible for them to get it installed/upgraded.

------------------------
Also, just like with other JS frameworks... you &quot;load the whole thing&quot; for a small task, true, but you also get all the beauty of the &quot;whole thing&quot;, which makes other tasks, either now or later down the road, much easier, too. For instance, any SWF operations you may want to do, you get all of CheckPlayer which is like SWFObject on steroids for that, with tons of useful features like callbacks, timeouts, EI detection, etc. And with the flensedCore, you get really robust UA detection, some helpful things like event binding, etc.  

So, you have the potential to save in other areas of your page code, by relying instead on stuff you get &quot;for free&quot; by using flensed.

I&#039;m not trying to argue here... I think you have a perfectly valid viewpoint on the overhead. But I&#039;d also encourage you to take another look at flensed/flXHR if it&#039;s been a little while since you tried it... being that it was in alpha, and is now about to hit full 1.0 production readiness, there&#039;s bound to be improvements now which possibly could sway your opinion a little bit.

Either way, good luck with this project, glad it&#039;s working so well for you! (and thanks for having given flXHR a shot)</description>
		<content:encoded><![CDATA[<p>Fair enough&#8230; there is &#8220;some&#8221; overhead&#8230; But the entire thing (now, with &#8216;1.0&#8242; about to be released!), including the SWF&#8217;s, the JS, etc, weighs in at under 47k.  I think that&#8217;s pretty fair and comparable, considering the large amount of functionality and robustness it provides, and compared to other big JS frameworks and such.</p>
<p>I&#8217;m glad to see your project uses SWFObject, but you don&#8217;t properly (as far as I can tell) expose one of its most important features &#8212; ExpressInstall (&#8220;XI&#8221;). The entire &#8220;CheckPlayer&#8221; part of flensed was actually conceived to wrap swfobject with an API which could better expose that functionality to dynamically embedding SWF situations. </p>
<p>Namely, swfobject assumes a SWF will *always* be visible and big enough to hold the XI downloader &#8212; but in your case, and mine, this is not at all true, as the SWF is 1&#215;1 and hidden.</p>
<p>The problem is, without some robust support like XI, users with an older flash (a little more common), or no flash at all (rare) will be stuck, and won&#8217;t even particularly know why. So one of the big pluses that flensed/CheckPlayer will give is that it provides a slick way to help users know about the flash dependency and makes it as painless as possible for them to get it installed/upgraded.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Also, just like with other JS frameworks&#8230; you &#8220;load the whole thing&#8221; for a small task, true, but you also get all the beauty of the &#8220;whole thing&#8221;, which makes other tasks, either now or later down the road, much easier, too. For instance, any SWF operations you may want to do, you get all of CheckPlayer which is like SWFObject on steroids for that, with tons of useful features like callbacks, timeouts, EI detection, etc. And with the flensedCore, you get really robust UA detection, some helpful things like event binding, etc.  </p>
<p>So, you have the potential to save in other areas of your page code, by relying instead on stuff you get &#8220;for free&#8221; by using flensed.</p>
<p>I&#8217;m not trying to argue here&#8230; I think you have a perfectly valid viewpoint on the overhead. But I&#8217;d also encourage you to take another look at flensed/flXHR if it&#8217;s been a little while since you tried it&#8230; being that it was in alpha, and is now about to hit full 1.0 production readiness, there&#8217;s bound to be improvements now which possibly could sway your opinion a little bit.</p>
<p>Either way, good luck with this project, glad it&#8217;s working so well for you! (and thanks for having given flXHR a shot)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jaap</title>
		<link>http://techblog.floorplanner.com/2008/12/05/crossdomain-ajax-json-request-troubles/comment-page-1/#comment-208</link>
		<dc:creator>jaap</dc:creator>
		<pubDate>Tue, 09 Dec 2008 10:04:46 +0000</pubDate>
		<guid isPermaLink="false">http://techblog.floorplanner.com/?p=292#comment-208</guid>
		<description>@kyle simpsons: I tried that project also, but found there was to much overhead for us. I don&#039;t want to load the entire flensed framework, for such a small thing.</description>
		<content:encoded><![CDATA[<p>@kyle simpsons: I tried that project also, but found there was to much overhead for us. I don&#8217;t want to load the entire flensed framework, for such a small thing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kyle Simpson</title>
		<link>http://techblog.floorplanner.com/2008/12/05/crossdomain-ajax-json-request-troubles/comment-page-1/#comment-206</link>
		<dc:creator>Kyle Simpson</dc:creator>
		<pubDate>Sat, 06 Dec 2008 00:49:26 +0000</pubDate>
		<guid isPermaLink="false">http://techblog.floorplanner.com/?p=292#comment-206</guid>
		<description>One more note... Just posted this article which discusses some of the newest features of the about-to-be-declared-stable 1.0 production release of the flensed (including flXHR) projects:  

http://www.flensed.com/fresh/2008/12/changes-and-new-features-in-flensed-1-0/</description>
		<content:encoded><![CDATA[<p>One more note&#8230; Just posted this article which discusses some of the newest features of the about-to-be-declared-stable 1.0 production release of the flensed (including flXHR) projects:  </p>
<p><a href="http://www.flensed.com/fresh/2008/12/changes-and-new-features-in-flensed-1-0/" rel="nofollow">http://www.flensed.com/fresh/2008/12/changes-and-new-features-in-flensed-1-0/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kyle Simpson</title>
		<link>http://techblog.floorplanner.com/2008/12/05/crossdomain-ajax-json-request-troubles/comment-page-1/#comment-205</link>
		<dc:creator>Kyle Simpson</dc:creator>
		<pubDate>Sat, 06 Dec 2008 00:23:43 +0000</pubDate>
		<guid isPermaLink="false">http://techblog.floorplanner.com/?p=292#comment-205</guid>
		<description>You should check out flXHR here:  http://flxhr.flensed.com 

It&#039;s a fully XHR-API compliant drop-in replacement for native XHR (including JSON request/responses) that utilizes an invisible SWF for the communication layer. The wrapping javascript implements an identical API to the native XHR object, so it&#039;s easily used in place of native XHR, including easy integration with major JS frameworks, but with cross-domain communication ability.

And btw, on the specific topic of the encodings through externalinterface related to JSON... I ran into these same hiccups with earlier versions of flXHR but they&#039;ve now been fully addressed and flXHR is able to pass JSON bi-directionally just fine.</description>
		<content:encoded><![CDATA[<p>You should check out flXHR here:  <a href="http://flxhr.flensed.com" rel="nofollow">http://flxhr.flensed.com</a> </p>
<p>It&#8217;s a fully XHR-API compliant drop-in replacement for native XHR (including JSON request/responses) that utilizes an invisible SWF for the communication layer. The wrapping javascript implements an identical API to the native XHR object, so it&#8217;s easily used in place of native XHR, including easy integration with major JS frameworks, but with cross-domain communication ability.</p>
<p>And btw, on the specific topic of the encodings through externalinterface related to JSON&#8230; I ran into these same hiccups with earlier versions of flXHR but they&#8217;ve now been fully addressed and flXHR is able to pass JSON bi-directionally just fine.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
