Senior Software Engineer at Noom, formerly Team Lead Engineering at XING. I intend to write about functional programming and occasionally some random engineering topic.
I've been using this generic structure, which I find works pretty well in practice in several languages and domains:
/common
/models (shared models are moved here)
/...
/feature1
/data
/models (optional folder, if project is too small, not worth it
/domain
/models
/presentation
/feature2
/data
/domain
/presentation
I've been using this generic structure, which I find works pretty well in practice in several languages and domains:
That's a good architecture too! :)