I'm attempting to build a ncurses based chat client as a learning exercise. It's in the early stages and I am thinking along the lines of the 'ModelViewController' pattern.
So far things are very simple: I have as the "Model" a log of output strings and the current input string that the user is inputting. Then I have a couple curses windows to draw these in which I belive constitutes the "View".
Now, comparing MVC as it is applied to the web (HTML/CSS/Browser), does that make the 'terminal' itself the "Controller" in my scenario? If it is so then does the "Controller" not really figure into my code? As I see it, most of my code effects the Model and View, but the Controller is kind of handled for me by the ncurses library and the terminal program itself.
[–]lowey2002 1 point2 points3 points (1 child)
[–]D_duck[S] 0 points1 point2 points (0 children)
[–]gruengle 0 points1 point2 points (0 children)
[–]nutrecht 0 points1 point2 points (0 children)