1

I m trying to understand Helix framework /Habitat project and I'm mapping the implementation with my current application. We got service layers(that calls web api or restful services) which get all business logic related data. Should we prefer adding such modules in foundation layer or create separate layer for this?

1

1 Answer 1

8

If it's used by a single feature, I would say it should be defined in that feature.

If it's used a by number of features, then a Foundation module is probably more appropriate.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.