This page contains an archived post to the Java Answers Forum made prior to February 25, 2002.
If you wish to participate in discussions, please visit the new
Artima Forums.
Message:
MVC paradigm - what is it?
Posted by Monte Gardner on January 23, 2001 at 12:49 PM
> > Please look at the Model-View-Controller pattern. It is a design > > pattern commonly used for separating presentation from business > > logic. > > Sunitha I don't think I really understand this MVC stuff. Here's an example. I have a gameBoard class that simulates the internal workings for a game of tic-tac toe. this class has no interface, or input and output itself. I have a TTT class that provides all the visual GUI stuff for a game of Tic-Tac Toe. It calls the methods of the gameboard class to actually run the game. Is this a good design, or would it be better to have these both in the same class since they both have to do with the same object. also, Is there a web-site tutorial on MVC?
Replies:
- MVC Ameer Hussain May 23, 2001 at 1:27 AM
(0)
|