We are building science portal using Shindig and converting existing web app frontends to gadgets. Those web app frontends access backend services. To convert them to gadgets, the usual way is to rewrite those calls using gadgets.io.makeRequest. The problem is that this is not always desired. For example, a web app uses YUI library to create a table and populate it with data loaded from remote server. The data loading is managed by YUI. So to rewrite it requires non-trivial work (data loading, table update, auto update, etc). Our current solution is to construct makeRequest URL directly (gadges/makeRequest?url=...) and give the URL to YUI data loading function. Of course this is a hack instead elegant solution.
My question is whether I can use getProxyUrl and send requests there. I know makeRequest and getProxyUrl are handled by different servlets. What are the main differences of their processing logic? Thanks Gerald
