[Sugar-devel] HTML activities

Daniel Narvaez dwnarvaez at gmail.com
Wed Jan 30 09:55:22 EST 2013


On Wednesday, 30 January 2013, Manuel Quiñones wrote:

> Impressive investigation, guys,
>
> 2013/1/29 Daniel Narvaez <dwnarvaez at gmail.com <javascript:;>>:
> > On 28 January 2013 19:11, Simon Schampijer <simon at schampijer.de<javascript:;>>
> wrote:
> >> I added as well an example for dbus methods, you can delete DS entries
> now
> >> :) http://dev.laptop.org/~erikos/html-activity/
> >
> > I used this to implement static files serving. Luckily the shell
> > already had a GetBundlePath method we can use.
>
> For serving static files you can use node-static.
>
> https://npmjs.org/package/node-static
>
>
Yup, that's what we are using now. Nice and simple.


> >
> > If you rebuild the sugar-build html branch, you should have basic
> > bundle files serving working. Now we can start adding more interesting
> > features I guess.
>
> Wee :)  For collaboration, node's socket.io can be useful.
>
> https://npmjs.org/package/socket.io
>


Good idea. This could also be useful internally when bridging to the dbus
API. For methods http is probably enough but not for signals.


-- 
Daniel Narvaez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130130/1117b24e/attachment.html>


More information about the Sugar-devel mailing list