In a past few years on different projects I faced with some architecture issue which now I realize have something in common.
Issue 1: There is Error container on the top of the screen which can show only one error message in a time. Different independent application components can push errors into it. The issue is that it's difficult to identify which error is more importand. Or error which comes last overwrite previous one and user even can't see it.
Issue 2: There is camera positioned over the map. Camera shows a specific part of the map with some angle. Again, different components can change camera position according to own needs. The issue is that two-three components can set own position of camera concurrently. Thus, final camera position could be unexpected. Also, due to asynchronization each time the position of different components can be applied.
Is there some architectural pattern which can solve such issue?
Aucun commentaire:
Enregistrer un commentaire