Summary
We have been able to connect a consumer to a database to manage its information and reply with new rendered HTML structures that we have injected. Gradually, a very basic real-time social network has been built to insert messages, list them, filter them, update them, and delete them. The frontend has a simple role – handling events, sending data, and receiving HTML via WebSockets.
Currently, there are several limitations related to group discrimination. When an action is performed, it is propagated to all users, meaning all actions have an impact on all visitors at the same time. Basically, that’s a good thing that we want it to happen, but not in all flows. Do I want everyone to update their message listings when a new message is inserted? Yes, of course – and when editing or deleting. Although it should be avoided for certain actions that should be private. At the moment, if one user changes page, everyone changes page. That’s why we are going...