Questions tagged [mvp]
Model View Presenter is a Derivative of MVC, used for creating user interfaces.
77
questions
0
votes
0
answers
39
views
Is the MVP architecture correctly organized in an FXML JavaFX project?
As far as I understand, when creating a project using the FXML JavaFX Maven Archetype, the project is initially designed with the MVC pattern. However, I wanted to convert it to the MVP architecture (...
2
votes
1
answer
569
views
Model-View-Presenter (MVP) pattern implementation
To learn more about design patterns, particularly the Model-View-Presenter (MVP) pattern, I am currently creating a CLI weight tracker application in Python. I would like you to review the code to ...
3
votes
1
answer
203
views
Implementing Model-View-Presenter in a console program [closed]
I'm designing a board game with my wife, and am writing a console based program that can track and analyze the statistics of playtests to see if the game is balanced, what the dominant strategies are, ...
2
votes
1
answer
454
views
Login authentication using MVP pattern
How can I improve my login script and is there a cleaner way to get the same result? I had this project and redesigned it using MVP patten . Working with this patten is a new challenge for me. It's ...
1
vote
1
answer
105
views
ContactEditor - Excel VBA db app: Storage Library and MVP
In the previous post, I presented my Storage Library. Here, I would like to focus on the integration of the library with the MVP component.
Functional class mapping
First of all, the figure shows a ...
5
votes
0
answers
61
views
Fragment of code with Android MVP that checks login credentials via REST API
I'm learning MVP for Android and am wondering if that piece of code that I wrote is correct in terms of this pattern or maybe is completely messed up.
I'm wondering if there can be return type other ...
29
votes
0
answers
1k
views
Pacman implemented in OOP VBA
What?, Why?
I have been inspired by several other posts on the topic of OOP implementations in VBA to try and create a Pacman clone. I think this task is not all that hard in most languages; but, I ...
6
votes
0
answers
129
views
An over-the-top approach to data entry
My goal: to make the already easy task of filling out an excel sheet 1% easier by putting in hours and hours of effort. On a more serious note, I'm currently developing a system to manage inventory at ...
5
votes
0
answers
208
views
Winforms MVP Validation
I have a Winforms MVP application where I need to use the ErrorProvider on the view. I have added the following methods to my presenter to allow me to show the ErrorProvider but it just doesn't feel ...
8
votes
1
answer
449
views
Free body diagram generator using MVP for VBA
Based on my understanding of Model View Presenter (MVP) I have it generate a diagram. Is this a correct implementation of MVP?
What deficiencies are there in my implementation?
UI
Generated diagram
...
3
votes
0
answers
448
views
Timer application in MVP
I create simple Android timer application and I try to use MVP design pattern. I read some tutorials and after that I started writing code. My code is working correctly and as intended. There is ...
2
votes
1
answer
456
views
About handling data from an API call through RX and Retrofit
I started using Retrofit and RxJava recently and I love it. I am working on an Android project and I am following MVP Repository pattern as specified in Android Architecture Components. I'm still ...
9
votes
1
answer
2k
views
MVP Passive-View
First of all, I'm really new to the MVP design pattern (Passive-View) and I've been trying to implement it in a WinForms application.
Before I'm going any further, I'd be very happy if you guys can ...
1
vote
0
answers
1k
views
Using Asynctask with MVP architectural pattern
I am working on a simple android app to learn MVP. I am using synchronous OkHttp with AsyncTask for retrieving data from a REST ...
4
votes
2
answers
714
views
Simple MVP Name-Finder
I've recently learnt about the Model-View-Presenter architectural pattern and I wanted to give it a go with a simple VBA project.
The aim is to retrieve a person's name from a UserForm.
The ...