Answer the question
In order to leave comments, you need to log in
What should the core for multiuser browser applications consist of?
I'll start from afar. I took on my graduation project the development of a small application for the social network VKontakte. The application is multi-user, in the form of a quiz game, where users compete in knowledge by answering various questions.
But at the university they told me that this would be not enough for a diploma. And they asked me to develop a kernel for multi-user browser applications, and as an example for using this kernel, and do what I originally planned.
I can develop an application, but I don’t really know what this core should consist of? Maybe from a module for interacting with the database or methods for working with the VKontakte API? Or maybe something else?
Tell me, please, what, in your opinion, would you add to this ill-fated CORE?
Answer the question
In order to leave comments, you need to log in
The core of a multi-user system must contain mechanisms for user interaction. Here is the minimum set:
- Configuration mechanism
- User management module with the ability to add active and remove inactive ones with a custom timeout (depending on requirements).
- An event queue with a time synchronization model, possibly with delay compensation if the game involves realtime dynamics.
- The mechanism for exchanging server-user information, for example, on a websocket.
- Expansion mechanism: pluggable controllers to perform tasks, such as generating the world on the fly, calculating interactions, interacting with a contact, etc., etc.
UPD. I also advise you to look at third-party projects, for example express.io.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question