[sugar] [IAEP] Narrative.

Gary C Martin gary
Sat Oct 11 21:43:43 EDT 2008


On 12 Oct 2008, at 01:48, Wade Brainerd wrote:

> On the bad side, you can't run two Wikipedias because they will try  
> to bind webservers to the same port.  Also, if the user removes  
> Browse, Wikipedia will no longer run.
>
> These issues could best be solved by a sugar-webcontent-activity  
> package which is shipped by default.  It would contain the Browse  
> GUI classes plus a template Activity class.  It would also provide a  
> base WebServer class that takes care of finding an unused port and  
> binding to localhost.  Content bundles could use the template  
> Activity class as is without any Python code, or else could subclass  
> it (and optionally the WebServer class as well).

I'm sure I'm missing some obvious rainbow security issue here, but as  
an exercise in putting my foot in my mouth, could the Activity with  
the imbedded browse view not just access its files directly via  
file:// perhaps using some magic to give it the activities installed  
path location?

--Gary



More information about the Sugar-devel mailing list