[Sugar-devel] Collaboration API (was Re: HTML5 Activities page on the Wiki)

Daniel Narvaez dwnarvaez at gmail.com
Tue Apr 30 08:13:16 EDT 2013


On 30 April 2013 14:00, Bert Freudenberg <bert at freudenbergs.de> wrote:

> It is indeed the implementation details I'm talking about. The Javascript
> API could use an identical Python API. And that API could then be used both
> by Javascript activities and other activities, too. This would simplify the
> development process for all, because activity developers would not have to
> talk to Telepathy directly.
>
> You have to implement the new API anyway. The question is simply, where to
> put that code. If you put it in the Sugar Shell and expose it via DBus, it
> will be available to all activity developers. The Javascript API would
> simply be a very thin layer that use it. OTOH, if you put that code only
> into the HTML activity support, you now have created two different ways to
> implement collaboration in Sugar. You will have to document separately,
> learn separately, maintain separately.
>

One problem with that approach is that we don't have a way for javascript
to talk dbus directly. We could perhaps build one but it's probably going
to be non trivial.

It's also worrying that one of the reason to deprecate the old Presence
Service seems to have been avoiding the extra IPC layer, which we would be
reintroducing here.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130430/8ca8dcc4/attachment.html>


More information about the Sugar-devel mailing list