>-----Original Message-----
>From: [email protected] [mailto:[email protected]]
>Sent: Wednesday, March 09, 2011 3:25 AM
>To: [email protected]
>Subject: RE: Client side usage of Shindig?
>
>
>
>Hello,
>
>thanks a lot, that confirms my assumptions. That leads me to the
>following questions:
>
>There are a few methods in the gadgets API that in my opinion interact
>directly with the client side UI like:
>http://code.google.com/apis/gadgets/docs/reference/#gadgets.window  <-
>setTitle, height, etc.
>
>If I implement the UI myself I have to take care of this on my own,
>right?

Correct.  For the ones you mentioned you need to implement support for those 
operations in your container and then register the handlers with the 
gadgets.rpc framework:

http://wiki.opensocial.org/index.php?title=Gadgets.rpc_%28v0.9%29#gadgets.rpc.register

>This makes it rather difficult to create you first simple UI. I will
>check OSEC and maybe "social site".
>
>If anybody has done this before or if there are tutorials/templates
>around please let me know?

We definitely handle this in OSEC and I think the Shindig sample container code 
handles some of them as well.

>Kind regards
>Tom
>
>
>-----Ursprüngliche Nachricht-----
>Von: "Ciancetta, Jesse E." <[email protected]>
>Gesendet: Mar 8, 2011 4:04:29 PM
>An: "[email protected]" <[email protected]>
>Betreff: RE: Client side usage of Shindig?
>
>>>-----Original Message-----
>>>From: [email protected] [mailto:[email protected]]
>>>Sent: Monday, March 07, 2011 11:07 AM
>>>To: [email protected]
>>>Subject: Client side usage of Shindig?
>>>
>>>
>>>Hello,
>>>
>>>I’m completely new to shindig and would need some starting hints. Any
>>>help highly appreciated.
>>>
>>>I just downloaded shindig and followed a view gadgets tutorial to use
>>>the sample page to add them. Everything works great but now I have a
>>>little gap how to really use shindig:
>>>
>>>1.) I have an html page where I want to add one or two gadgets. Do  I
>do
>>>this by adding 2 iframes (with calculated gadget URL) myself or is
>this
>>>part of Shindig?
>>
>>You do need to build the page with the iframes yourself but for
>generating the iframe URL's I think you have a couple of options.  I
>believe Shindig has an endpoint built in which can generate iframe URL's
>for you (part of what the RpcServlet mapped to /gadgets/metadata does if
>I recall) or you can generate them yourself which is relatively straight
>forward to do.  You can probably find some nice examples of this in the
>common container code that ships with Shindig, or have a look at OSEC
>for a Java based example (http://code.google.com/p/osec) or Partuza for
>a PHP based example (http://code.google.com/p/partuza/).
>>
>>
>>>2.) Is the containerlayout (title, toggle link, etc.) just an example
>in
>>>the sample page and should I produce it myself with html? Or are there
>>>skinning possibilities and a default container (client side)?
>>
>>I think any code that ships with Shindig that does this sort of stuff
>is just a sample.  Look at the projects referenced above for more
>complete implementations.
>>
>>>3.) Whats the rpc_dely.html about and are there examples?
>>
>>The rpc_relay.html file is used by the gadgets.rpc code as a transport
>to pass messages between iframes that run on different domains -- I
>believe it is actually used as a last resort when all better methods of
>cross domain RPC fail.  The gadgets.rpc code is really well implemented
>and heavily commented -- have a look here for additional details:
>>
>>http://svn.apache.org/repos/asf/shindig/trunk/features/src/main/javascr
>ipt/features/rpc/rpc.js
>>
>>>Any hints would be great.
>>>I used this:
>>>https://cwiki.apache.org/confluence/display/SHINDIG/The+rough+guide+to
>+d
>>>eploying+shindig  - which is good but rough.
>>>
>>>I think my main problem is I don’t understand if Apache Shindig is
>just
>>>the container or has some Client & UI related parts (beside the
>example
>>>HTMLs).
>>
>>Shindig is just the backend -- I believe any container related code
>that ships with Shindig currently is either meant to be a sample or a
>starting point for a more complete implementation.
>>
>>>Kind regards
>>>Tom
>>>
>>>
>>>___________________________________________________________
>>>Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die
>>>Toolbar eingebaut! http://produkte.web.de/go/toolbar
>
>___________________________________________________________
>Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die
>Toolbar eingebaut! http://produkte.web.de/go/toolbar

Reply via email to