All Questions
13 questions
2
votes
0
answers
254
views
Is MVC an overkill for a chess CLI game?
I am working on a CLI chess game that only involves 2 human players, I decided to make it follow the MVC architecture to ensure separation of concern and to make the possibility of a GUI/web ...
2
votes
1
answer
120
views
MVC pattern in my Repair Shop application
I am currently learning Java programing by building real life business application for repair shops. I am posting this code so I can get critical review, and change my application architecture if ...
1
vote
1
answer
315
views
Control class for an entity
For a Student object in the package entity, I have a control.studentpackage with classes ...
2
votes
2
answers
859
views
Replacing an application service class with multiple command handlers
I have a Controller which uses an application service to accomplish its tasks. The service class is starting to grow big and developing multiple dependencies. So I am thinking of replacing the single ...
4
votes
1
answer
1k
views
Communication between View and Controller in MVC implementation
I'm working on a moderately complicated (not super basic, but not a feat of programming strength) project to create a virtual tabletop for a tabletop game I play. I'm trying to conform to good design ...
3
votes
1
answer
2k
views
Swing MVC and Command Pattern
I am writing an application with Java 8 using NetBeans, and want some reassurance that I am going the correct way with this.
I am finding it tough because of the use of Swing.
I have gone for one ...
3
votes
1
answer
2k
views
Implementation of MVC pattern with paintComponent method
Could someone review my code, with respect to OOP, clean code and MVC pattern?
Main app:
...
10
votes
1
answer
1k
views
Markup calculator application using MVC
I want to make sure that the code is correct in terms of its design, code correctness, best practices & Junit testing.
The complete description is given below:
Functioning of the app quickly ...
3
votes
1
answer
3k
views
Java MVC pattern
I recently posted a question about modeling a system that contains elements that can perform actions (here). The model runs in cycles and parts perform their action every cycle. The model should have ...
3
votes
1
answer
2k
views
TicTacToe - introduction to MVC pattern
After reading about MVC pattern in Head First Design Patterns, I've decided to write a TicTacToe app.
I will not reveal the source code of the classes Matrix, <...
5
votes
1
answer
306
views
First introduction to MVC
I'm not sure that I fully understand this pattern. I've written a simple application that uses MVC. Please criticize my approach to the use of this pattern. For convenience, I'll post the source code ...
1
vote
1
answer
333
views
Encapsulating this List<Message> properly
I know that Swing isn't true MVC:
Using this modified MVC helps to more completely decouple the model
from the view.
Leaving aside the veracity of the above claim, the problem I run into is that I ...
4
votes
2
answers
4k
views
MVC Controller in Java Swing Apps - Singleton or public static
This article has left me a little confused.
In explaining a method on how to design MVC into Java Swing apps the author defines the controller class as Singleton and relays a series of calls to the ...