I agree, Dan. The gadget server itself can be in Java, but since the majority of web sites out there don't run Java, it's probably in the project's best interest to have code for binding to it in languages people actually do write websites in (PHP, Python, Ruby, etc.) This was my main motivation for starting work on the RpcServlet. Personally, I hate writing websites in Java, and I'm sure many other people do as well. It's fine for replacing a lot of things that you might otherwise use C for (like a high performance RPC back end that mostly deals with data processing ;-)), but it's a poor alternative to Ruby, Python, or PHP when it comes to the web.
I'd really like to see if we could pull together a single implementation of the opensocial javascript so that the server components can simply standardize on an RPC mechanism. This would eliminate the burdeon of every container writer having to re-implement their own javascript container, and allow <Require feature="opensocial-0.7"/> to work "out of the box". On Feb 17, 2008 2:20 PM, Dan Lester <[EMAIL PROTECTED]> wrote: > > I am currently trying to do the same thing - on the Javascript side, > anyway. Thanks for your code as I'm sure it will help me. > > I think it is important to write versions of the server-side components > in PHP as well as Java - probably more important than porting the rest > of the gadget server to PHP, really, since this part needs to connect > directly to the rest of the container social network. The rest of the > gadget server can be run as the Java version for now. > > Once comment on the patch though is that (I think) you are making GET > requests one-at-a-time to the 'respond' servlet. Why not send a single > batch as a POST request, to have them all returned in one go? That's > what I'm trying, anyway, so let me know if I'm forgetting an obvious > problem... > > Thanks, > > Dan > > > -----Original Message----- > From: Vincent Demay [mailto:[EMAIL PROTECTED] > Sent: 17 February 2008 17:22 > To: [email protected] > Subject: Re: Are you interrested in an OpenSocial feature using xhr? > > > Hi, > > Oki, I've just attached a patch in SHINDIG-77. Let me know if you need > more stuff to run it or if you get some troubles. > > Cassie, I'm very curious to see what you did, let me know, what you > think about mine ;) > > Thanks > > Cheers > > -- > Vincent > > > Le 17 févr. 08 à 05:05, Cassie a écrit : > > > Vincent - > > I am also working on this right now. I should be committing a very > > very > > basic version soon but I would love to see what you have. Perhaps I > > can > > improve my code with your changes (or scrap mine altogether). > > > > Either way, I think it will be a very long term project that can > > grow more > > sophisticated over time. Like Kevin said, it would be great to see a > > patch! > > Thanks! > > > > - Cassie > > > > > > On Sat, Feb 16, 2008 at 1:06 PM, Kevin Brown <[EMAIL PROTECTED]> wrote: > > > >> If you've got something you'd like to contribute to the project, > >> your best > >> bet is to send a patch. This makes it easy to try out the changes > >> and see > >> if > >> it's a contribution that makes sense for the project. If patching > >> would be > >> difficult, just send a zip file with the files. > >> > >> On Feb 16, 2008 8:04 AM, Vincent Demay <[EMAIL PROTECTED]> wrote: > >> > >>> Hi all > >>> > >>> I'm currently writing a feature (based on container-sample) > >>> implementing > >>> openSocial API querying data from a new Servlet responding json to > >>> xhr > >>> request instead of using a static XML file. > >>> > >>> It will probably be the base for our openSocial compliance on our > >>> project (http://www.goojet.com). > >>> > >>> It's currently hable to manage people and friends API and > >>> Persistence > >>> Data Api but not yet activities. > >>> > >>> For now it is just a very begginning but, if you are interrested > >>> in a > >>> such stuff (feature + servlet with a mock giving data), just let me > >>> know, because we are ready to share it to shindig and to take into > >>> account your remarks ;). > >>> > >>> Cheers, > >>> > >>> PS : Of course if you are developing a such feature I'm very > >>> interrested > >>> in, and I will be happy to contribute. > >>> > >>> -- > >>> Vincent Demay > >>> > >>> > >> > >> > >> -- > >> ~Kevin > >> > >> If you received this email by mistake, please delete it, cancel > >> your mail > >> account, destroy your hard drive, silence any witnesses, and burn > >> down the > >> building that you're in. > >> > > > > -- ~Kevin If you received this email by mistake, please delete it, cancel your mail account, destroy your hard drive, silence any witnesses, and burn down the building that you're in.

