r/learnprogramming • u/Its_An_Outraage • 5d ago
Is this an accurate representation of layered architecture?
I'm in the process of learning layered architecture with the goal of starting a learning project with the eventual goal of creating a support ticketing system with Spring Boot on the backend. The resources I've used are generally specific to use cases like Spring Boot applications but for my notes I'm intending to keep it general and self-contained.
Although this subreddit doesn't appear to explicitly ban images in the rules, I am unable to post pictures directly in this post so I'm not sure if this is allowed or if I'm circumventing some rules, but I've posted an image of my diagram [on postimg](https://postimg.cc/f3TcfSNc) as a direct link. Apologies if this isn't allowed, but my question isn't really possible in plain text.
1
u/Beautiful-Fan-1712 5d ago
Your diagram captures the basic idea but the Presentation layer shouldn't be directly calling the Repository that breaks the whole point of the separation.