On Mon, Dec 8, 2008 at 8:37 PM, Ayan <[EMAIL PROTECTED]> wrote:

>
> Thanks Chris.
>
> I would prefer OpenSocial container method.
>
> I have few other questions -
>
> 1. What is the Server Requirement for running the Shindig service ? I
> prefer Linux  :)
>

Shindig comes in 2 flavors, Java and PHP (seeing your original post
mentioning PHP i pointed you in it's direction), anything that runs PHP
5.2.x is fine, so that includes Linux! (actually that's the platform that
most people deploy it on).

Just for the rest of the list: it's also known to run just fine on windows,
solaris, mac os x, etc ... anything that can do a semi decent job of running
either jre or php :)



> 2. Is it possible to run a central Shindig Server and give service to
> other external sites ?


Sure, there's a &container=<foo> param you should set anyhow that indicates
which containing site this is being called from (and a parent param as
well), you could simply connect too & query a different database for
different container's. So yes it's made for that



> 3. On average, how many files do I have to CODE to integrate with my
> own site running on Joomla 1.0.x ?
>


Ah the devil is always in the details, I'm not sure what useful metric I
could give you here ... 10 ? large files? small files? do you put multiple
classes in a file or not? :)

You would have to create data service intergration classes, for a reference
see:
http://code.google.com/p/partuza/source/browse/trunk/Shindig/PartuzaService.phpand
http://code.google.com/p/partuza/source/browse/trunk/Shindig/PartuzaDbFetcher.php

if you want to support REST+OAuth you also need to implement:
http://code.google.com/p/partuza/source/browse/trunk/Shindig/PartuzaOAuthDataStore.php

And to generate the iframe that points to shindig (security tokens, and lots
of other nitty gritty details):
http://code.google.com/p/partuza/source/browse/trunk/Application/Views/gadget/gadget.php

And some container sided JS code to implement the RPC services:
http://code.google.com/p/partuza/source/browse/trunk/html/js/container.js

Now the good news is Partuza is available under the Apache License and under
the GPL (v2 and v3) as well, so since Joomla is also GPL'd, your free to
reuse any code from Partuza you want too, and with that it might end up
being less work then you'd think.

After that you have a fully functioning setup, but you would still have to
add some UI bits: A gadget gallery and gadget settings ui, and anything else
you want to add, but that's completely up to you to fill in!

   -- Chris



> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Implementing OpenSocial Containers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-container?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to