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

G

Gill Bates

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
 

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
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top