calculate Diff @ server, make DOM calls on client to reflect changes on mirror document also, how to

Gill Bates

Usenet Archive
Joined
Jun 19, 2003
Messages
12
Reaction score
0
so DOM calls should be calculated from Diff.

Possible?
How? (some URLs please)

I guess this is in most cases not very efficient, but here's why:

I have a data Document at the server.
From this document, views (HTML, SVG, GIF, etc) can be generated and sent to the client. These views contain Script that let them suggest changes to the Document at the server. If these are accepted, updates are sent to the views to reflect them.

Of course it would be ideal (for the user) to manually code an efficient function that reflects the update, for every kind of update and every kind of view. But the project would then not even come to a nice "proof of concept". Therefore first i want to implement these functions as mentioned above, making it easy to override them later.

Feedback is very welcome
 

Gill Bates

Usenet Archive
Joined
Jun 19, 2003
Messages
12
Reaction score
0
Log all events since t=0
If new view is opened, it is sent all events.
For speed up it can first keep view server-side and then sent the whole thing at once
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
548,042
Messages
3,104,223
Members
248,131
Latest member
Tonypshaw1

Latest Threads

Top