1

I have read these answers by Izhaki and Artem Platonov on Understanding Design Patterns and have some questions about this approach. They might be trivial, but I need some answers.

The final answer by Itzhaki made it seem to me that Angularjs design pattern is kinda MVW (MODEL VIEW WHATEVER), but I think I still haven't got 'Model' fully.

View(DOM) -> Controller -> Service(Application login) -> Model(like resource)

If this pattern goes in this way, Where is Located all the information about the whole system?

For example: Assuming that we have some properties about a "game" such as number of players, number of groups, etc.

Where is all of this data being encapsulated?

With es6 JS, I was thinking about making a class called Game with its own properties;

Where do I need to locate this class?

2

0

Your Answer

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.