[Sur] [Sugar-devel] Introducing SimpleActivity / Introduciendo SimpleActivity
Alan Jhonn Aguiar Schwyn
alanjas en hotmail.com
Vie Nov 22 04:17:55 EST 2013
Some time ago I think have a simplified way to have an shareable activity without the tricky things of telephaty.
This code can be added in Sugar?
> Date: Fri, 22 Nov 2013 18:01:09 +1100
> From: quozl en laptop.org
> To: aguz en sugarlabs.org
> Subject: Re: [Sugar-devel] Introducing SimpleActivity / Introduciendo SimpleActivity
> CC: sugar-desarrollo en lists.sugarlabs.org; devel en lists.laptop.org; sugar-devel en lists.sugarlabs.org; olpc-uruguay en lists.laptop.org; olpc-sur en lists.laptop.org
> I have reviewed simpleactivity.py and testactivity.py
> This code is very legible and explains well what it does, and can
> serve as an example for new activity authors.
> The docstrings in simpleactivity.py are an effective explanation of
> the simplified API, so perhaps you can generate the documentation from
> them in the usual Python fashion.
> Next to do is for a few activities to be developed using
> SimpleActivity, so that you can see what remains common to the new
> activities. The common code might then be added to SimpleActivity.
> testactivity.py is derived from SharedActivity, and so it is complex,
> because a collaborating activity is complex. I'd like to see also an
> activity example derived from SimpleActivity.
> The number of imports done by testactivity.py still seems high, and a
> SimpleActivity example may be able to reduce that.
> James Cameron
> Devel mailing list
> Devel en lists.laptop.org
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
More information about the olpc-Sur