On Fri, May 27, 2011 at 1:13 PM, Nelson Silva <[email protected]> wrote: > Hi all, > > I've been going through the client side of Apache Wave basically > deconstructing Undercurrent and trying to come up with a very simple wave > client. > > I'd like to be able to use a different model as an exercise but I've found > out that most of the existing classes are really tied to the conversation > model. > > Has anyone created a very simple sample where the editor is working over a > very simple wave model ?
I basically took the Blip conversation model and removed everything I didn't need. In its simplest form, it only has "body" and "line" (without any attribute), with a special NodeEventHandler to prevent adding new <line/>s (you can still do so with copy/paste though); that way I have a "single paragraph" editor with only "annotation" markup (bold, italic, etc.) > The overall client architecture is really neat but for a newcomer like me > having a very simple sample with no stages based loader, view helpers, > etc... would definetly make it easier to get started. Have a look at the EditorHarness and WaveHarness (I actually didn't look at that one, only EditorHarness). For collaboration (sending operations to, receiving operations from a server) however, I don't know (and I haven't yet found where it's done either, but I'm more interested in the editor part of Wave so I didn't really search for it) -- Thomas Broyer /tɔ.ma.bʁwa.je/
