I was following this thread and tried generating javascript for
DocOpBuilder.java.In my entry point class from onModuleLoad method I
added
createDocOpBuilder=function()
{
var
[email protected]::createDocOpBuilder()
();Lorg/waveprotocol/wave/model/document/operation/impl/DocOpBuilder;
return docOp;
}
retain= function(docOp,ret) {
[email protected]::retain(Lorg/waveprotocol/
wave/model/document/operation/impl/DocOpBuilder;I)(docOp,ret);
}
This worked.But my question is
1. Am I supposed to place the required method calls of the classes
like Transformer , ProtocolDocumentOperation.java manually.Are am I
missing something totally?.
Thanks,
Krithi
On Mar 5, 1:10 pm, Brett Morgan <[email protected]> wrote:
> If you are applying client side generated edits directly to the client local
> document, then yes you will need transform on both client and server.
>
> If I recall correctly, the current FedOne client doesn't need to do
> tranformation because it submits edit to the server and lets the server side
> sort it all out.
>
>
>
> On Fri, Mar 5, 2010 at 6:28 PM, sarv <[email protected]> wrote:
> > Ian,
>
> > Thanks for a prompt and useful reply.
>
> > My another question is: will transform() happen on the client or only
> > compose()? or both?
> > A simple example or pointer to any article/documentation/thread
> > containing details about client-side OT would be great .
>
> > Thanks,
> > Sarv
>
> > On Mar 5, 2:55 am, Ian Roughley <[email protected]> wrote:
> > > It's important that you compile Google's OT code in GWT and utilize that,
> > otherwise the OT's will
> > > diverge and no good will come :-)
>
> > > PS use the beta compiler
>
> > > /Ian
>
> > > sarv wrote:
> > > > Hi,
>
> > > > I am trying to understand the whole Wave model here and i am stuck
> > > > with the question of how OT (implementation) is done on the client
> > > > side.
>
> > > > Should we implement the entire OT in JS if I were to use JS on the
> > > > client side?
> > > > Should i use GWT to compile the whole google's java OT sources to JS?
> > > > Or any other technology to run OTs on the client?
>
> > > > Please help me in this regard.
>
> > > > Thanks in advance
>
> > > > -Sarv-
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Wave Protocol" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<wave-protocol%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/wave-protocol?hl=en.
>
> --
> Brett Morganhttp://www.google.com/profiles/brett.morgan
--
You received this message because you are subscribed to the Google Groups "Wave
Protocol" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/wave-protocol?hl=en.