You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by 木偶华尔兹 <ti...@gmail.com> on 2011/06/06 16:31:03 UTC

Some questions about the integrating of Shindig

Hello

I'm a beginner of Shindig. It is difficult for me to find resources of
Shindig since it is not widely used in China. What's more, many docs are
about how to develpe opensocial apps, not integrating Shindig into a
existing web site. Although I have found a rough guide here:
https://cwiki.apache.org/confluence/display/SHINDIG/The+rough+guide+to+deploying+shindig
I still feel confused because of my English to some extent.

For example if I have Shindig up and running on
http://localhost:8080/shindig-server-2.0.0 using Tomcat, and also my own web
site. I intent to write a showgadget.jsp to display gadgets like
http://localhost:8080/testwebsite/showgadget.jsp. How to set the
configuration( the rough guide said that installing the rpc_relay.html, but
I don't really understand. Forgive my poor English. ^_^) . What other
configuration should I do for showgadget.jsp. I wonder to know more details.

Another questiones are propounded from a company where I work as an intern.
The manager of this company want to know something which may affect his
decision of Shindig.
1.Although Shindig is a opensource project, whether it will become
chargeable for bussiness.
2.Does Shindig work stable? How does it perform? If once Shindig broke down,
how could we fix the bugs and from where could we get the technique support?
3.Generally, what difficulty we may confront when building a open platform
using Shindig?  And how long will it take for a developer to develope a
opensocial app through Shindig.

Forgive my poor English again and interrupting you . Thanks for reading this
email.
Best wishes

Tale

Re: Some questions about the integrating of Shindig

Posted by Evgeny Bogdanov <ev...@epfl.ch>.
  Hi Tale,

If you want just to render gadget on the page,
look at the examples in shindig code.
shindig_2.0/content/container/sample1.html

You need to include some shindig javascript code and then render gadget:
renderGadgets()

If you want to use opensocial features so that gadget can access data in 
your container,
you can read this two tutorials:
https://cwiki.apache.org/confluence/display/SHINDIG/Connect+mysql+database+to+shindig
https://cwiki.apache.org/confluence/display/SHINDIG/Integrate+my+own+database+schema+with+shindig

1. Shindig code is under ASF license. So you do not have to pay for 
using shindig.
http://shindig.apache.org/license.html
2. Stable enough to use in production.
If there are bugs, you either fix them yourself or ask here:
https://issues.apache.org/jira/browse/SHINDIG
3. It all depends on the developer and complexity of opensocial app.
An experienced developer can quickly create rather complex opensocial apps.

That's the simplest application printing hello world:
<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs title="Hello world"
author_email="author@example.com"
author="Author Name"
description="Hello world gadget"
width="500"
height="500">
</ModulePrefs>
<Content type="html">
<![CDATA[
<div>Hello world!</div>
]]>
</Content>
</Module>

Best
Evgeny

On 6/6/11 16:31, 木偶华尔兹 wrote:
> Hello
>
> I'm a beginner of Shindig. It is difficult for me to find resources of
> Shindig since it is not widely used in China. What's more, many docs are
> about how to develpe opensocial apps, not integrating Shindig into a
> existing web site. Although I have found a rough guide here:
> https://cwiki.apache.org/confluence/display/SHINDIG/The+rough+guide+to+deploying+shindig
> I still feel confused because of my English to some extent.
>
> For example if I have Shindig up and running on
> http://localhost:8080/shindig-server-2.0.0 using Tomcat, and also my own web
> site. I intent to write a showgadget.jsp to display gadgets like
> http://localhost:8080/testwebsite/showgadget.jsp. How to set the
> configuration( the rough guide said that installing the rpc_relay.html, but
> I don't really understand. Forgive my poor English. ^_^) . What other
> configuration should I do for showgadget.jsp. I wonder to know more details.
>
> Another questiones are propounded from a company where I work as an intern.
> The manager of this company want to know something which may affect his
> decision of Shindig.
> 1.Although Shindig is a opensource project, whether it will become
> chargeable for bussiness.
> 2.Does Shindig work stable? How does it perform? If once Shindig broke down,
> how could we fix the bugs and from where could we get the technique support?
> 3.Generally, what difficulty we may confront when building a open platform
> using Shindig?  And how long will it take for a developer to develope a
> opensocial app through Shindig.
>
> Forgive my poor English again and interrupting you . Thanks for reading this
> email.
> Best wishes
>
> Tale
>