Sugarize Scratch

Registered by Caroline

It would be great to have Scratch "sugarized" so that we'd be for example able to save to the Journal.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

bertf has provided some status information how to realize this.

---

basically all a Squeak programmer needs to do is load the DBus bindings, make sure the DBus plugin is in the VM directory, and then she can send and receive messages via DBus. This is all that's needed to talk to Sugar:

http://www.squeaksource.com/dbus.html

The actual code to save a file in the datastore and retrieve it is rather simple. The documentation is here:

http://wiki.laptop.org/go/Low-level_Activity_API#Datastore

And an admittedly simplified example is here:

http://lists.squeakland.org/pipermail/etoys-dev/2009-January/002912.html

A more complete one:

http://wiki.squeakland.org/display/sq/Saving+to+a+file+in+Sugar

Though this still does not hook into the regular keep/resume activity live cycle. Milan was trying add that to the Squeak-based FreeCell activity, though his code is rather rough still:

http://lists.squeakland.org/pipermail/etoys-dev/2009-July/003353.html

I'd be happy to help, I did this for Etoys and it works quite well. Preferably ask questions on the etoys-dev list:

http://lists.squeakland.org/mailman/listinfo/etoys-dev

because there are more Squeak programmers interested in the Sugar / Journal interactions than just Scratch folks :)

- Bert -

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.