<div dir="ltr"><div>> <span style="font-family:arial,sans-serif;font-size:13px">If I remember correctly Emil also agreed that the new framework should be independent from telepathy</span></div><div><br></div>It seems there were two separate threads of the same name:<div>
<br></div><div>1 - <a href="http://lists.sugarlabs.org/archive/sugar-devel/2014-January/046687.html" target="_blank">http://lists.sugarlabs.org/archive/sugar-devel/2014-January/046687.html</a></div>
<div>2 - <a href="http://lists.sugarlabs.org/archive/sugar-devel/2014-January/046773.html" target="_blank">http://lists.sugarlabs.org/archive/sugar-devel/2014-January/046773.html</a></div><div><br></div><div>and I just read the first one >_<</div>
<div><br></div><div>Anyway, it's good to see that we don't want to use telepathy for this. So, I'll go ahead and take a look at Emil's code and run it. Will reply back at this thread soon.</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Sun, Mar 9, 2014 at 4:42 PM, Daniel Narvaez <span dir="ltr"><<a href="mailto:dwnarvaez@gmail.com" target="_blank">dwnarvaez@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">If I remember correctly Emil also agreed that the new framework should be independent from telepathy at some point and even worked on it.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div>
<div class="h5">On 9 March 2014 06:45, Prasoon Shukla <span dir="ltr"><<a href="mailto:prasoon92.iitr@gmail.com" target="_blank">prasoon92.iitr@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi Sam. Sorry for the late response but I was occupied with academics.<div>
<br></div><div>Anyway, I need to bother you again with some questions.<div>
<br></div><div>So, I went through the thread by Emil Dudev and read the arguments he made in favour of not using the mozilla node server and using telepathy instead. To that, dnarvaez said that using the node server might be a better idea since the current protocol is very unstable.</div>
<div><br></div><div>Now, I am somewhat familiar with sugar codebase but certainly not enough to actually discuss the merits or demerits of either of these approaches (although personally, I like better the idea of all communication happening over websocket via a node server). So, the final decision on which approach to take will be in the hands of those more experienced. But as I said before, I would prefer it if we use the websocket protocol to have this kind of architecture:</div>
<div><br></div><div><font face="courier new, monospace">|Sugar Web Activity| <-----> |Sugar Shell|</font></div><div><font face="courier new, monospace"> \</font></div><div><font face="courier new, monospace"> \</font></div>
<div><font face="courier new, monospace"> websocket </font></div><div><font face="courier new, monospace"> \</font></div><div><font face="courier new, monospace">|Node Server|</font></div><div><font face="courier new, monospace"> /</font></div>
<div><font face="courier new, monospace"> /</font></div><div><font face="courier new, monospace"> /</font></div><div><span style="font-family:'courier new',monospace">|Sugar Web Activity| <-----> |Sugar Shell|</span><br>
</div><div><br></div><div>instead of the usual telepathy based communication. This I would like because:</div><div>1. We'll be able to use the mozilla server with modifications as needed.</div><div>2. We'll be able to use the <i>huge</i> node.js ecosystem for realtime communication in any way we want! And, websocket is very versatile - we can send pretty much any binary data over the network.</div>
<div><br></div><div>Also, I've worked with node before and found the communication to be quite reliable (which it is not with the current XMPP based protocol, if I understood dnarvaez correctly). That said, I've only tested out my node based work with a handful of people, so...</div>
<div><br></div><div>The only downside is the need to have a node server running. For the case when there is not internet connectivity, I think we can make a set of scripts that can be called to run a node server on the one of the machines, say that of the teacher, and all others will connect to it. And of course, this process needs to be simple.</div>
<div><br></div><div>Anyway, it just seems right to me to augment JS activities with a JS based collaboration framework. But of course, I don't really know the details all too well to be making the decision here.</div>
<div><br></div><div>So, can you please comment on this? Once this decision is made, I can start working on my application.</div></div><div><br></div><div>Thanks</div><div hspace="streak-pt-mark" style="max-height:1px"><img style="width:0px;max-height:0px" src="https://mailfoogae.appspot.com/t?sender=acHJhc29vbjkyLmlpdHJAZ21haWwuY29t&type=zerocontent&guid=ff0d789a-7d36-4c59-8faa-30f905380a75"><font size="1" color="#ffffff">ᐧ</font></div>
</div>
<br></div></div><div class="">_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
<br></div></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br>Daniel Narvaez<br>
</font></span></div>
</blockquote></div><br></div>