Android-CleanArchitecture icon indicating copy to clipboard operation
Android-CleanArchitecture copied to clipboard

Any example of package by feature?

Open nilsi opened this issue 7 years ago • 2 comments

Hi,

As of my understanding theres another branch in the repo refactor-project-structure that aims for one module instead of three. Does it also implement package by feature? Having some problems wrapping my head around it.

What Im looking for is a clean architecture example that package by feature. Structured something like this: https://hackernoon.com/package-by-features-not-layers-2d076df1964d

It looks very intuitive to me, love the readability.

Thanks

nilsi avatar Jun 01 '17 08:06 nilsi

you may look at: https://github.com/android10/Android-CleanArchitecture/tree/core/refactor-project-structure and https://github.com/android10/Android-CleanArchitecture/pull/103

lenguyenthanh avatar Jun 01 '17 09:06 lenguyenthanh

Thanks, I looked at that before. Package by feature should "scream" the intent of the application and not the tools/frameworks used. That branch seems to have a mix between package by layer and by feature or I didn't understood the code there properly.

I found this project that looks pretty much like what I had in mind: https://github.com/esoxjem/MovieGuide

nilsi avatar Jun 04 '17 07:06 nilsi