A place to breathe

Thursday, February 21, 2013

MVC design

MVC stands for Model View Controller.

in a nutshell:

Model - holds data
View - display data
Controller - modifies data in the Model

E.g When a user click button, it sends the buttonClicked event to Controller.
Controller check what is the button clicked, and decide what to do with the data in the Model.

The Model then gets updated, and thus displayed in the View.

Make sense?

No comments:

About Me

I'm currently a software engineer. My specific interest is games and networking. I'm running software company called Nusantara Software.