Questions tagged [mvc]
Model–View–Controller (MVC) is a design pattern for computer user interfaces that divides an application into three areas of responsibility. It is often applied to websites.
532 questions
0
votes
0
answers
23
views
PathFinding.java: controller in MVC
Intro
This time, I need to get reviewed the controller class (from MVC pattern) responsible for user interaction with the 2D grid graph.
Code
...
5
votes
1
answer
317
views
PathFinding.java: The grid view and model
Motivation
I am really fond of qiao/PathFinding.js, and, so, I decided to start to do something similar (PathFinding.java). Also, this time, I am wishing to practice some MVC-patterns. It would seem ...
2
votes
1
answer
106
views
Show a list of downloads
I've been working on a Swift project that involves a seedbox app for my NAS, and I would appreciate some feedback on the code structure and especially on the placement of my observer. I've implemented ...
2
votes
2
answers
123
views
Add category section and save in database in admin section with java and javafx using mvc
As I newbie in (java and MVC), I want to know if I understand MVC using java.
My concern is that some of the calls of the class are in the wrong place or, for example, I should have used the interface ...
0
votes
1
answer
58
views
MVC Pattern - Need to include services file or not?
I am refactoring an old project, made in Nodejs with Express, applying the MVC pattern, today it is a fairly simple project: handling of the FCM and Remote Config tools from Firebase.
Would it be ...
4
votes
1
answer
135
views
Simple Python MVC app for incrementing numbers using buttons
Intro:
I am learning about the model view controller (MVC) architecture and I am looking for feedback from more experienced/knowledgeable people so I can check if my understanding is sound, and learn ...
6
votes
4
answers
307
views
2-Player Chess in WinForms V.2 (With Separation of Concerns)
Introduction
After getting initial feedback on my first working version of this Chess WinForms game here, I have used the suggestions and comments from there to come up with this new version, trying ...
0
votes
0
answers
755
views
Space invaders in java swing
I am not really proud of the final project design. Whenever I try following MVC I get lost and in the end a lot of code doesnt end up where it should be. I am also wondering if am I overusing private ...
2
votes
1
answer
196
views
MVVM pattern in Swift
I've been coding for some time now and since I am working alone I'm not strict in my coding structure approach(bad idea) and was only focused on getting things done which resulted in MVC(MASSIVE-View-...
4
votes
1
answer
264
views
Multithreaded MVC game engine
This is an attempt at a multithreaded model-view-controller based engine for 2d console games (board games, roguelikes that sort of thing.) The code below will provide a fully working example but is ...
4
votes
2
answers
260
views
Java Sound GUI using MVC model
I have made a Java Swing application that detects and displays audio pitch and level from an input (e.g microphone). I would like feedback on the current structure of my project, I'm attempting to ...
1
vote
1
answer
363
views
Index.php automatic router for custom MVC
In house we have been building our own MVC framework. One of the things that was important in the project was to not have to add routes manually but instead have a standard and let the index ...
3
votes
1
answer
188
views
JavaFX CRUD app for rescue animals
I'm fairly new to Java, and I've been working on the following program. It's a basic CRUD app utilizing JavaFX and MVC design pattern. I'm seeking advice because the class I took on Java only covered ...
2
votes
0
answers
270
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
2
answers
348
views
Tic-Tac-Toe vanilla JS Pseudo OOP
I'm working on building a simple game in vanilla JS (tic-tac-toe). Some weeks ago I created a functional MVP and asked some questions about it (Vanilla JS Tic-Tac-Toe). The code worked, but it was a ...