2

From what I've read and understand MVCS (Model-View-Controller-Store) is a design pattern that lets you do the following:

View - Application view, what the user will see.
Controllers - Manages the views and calls the models.
Model - Business logic.
Stores - Calls to db for CRUD operations retrieving and putting data.

Now where should I put the domain in this design? By domain, I mean the actual classes that represents the objects from db for example a user. Should they be inside the model or in a different layer?

Adam Zuckerman
3,7251 gold badge21 silver badges27 bronze badges
asked Jul 24, 2015 at 21:45

1 Answer 1

3

Unless you come up with some specific code that changes my mind, I'm going to say that MVCS is just a slight variation on MVC that makes it clearer that the Business Domain lives in the Model, and is technically separate from the data Store. MVC just includes S (the data store) as part of the Model, but the business domain always lives there.

answered Jul 24, 2015 at 22:50

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.