On 24/03/15 13:49, Yuri Z wrote:
3. Re-think how we should solve the tight coupling/great complexity of
client-server protocol. Maybe we should split the Wiab project into two
parts server and client - where server will depend on compiled javascript
client.
Might it be better to have three "parts"?
 - common
 - server
 - client

Common would contain the document and concurrency model etc. Client and Server would both depend on Common. Common would compile to JS for the Client, but Server would depend directly on Common so wouldn't need to depend on the compiled javascript.

I'm not particularly familiar with the codebase, but I think there is already an implicit assumption of these three parts - although at the moment they are somewhat(!) interwoven in the same codebase.

Dave

ps - separating the document model and the concurrency model might also be beneficial, but that looks like a bigger piece of work - and could always be "stage 2".

Reply via email to