I did a quick port of sharejs's text ot stuff to Dart. I just wanted to get the feel of the language so i tried to move most to futures and exceptions thus removing callbacks.
I'd like to refactor the code to reuse as much as possible between the client and the server, stuff like the doc class and the opSink could easily be shared.
I also need to rethink the dtos since i just created them as needed.
I hope some of you find this interesting:
https://github.com/nelsonsilva/dart-share/