<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Fast, Streaming AJAX proxy - continuously download from cross domain</title><link>http://msmvps.com/blogs/omar/archive/2008/04/14/fast-streaming-ajax-proxy-continuously-download-from-cross-domain.aspx</link><description>Due to browser&amp;#39;s prohibition on cross domain XMLHTTP call, all AJAX websites must have server side proxy to fetch content from external domain like Flickr or Digg. From client side javascript code, an XMLHTTP call goes to the server side proxy hosted</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>תקשורת בין דומיינים חלק 4 – שימוש בפרוקסי</title><link>http://msmvps.com/blogs/omar/archive/2008/04/14/fast-streaming-ajax-proxy-continuously-download-from-cross-domain.aspx#1721390</link><pubDate>Mon, 07 Sep 2009 14:19:27 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1721390</guid><dc:creator>מקודד לשווא</dc:creator><description>&lt;p&gt;בהמשך לפוסטים הקודמים על תקשורת בין דומיינים ולתגובה של יוסי הפעם אציג את פיתרון מבוסס שרת . הפיתרון&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1721390" width="1" height="1"&gt;</description></item><item><title> Look  here</title><link>http://msmvps.com/blogs/omar/archive/2008/04/14/fast-streaming-ajax-proxy-continuously-download-from-cross-domain.aspx#1694877</link><pubDate>Wed, 10 Jun 2009 06:34:42 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1694877</guid><dc:creator>Peveestuart</dc:creator><description>&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://dgrin.com/member.php?u=47094"&gt;dgrin.com/member.php&lt;/a&gt; &amp;nbsp;Buy biaxin&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1694877" width="1" height="1"&gt;</description></item><item><title>re: Fast, Streaming AJAX proxy - continuously download from cross domain</title><link>http://msmvps.com/blogs/omar/archive/2008/04/14/fast-streaming-ajax-proxy-continuously-download-from-cross-domain.aspx#1676890</link><pubDate>Mon, 09 Mar 2009 11:06:14 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1676890</guid><dc:creator>Atif</dc:creator><description>&lt;p&gt;Is there a way out to implement the &amp;quot;Continous Streaming Proxy&amp;quot; using Java? &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1676890" width="1" height="1"&gt;</description></item><item><title>re: Fast, Streaming AJAX proxy - continuously download from cross domain</title><link>http://msmvps.com/blogs/omar/archive/2008/04/14/fast-streaming-ajax-proxy-continuously-download-from-cross-domain.aspx#1643212</link><pubDate>Sun, 03 Aug 2008 23:10:34 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1643212</guid><dc:creator>mike river</dc:creator><description>&lt;p&gt;Nice example of making easy thinks complicated &amp;#39;a la&amp;#39; Microsoft-way ... &lt;/p&gt;
&lt;p&gt;&amp;quot;Due to browser&amp;#39;s prohibition on cross domain XMLHTTP call, all AJAX websites must have server side proxy to fetch content from external domain like Flickr or Digg&amp;quot; is a wrong statement. &lt;/p&gt;
&lt;p&gt;You can use a JSON request directly from JS as explained by Simon Willison.&lt;/p&gt;
&lt;p&gt;Although still in early beta, you can see an example of the technique used against amazon.com in my site.&lt;/p&gt;
&lt;p&gt;After struggling with server-side approaches, having worked until early this year primarily with C#/ASP.net, I became an JS enthusiast and I strongly believe that the future will be JS/JSON/web services. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1643212" width="1" height="1"&gt;</description></item><item><title>re: Fast, Streaming AJAX proxy - continuously download from cross domain</title><link>http://msmvps.com/blogs/omar/archive/2008/04/14/fast-streaming-ajax-proxy-continuously-download-from-cross-domain.aspx#1641972</link><pubDate>Thu, 24 Jul 2008 07:09:52 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1641972</guid><dc:creator>omar</dc:creator><description>&lt;p&gt;I had to override the Content-Encoding, Content-Length and Cache-Control headers. So, that&amp;#39;s why I chose to emit own headers. But you can easily copy all headers and then overwrite them for your own setting. No problem with that. &lt;/p&gt;
&lt;p&gt;Some headers might be server specific. So, watch out.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1641972" width="1" height="1"&gt;</description></item><item><title>re: Fast, Streaming AJAX proxy - continuously download from cross domain</title><link>http://msmvps.com/blogs/omar/archive/2008/04/14/fast-streaming-ajax-proxy-continuously-download-from-cross-domain.aspx#1641967</link><pubDate>Thu, 24 Jul 2008 06:51:34 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1641967</guid><dc:creator>Mark Monster</dc:creator><description>&lt;p&gt;Nice article. Can you explain why you build the Headers yourself instead of putting through all the headers received from the client? Specially the Authorization header would be interesting to put through I guess.&lt;/p&gt;
&lt;p&gt;Mark&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1641967" width="1" height="1"&gt;</description></item><item><title>re: Fast, Streaming AJAX proxy - continuously download from cross domain</title><link>http://msmvps.com/blogs/omar/archive/2008/04/14/fast-streaming-ajax-proxy-continuously-download-from-cross-domain.aspx#1636450</link><pubDate>Sat, 21 Jun 2008 11:47:52 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1636450</guid><dc:creator>elmokni</dc:creator><description>&lt;p&gt;goooooooooooooooooooood&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1636450" width="1" height="1"&gt;</description></item><item><title>re: Fast, Streaming AJAX proxy - continuously download from cross domain</title><link>http://msmvps.com/blogs/omar/archive/2008/04/14/fast-streaming-ajax-proxy-continuously-download-from-cross-domain.aspx#1617952</link><pubDate>Fri, 09 May 2008 02:15:04 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1617952</guid><dc:creator>Alton</dc:creator><description>&lt;p&gt;Hi Omar,&lt;/p&gt;
&lt;p&gt;Is there any way to have this same concept but as an iFrame. In other words. We have two different websites on different domains (and different countries). That need to &amp;quot;feel&amp;quot; like one website. But of cource this cross-domain thing is a problem for iFrames as well. Browsers restrict the sending of information from the one domain to the other within &amp;nbsp;iFrames on the same page. Somehow I need to set this up so that the iFrame connects to a sort of proxy instead of the iFrame src pointing directly to the external domain.&lt;/p&gt;
&lt;p&gt;Any ideas ?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1617952" width="1" height="1"&gt;</description></item><item><title>re: Fast, Streaming AJAX proxy - continuously download from cross domain</title><link>http://msmvps.com/blogs/omar/archive/2008/04/14/fast-streaming-ajax-proxy-continuously-download-from-cross-domain.aspx#1609949</link><pubDate>Wed, 30 Apr 2008 15:12:29 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1609949</guid><dc:creator>omar</dc:creator><description>&lt;p&gt;The assumption is &amp;quot;all AJAX websites must have server side proxy ***to fetch content from external domain***&amp;quot;. &lt;/p&gt;
&lt;p&gt;There are only two ways to do that - use JSONP where the external domain delivers JS along with data and a callback to load the data; or use a Server side proxy and make XHR to the server side proxy in order to fetch data from external domain. &lt;/p&gt;
&lt;p&gt;No matter what JS API is given from external domain that you get via script include, no JS, either downloaded from same domain or directly from external domain, can download anything from external domain directly without going through a server side proxy.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1609949" width="1" height="1"&gt;</description></item><item><title>re: Fast, Streaming AJAX proxy - continuously download from cross domain</title><link>http://msmvps.com/blogs/omar/archive/2008/04/14/fast-streaming-ajax-proxy-continuously-download-from-cross-domain.aspx#1609873</link><pubDate>Wed, 30 Apr 2008 13:27:52 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1609873</guid><dc:creator>DT</dc:creator><description>&lt;p&gt;I guess I can see that for Pageflakes it would be necessary to have a content proxy given that it appears to provide content normally obtained after a feed read or which may not have a proper Javascript API. &amp;nbsp;But the initial assumption in the post (&amp;quot;all AJAX websites must have server side proxy&amp;quot;) is that it would be necessary even in cases where you are interacting with a 3rd party JS API; and that seems false to me. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;For most apps that provide an JS API wouldn&amp;#39;t it make sense to use an approach that uses the script include technique (or hidden iframe post technique when necessary), rather than always using a XHR proxy?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1609873" width="1" height="1"&gt;</description></item><item><title>re: Fast, Streaming AJAX proxy - continuously download from cross domain</title><link>http://msmvps.com/blogs/omar/archive/2008/04/14/fast-streaming-ajax-proxy-continuously-download-from-cross-domain.aspx#1608607</link><pubDate>Tue, 29 Apr 2008 16:14:18 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1608607</guid><dc:creator>Ikivo</dc:creator><description>&lt;p&gt;Nice :)&lt;/p&gt;
&lt;p&gt;What software do you use to create your diagrams?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Ikivo&lt;/p&gt;
&lt;p&gt;iikivo@gmail.com&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1608607" width="1" height="1"&gt;</description></item><item><title>re: Fast, Streaming AJAX proxy - continuously download from cross domain</title><link>http://msmvps.com/blogs/omar/archive/2008/04/14/fast-streaming-ajax-proxy-continuously-download-from-cross-domain.aspx#1608555</link><pubDate>Tue, 29 Apr 2008 15:44:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1608555</guid><dc:creator>Dave Tauzell</dc:creator><description>&lt;p&gt;That&amp;#39;s interesting. &amp;nbsp;Java doen&amp;#39;t have the concept of an Async Web request. &lt;/p&gt;
&lt;p&gt;You might be able to make an even faster, more efficient system by using Async IO and reduce the need for all of those reader threads.&lt;/p&gt;
&lt;p&gt;-Dave&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1608555" width="1" height="1"&gt;</description></item><item><title>re: Fast, Streaming AJAX proxy - continuously download from cross domain</title><link>http://msmvps.com/blogs/omar/archive/2008/04/14/fast-streaming-ajax-proxy-continuously-download-from-cross-domain.aspx#1601341</link><pubDate>Wed, 23 Apr 2008 15:56:21 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1601341</guid><dc:creator>JRK</dc:creator><description>&lt;p&gt;Phenomenal content. &amp;nbsp;Thanks.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1601341" width="1" height="1"&gt;</description></item><item><title>re: Fast, Streaming AJAX proxy - continuously download from cross domain</title><link>http://msmvps.com/blogs/omar/archive/2008/04/14/fast-streaming-ajax-proxy-continuously-download-from-cross-domain.aspx#1590074</link><pubDate>Wed, 16 Apr 2008 08:09:46 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1590074</guid><dc:creator>Jakub</dc:creator><description>&lt;p&gt;Greate article. Thanks.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1590074" width="1" height="1"&gt;</description></item><item><title>re: Fast, Streaming AJAX proxy - continuously download from cross domain</title><link>http://msmvps.com/blogs/omar/archive/2008/04/14/fast-streaming-ajax-proxy-continuously-download-from-cross-domain.aspx#1587012</link><pubDate>Mon, 14 Apr 2008 20:50:44 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1587012</guid><dc:creator>Anil</dc:creator><description>&lt;p&gt;I have also written an Ajax content proxy but it was blocking and synchronous. Excellent solution.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1587012" width="1" height="1"&gt;</description></item></channel></rss>