[OpenSocial] Re: integrate Server side code

2008-05-22 Thread buzypi
Hi Afaq, It is possible to make your gadget interact with PHP or some other language on the server-side. Here is the flow: 1. You define what callback function to call (say foo) in _IG_RegisterOnloadHandler. 2. When the function foo is called, you make OpenSocial requests to fetch necessary info

[OpenSocial] Re: integrate Server side code

2008-05-16 Thread Renato Mangini
That's currently not possible, because you cannot reach a opensocial 0.7 container from outside-in, only the opposite way (inside-out, i.e., a gadget running inside the container contacting your server). That's the purpose of the REST API, which may be released on the next version. On 5/16/08, Shu

[OpenSocial] Re: integrate Server side code

2008-05-15 Thread Shubhajyoti Ghosh
What i'm looking for is to build a C# component that i can reference in my projects. I would add the component as a reference to whatever app i'm building. The C# component for now, could have a single method. Here is a suggested method signature. GetContacts(string socialnetworkname, string use

[OpenSocial] Re: integrate Server side code

2008-05-15 Thread Balaji Srinivasan
I didnt mean to imply that a client library was essential...just that its a convinience. See the Google Calendar API. Using the pHP client is obviously far easier than trying to write your own code. Ofcourse if the language is not supported, one could write to the spec. Balaji On May 15, 2

[OpenSocial] Re: integrate Server side code

2008-05-15 Thread Renato Mangini
a REST API doesn't need a client lib. All you need is to be able to make HTTP requests, which all languages are capable of. The REST API would allow your outside code to communicate to a opensocial container. The makeRequest javascript call, which the iRead app uses, allows a gadget running inside

[OpenSocial] Re: integrate Server side code

2008-05-15 Thread Balaji Srinivasan
Wouldnt this be done using the REST APIs? I assume we will have client libraries for the REST APIs in the language of your choice. (My choice would be PHP :) Balaji On May 15, 2008, at 10:38 AM, justin kruger wrote: > > maybe you want to start a project on google code to make open social > m

[OpenSocial] Re: integrate Server side code

2008-05-15 Thread Balaji Srinivasan
Wouldnt this be done using the REST APIs? I assume we will have client libraries for the REST APIs in the language of your choice. (My choice would be PHP :) Balaji On May 15, 2008, at 10:38 AM, justin kruger wrote: > > maybe you want to start a project on google code to make open social > m

[OpenSocial] Re: integrate Server side code

2008-05-15 Thread Balaji Srinivasan
Wouldnt this be done using the REST APIs? I assume we will have client libraries for the REST APIs in the language of your choice. (My choice would be PHP :) Balaji On May 15, 2008, at 10:38 AM, justin kruger wrote: > > maybe you want to start a project on google code to make open social > m

[OpenSocial] Re: integrate Server side code

2008-05-15 Thread justin kruger
maybe you want to start a project on google code to make open social more accessible to asp devs? On Thu, May 15, 2008 at 11:59 AM, Arne Roomann-Kurrik <[EMAIL PROTECTED]> wrote: > Renato's description is very accurate from what I see. The iRead gadget > uses signed makeRequest calls to transmit

[OpenSocial] Re: integrate Server side code

2008-05-15 Thread Arne Roomann-Kurrik
Renato's description is very accurate from what I see. The iRead gadget uses signed makeRequest calls to transmit data about the gadget owner/viewer back to their site for the purposes of interacting with their account. The rest of the data is pulled from their JSON API. ~Arne On Thu, May 15, 2

[OpenSocial] Re: integrate Server side code

2008-05-15 Thread Renato Mangini
Afaq, As I could see on iRead's site, there is no server side active opensocial component. The opensocial features only works actively inside a opensocial container. Probably (my assumption), the opensocial gadget talks back to its server, sending the information required to its application. If th

[OpenSocial] Re: integrate Server side code

2008-05-15 Thread afaq
hi, > aspx is not designed to produce gadgets.  it may be easier to render > the gadget XML in some other way using c# or vb.net. That is true.But i am still not satisfied with this reply. i have seen web site like http://booksiread.org/ where server side is integrated open social. There must be

[OpenSocial] Re: integrate Server side code

2008-05-15 Thread justin kruger
aspx is not designed to produce gadgets. it may be easier to render the gadget XML in some other way using c# or vb.net. the opensocial apps are proxied XML that is transformed on the fly into an iframe, with a javascript api. to my knowledge that javascript library has not been inclueded in .n

[OpenSocial] Re: integrate Server side code

2008-05-15 Thread afaq
Looking for a detailed reply from Opensocial Gurus. regards, Afaq On May 15, 3:44 pm, afaq <[EMAIL PROTECTED]> wrote: > hi rana, > > i don't understand your reply. > > Please read my email and reply me in detail. > > Regards, > Afaq > > On May 15, 3:27 pm, "rana das" <[EMAIL PROTECTED]> wrote: >

[OpenSocial] Re: integrate Server side code

2008-05-15 Thread afaq
hi rana, i don't understand your reply. Please read my email and reply me in detail. Regards, Afaq On May 15, 3:27 pm, "rana das" <[EMAIL PROTECTED]> wrote: > ve u done it. i did some experiment i completed the container but need to > conf... > if u ve did it then rply me > > cheers > rana > >

[OpenSocial] Re: integrate Server side code

2008-05-15 Thread rana das
ve u done it. i did some experiment i completed the container but need to conf... if u ve did it then rply me cheers rana On Thu, May 15, 2008 at 12:57 PM, afaq <[EMAIL PROTECTED]> wrote: > > hi, > > I have read examples of google for opensocial at (http:// > code.google.com/apis/opensocial/) >

[OpenSocial] Re: integrate Server side code

2008-05-15 Thread Shubhajyoti Ghosh
Hi, Have you create this successfully? Mail me for further discussion. [EMAIL PROTECTED] Thanks, Shubha On May 15, 12:27 pm, afaq <[EMAIL PROTECTED]> wrote: > hi, > > I have read examples of google for opensocial at (http:// > code.google.com/apis/opensocial/) > All these examples are