<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 color="#ffffff" size="1">ᐧ</font></div>
</div>