-
Notifications
You must be signed in to change notification settings - Fork 546
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"MVC" used in introduction #97
Comments
In a nutshell, the classic MVC architecture works like this. There is a model that is at the heart of the whole thing. If the model changes, it notifies its observers that a change occurred. The view is the stuff you can see and the view observes the model. When the view is notified that the model has changed, the view changes its appearance. The user can interact with the view (e.g. clicking stuff) but the view doesn’t know what to do. So the view tells the controller(This is the C) what the user did and assumes the controller knows what to do. The controller appropriately changes the model. And around and around it goes. |
thanks for clarification, but in the text above are only model and views, where is the controller? |
@Gamadril Yes, I think you're right. Correct me if I'm wrong. |
I agree with @Gamadril . |
Started with redux by looking at your tutorial. Thanks for sharing.
I have a question regarding the introduction:
Where is the "C" in "classic MVC" in that chain?
The text was updated successfully, but these errors were encountered: