I do not know if it is a authentic structure that I have been taking part in with. It consists of nodejs servers for companies and to create internet app entrance ends. And it’s utilizing async messaging (Redis) to speak between companies. And
socket.io to implement full duplex comms between server and internet apps.
Thus far in my instance “inventory portfolio” app that is working as desired (easy implementation with contrived knowledge).
The aim of this structure is to be totally decoupled by means of the usage of messaging. The companies comply with some API / Protocol and may publish and subscribe to desired channels. Then this results in various implementations of companies and there will likely be some sort of dealer to handle these conditions. I am less than that.
I am caught on having a number of internet apps that exist inside or alongside one another. For instance there may be one that’s for managing the portfolio the place customers can enter in shares they personal. And one other that manages funds. And one other that shows knowledge for all these. And one other for graphs. The intention being that these are additionally loosely coupled.
In the mean time I’ve one React app that shows graphs from contrived knowledge (up to date dynamically and redraw by way of
How do I create such embedded internet apps that must be dynamic? If the online app server was identified about earlier than hand you then might add the url in an
<iframe. However the intention is that some service can be offering the online app and it ought to ship a message saying ‘right here is the url for my internet app’ that I wish to show.
Does this sound smart? What’s one of the best ways to attain the a number of internet apps? Are there any examples of this?
What about safety points (I’ve solely considered defining my very own companies and never permitting it open to the web; however I would wish to permit a extra flexibly generalised strategy)?