2009/5/12 András Bártházi <barthazi.and...@gmail.com>:
>
> Hi,
>
>>> Anyway, I recommend you OSDE:
>>>  http://code.google.com/p/opensocial-development-environment/
>>
>> I know about OSDE, and it's a great tool but:
>>
>> 1) My application files are dynamically generated, and not all on one
>> place. OSDE expects that you create an application entirely within an
>> Eclipse project, but my XML files are generated based on application
>> logic in a rails app. Is this crazy? Something tells me I'm not doing
>> this the right way if it makes developing these apps difficult.
>
> Yes, that's crazy. The gadget XML should be static, and it is cached
> in real world containers like iGoogle. If you mean XML _data_ files,
> then I don't understand the problem.

Well it is static in the sense the same URL will render the same
gadget XML on each request. But, this gadget XML is rendered based on
data in a database (e.g. user provides a RSS feed and app generates a
RSS gadget, etc. and becomes available at some URL). So it could
change, if the user was to go back and edit the RSS url.

I've thought of doing something like writing an application in OSDE
and then putting little tags in HTML comments that my app loads and
replaces with regular expressions... this *might* work for e.g.
injecting the RSS URL mentioned above.

Although I might be missing the point completely. Perhaps I should be
calling a remote server for that information via JSON etc... but even
then, I'll need to know at least the user ID, so that will have to be
dynamic anyway.

>
> I haven't really tried it yet, but OSDE has a dialog for opening
> external gadgets:
> http://screencast.com/t/tZYXTJm0GR
>

Ah I didn't notice that! Great, that's nice.

>> 2) I don't particularly like working in Eclipse... Java is very slow
>> on the Mac. :)
>
> I have a black MacBook running OSDE. Eclipse is not slow at all. You
> may need some RAM to run it, I have 3GB.

Sure, Eclipse is fine but I'd prefer to use TextMate :)

> I think that's correct, however as OSDE contains Shindig, I can tell
> you it works well for application developers as well.

Yeah I've been able to get my gadgets going in Shindig now. Not sure
what has changed since yesterday though :)

> I have used dyndns.org and the local Apache service of Mac OS X to
> serve the XML file to a container (I'm developing for iWiW.hu). I had
> to do a save locally, and press a refresh button on the development
> site of iWiW.hu to deploy (refresh) the project to the sandbox, it was
> not so slow, but was not convenient.

Hmm interesting, I could try that.

I guess I've just been spoilt by rails and test driven development,
and I don't want to just "hack" gadgets I want to write them properly.
Is anyone doing anything more sophisticated than whacking everything
inside a CDATA block, uploading to server so a container can access it
and hitting refresh? Am I the only person who thinks this could be
improved?  (I remember hearing CDATA blocks are going in opensocial
0.9).

Robert

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenSocial Application Development" group.
To post to this group, send email to opensocial-api@googlegroups.com
To unsubscribe from this group, send email to 
opensocial-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/opensocial-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to