(no title)
gbadman | 12 years ago
As a user of ShareJS (for the real-time collaboration on Plunker [2]), I can see some interesting benefits offered by TogetherJS; the system has cursor and presence features out of the box.
That being said, the main drawback that I see in TogetherJS is that it seems to be tightly coupled in a way that it is hard to take smaller parts of the overall system. It would be great if the P2P network system could be extracted and plugged into a node.js Stream interface. That would allow the code to plug into a whole ecosystem of interesting libraries [3].
I'm really excited by all the powerful libraries that Mozilla has been pumping out these days. The web is a great place to be.
[1] https://github.com/firebase/firepad
[2] http://plnkr.co/edit/?p=streamer&s=TogetherJS (Demo)
[3] https://github.com/substack/stream-handbook#introduction
ianb|12 years ago
Still, ignoring persistence I think will help keep the surface area of the TogetherJS smaller compared to some other tools. Or at least focused on other things.
People have mentioned the idea of being able to chop TogetherJS up before, but I have a hard time seeing how that would actually work. For instance, the architecture is built around a pretty dumb server, so hooking into Streams would seem counter to that principle. And just allowing for the possibility would add a lot of complexity. Ultimately the UI is actually the bulk of what makes up the TogetherJS code (or maybe it's the part I find hard and so I feel like I spend a lot of time with it), and I don't know how to make this kind of UI while being modular. Without the UI I don't think it's nearly as compelling a project (becomes more like ShareJS, or Firebase, or Google Drive Realtime API – neat but a big investment, and sometimes only appropriate for greenfield projects.
Anyway, I'm certainly interested in how people want to extend or integrate with TogetherJS. I'm skeptical of splitting it up into pieces, as it is theoretically easier to do things that way, but I expect in practice it will just leave a confusing pile of pieces that aren't fun to put back together. But that doesn't mean that there aren't use cases worth exploring... and with some creativity there might be other approaches to handling those cases.
KaoruAoiShiho|12 years ago
mbreese|12 years ago
I'm fairly sure the Firebase requires a server too... (their server, or else they couldn't charge for it).
[1] https://togetherjs.com/docs/#technology-overview
ianb|12 years ago
deliminator|12 years ago
meowface|12 years ago
So, like a collaborative Markdown document editor, as well as a simple way to store those documents and choose them for reading/editing later.
gbadman|12 years ago
In the absence of an html index, the plunker preview server will try transpiling to html from different languages. Markdown is currently supported.
Also transpiled are things like less, scss, coffee-script and more. Essentially, your html requests a file with the target suffix (e.g.: .css) and the preview server will search for compatible source files to transpile to that target.
[1] http://plnkr.co/edit/?p=streamer&s=markdown
mburns|12 years ago
jamest|12 years ago
leephillips|12 years ago
jeswin|12 years ago