You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by Da Wei Wang <wa...@cn.ibm.com> on 2010/12/28 03:31:57 UTC
How Shindig core.io.makeRequest use gadget instance information
Hi,
I find in core.io feature, gadgets.util.getUrlParameters is invoked to
get some gadget instance information (gadget iframe url, gadget container,
gadget synd, gadget nocache flag), then these information are passed to
server as http request parameter in one core.io.makeRequest invocation. I
am not sure how Shindig makeRequest servlet make use of these information.
In concept, gadget instance is not related with remote content retrieval.
Any one could explain the design purpose? Thanks.
Best regards,
Re: How Shindig core.io.makeRequest use gadget instance information
Posted by Paul Lindner <li...@inuus.com>.
The gadget URL is needed for 3-legged OAuth requests, and is also usable for
accounting purposes.
The container is passed through to allow for per-container configuration of
the proxy urls, oauth callback urls, etc.
On Mon, Dec 27, 2010 at 10:07 PM, Da Wei Wang <wa...@cn.ibm.com> wrote:
> No, it is core.io.makeRequest to retrieve remote content. In this
> function implementation, the gadget instance related data (gadget iframe
> url, gadget container,
> > gadget synd, gadget nocache flag) is passed to makeRequest servlet via
> XHR. I am not sure why gadget instance is used during remote content
> retrieval.
>
> Best regards,
> Da Wei Wang(王大炜)
> Email: wangdaw@cn.ibm.com Tel: 86-10-82452636
> 北京市海淀区东北旺西路8号 中关村软件园28号楼 寰宇大厦 邮编:100193
> [image: Inactive hide details for Henry Saputra <he...@gmail.com>]Henry
> Saputra <he...@gmail.com>
>
>
>
> *Henry Saputra <he...@gmail.com>*
>
> 2010-12-28 11:58
> Please respond to
> dev@shindig.apache.org
>
>
>
> To
>
> dev@shindig.apache.org
> cc
>
>
> Subject
>
> Re: How Shindig core.io.makeRequest use gadget instance information
>
> Are you talking about getting gadget metadata request?
>
> - Henry
>
> On Mon, Dec 27, 2010 at 6:31 PM, Da Wei Wang <wa...@cn.ibm.com> wrote:
> >
> >
> > Hi,
> >
> > I find in core.io feature, gadgets.util.getUrlParameters is invoked to
> > get some gadget instance information (gadget iframe url, gadget
> container,
> > gadget synd, gadget nocache flag), then these information are passed to
> > server as http request parameter in one core.io.makeRequest invocation. I
> > am not sure how Shindig makeRequest servlet make use of these
> information.
> > In concept, gadget instance is not related with remote content retrieval.
> >
> > Any one could explain the design purpose? Thanks.
> >
> > Best regards,
>
>
>
> --
> Thanks,
> Henry
>
>
--
Paul Lindner -- lindner@inuus.com -- linkedin.com/in/plindner
Re: How Shindig core.io.makeRequest use gadget instance information
Posted by Da Wei Wang <wa...@cn.ibm.com>.
No, it is core.io.makeRequest to retrieve remote content. In this
function implementation, the gadget instance related data (gadget iframe
url, gadget container,
> gadget synd, gadget nocache flag) is passed to makeRequest servlet via
XHR. I am not sure why gadget instance is used during remote content
retrieval.
Best regards,
Da Wei Wang(王大炜)
Email: wangdaw@cn.ibm.com Tel: 86-10-82452636
北京市海淀区东北旺西路8号 中关村软件园28号楼 寰宇大厦 邮编:100193
Henry Saputra
<henry.saputra@gm
ail.com> To
dev@shindig.apache.org
2010-12-28 11:58 cc
Subject
Please respond to Re: How Shindig core.io.makeRequest
dev@shindig.apach use gadget instance information
e.org
Are you talking about getting gadget metadata request?
- Henry
On Mon, Dec 27, 2010 at 6:31 PM, Da Wei Wang <wa...@cn.ibm.com> wrote:
>
>
> Hi,
>
> I find in core.io feature, gadgets.util.getUrlParameters is invoked to
> get some gadget instance information (gadget iframe url, gadget
container,
> gadget synd, gadget nocache flag), then these information are passed to
> server as http request parameter in one core.io.makeRequest invocation. I
> am not sure how Shindig makeRequest servlet make use of these
information.
> In concept, gadget instance is not related with remote content retrieval.
>
> Any one could explain the design purpose? Thanks.
>
> Best regards,
--
Thanks,
Henry
Re: How Shindig core.io.makeRequest use gadget instance information
Posted by Henry Saputra <he...@gmail.com>.
Are you talking about getting gadget metadata request?
- Henry
On Mon, Dec 27, 2010 at 6:31 PM, Da Wei Wang <wa...@cn.ibm.com> wrote:
>
>
> Hi,
>
> I find in core.io feature, gadgets.util.getUrlParameters is invoked to
> get some gadget instance information (gadget iframe url, gadget container,
> gadget synd, gadget nocache flag), then these information are passed to
> server as http request parameter in one core.io.makeRequest invocation. I
> am not sure how Shindig makeRequest servlet make use of these information.
> In concept, gadget instance is not related with remote content retrieval.
>
> Any one could explain the design purpose? Thanks.
>
> Best regards,
--
Thanks,
Henry