Hi 
If I've understood you right then instead of using XmlHttpRequest you could use 
the built-in gadgets.io.makeRequest to make the cross-domain request. On the 
other hand that is just proxy-ing so you still have your bottle-neck issue. 
(Unless you install a copy of Shindig on a third sever so you split the load?)
Or you could use JSONP? (jQuery AJAX does this for you but it would be easy 
enough to write a simple implementation).
Justin


> Date: Wed, 16 Feb 2011 11:19:19 -0300
> Subject: separation of shindig from the frontend server
> From: [email protected]
> To: [email protected]
> 
> Hi, I need separate shindig from my frontend application into another
> server. So I have
> 
> frontend.com
> 
> shindig.frontend.com (another phisical server)
> 
> The question is that I had problems with the Cross Site Request when I make
> a XmlHttpRequest
> ,from the Gadgets loaded into frontend.com, to the
> shindig.frontend.com(Same Origin Policy [1])
> 
> I saw use a proxy into frontend.com that forward the request to
> shindig.frontend.com, but I don't wanna have a bottle neck there.
> 
> I solved the problem with CORS [2], but not all browsers support that.
> 
> There is another solution for that ? somebody could solve this question ?
> 
> Any opinion is Welcome.
> 
> Regards and Thanks.
> 
> [1] http://en.wikipedia.org/wiki/Same_origin_policy
> [2] http://www.w3.org/TR/cors/
> <http://www.w3.org/TR/cors/>
> -- 
> Ing. Casiva  Agustin
> 
> Mail/Msn/GTalk/Jabber: [email protected]
> Skype: casivaagustin
> CEL : 054-03722-15270639
> Site: http://www.casivaagustin.com.ar
                                          

Reply via email to