Questions tagged [mvp]
Model View Presenter is a Derivative of MVC, used for creating user interfaces.
75 questions
2
votes
1
answer
627
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
234
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
478
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
134
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
69
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 ...
30
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
145
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
224
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
467
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
466
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
482
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 ...
4
votes
2
answers
748
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 ...
2
votes
0
answers
1k
views
Is this how to implement MVP and ICommand patterns in WinForms?
I'm learning about the MVP and ICommand design patterns as I'd like to use them in my own projects. I've cobbled this very simple WinForm application together to hopefully demonstrate that I'm using ...
2
votes
0
answers
69
views
Filter results on response
I call remote server to get my result. Result might contain artist,track and album depends on API method but there will be only one response (artist or track or album) at a time. It mean the other two ...