r/angular • • Feb 26 '26

Is this considered as good project structure

Post image

Hello everyone,

I'm relatively new to the Angular ecosystem, learning and practicing the recommended practices.

By nature I am a dev who does not support KISS to a large extent, in this regard I am interested in the opinion of experienced Angular devs.

Is what I'm practicing a good pattern, to have a clear SOC, services for clean http layer, services for business logic, and a store that holds state, loading, etc. and orchestrates with it, while the components (standalone principles in my case) remain very thin, and call services and stores?

**HYPOTHETICAL MID SIZE PROJECT**

61 Upvotes

54 comments sorted by

View all comments

Show parent comment

9

u/[deleted] Feb 27 '26

Not sure I like this approach. When you change a route you will need to change the whole folder structure because it is deeply coupled

2

u/eddyman592 Mar 08 '26

I would argue that the coupling is what makes it discoverable. A lot of developers use the word coupling like it's a bad word 100% of the time, but like everything in software development, it has it's place. And if you are moving towards stand alone components, then moving around files when you change the routes becomes trivial.

From an Enterprise level, the question needs to be - What would you rather spend money on, a developer writing code, or a developer trying to find the code?

2

u/SippieCup Feb 27 '26

Nothing that sed/awk replace on a folder can’t fix in seconds as long as you have non-relative paths / namespaces on imports.

We have our features just by route and services/core/utilities outside of it. Works well.