Worst of all, when you are working on a single-person project, this is the lack of information that you usually get from your colleagues. And due to the lack of this, you tend to make obvious mistakes.
Having caught this road for some time, I will need help from the community.
I started a small project home <brew, which should turn into some kind of portal. And the main thing that bothers me is the save layer I came up with. It should be completely separate from the starter view level, and OR-mapper is also located somewhere. This is because I have several data stores that I need to use.
Thus, the main idea was that separate βrepositoriesβ each work in their own separate database and that the business layer then combines the business objects, which are then converted into view objects in the view layer.
The main problem I am facing is the following:
Multiple classes for the same concept . There is a user DAL representation and a user BL representation and a user representation representation. I can handle the conversion with a tool, but this is really the right way. I mean, they are all perfectly separated, but overhead is something.
What do you think? Am I too deeply going into the separation of anxiety for a rabbit hole or is this still normal?
architecture separation-of-concerns
Dejan
source share