Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [mvp]

Model View Presenter is a Derivative of MVC, used for creating user interfaces.

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 (...
Иван Р's user avatar
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 ...
J. Lo's user avatar
  • 43
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, ...
Jan van Wijk's user avatar
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 ...
Fatal Error's user avatar
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 ...
PChemGuy's user avatar
  • 425
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 ...
Abc Def's user avatar
  • 51
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 ...
ArcherBird's user avatar
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 ...
Hayden Moss's user avatar
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 ...
JammoD's user avatar
  • 255
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 ...
IvenBach's user avatar
  • 3,487
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 ...
ostojan's user avatar
  • 151
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 ...
rupinderjeet's user avatar
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 ...
Danivin's user avatar
  • 93
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 ...
Tartar's user avatar
  • 153
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 ...
CallumDA's user avatar
  • 341

15 30 50 per page
1
2 3 4 5 6