Linked Questions

132 votes
7 answers
77k views

The Clean Architecture suggests to let a use case interactor call the actual implementation of the presenter (which is injected, following the DIP) to handle the response/display. However, I see ...
swahnee's user avatar
  • 1,455
6 votes
6 answers
1k views

There are a lot of questions and answers about what a/the model is. Particularly when discussing where business logic belongs and the MVC pattern. There seem to be two concepts that need to be severed....
MyiEye's user avatar
  • 243
3 votes
3 answers
2k views

If I write an application and decide to develop only a single graphical interface for it, and never intend to develop multiple GUIs, then by today's standards it is okay not to use the MVC pattern or ...
Henry Weinert's user avatar
5 votes
3 answers
5k views

I currently work on a hobby project which I use to learn more about Android/Java programming and programming in general. Recently, I decided to integrate jUnit into the project. Just getting it in ...
Namnodorel's user avatar
3 votes
3 answers
5k views

I'm just starting out using programming using the MVC design pattern, and I would like to know if I understood it correctly and where I should put certain things. So I understood that I should put ...
Samuel E.'s user avatar
  • 233
3 votes
2 answers
1k views

I am currently using MVP pattern to develop an android application. I have to implement pagination (i.e. on scrolling at the bottom of the RecyclerView I need to fetch new data). So what is the best ...
Sushant's user avatar
  • 143
5 votes
2 answers
376 views

Recently I debated with a colleague of mine about to the following issue: I claimed that it is not MVC sane and good practice to directly load a Model via Zend Framework's ViewHelper because it is a ...
Dimitoriosu Deshirasu's user avatar
0 votes
2 answers
466 views

At work, we are creating an android app. We have a business logic module for talking to an API for CRUD operations. The app I'm working on, the UI module, speaks to the business logic module to create,...
Thomas Cook's user avatar
1 vote
2 answers
613 views

In the Model-View-Controller pattern, I do understand the role of each component. The Model represents our application's domain model. The View presents this information and the controller ...
Dan's user avatar
  • 171
3 votes
1 answer
676 views

We are developing a REST application based on an MVC architecture. The service layer is returning Optional<T> where T could be any class. So on the controller layer there is a conditional ...
Mehraj Malik's user avatar
1 vote
3 answers
275 views

Normally an N-Layered application is structured as follows. User Interface layer Business Logic Layer Data Access Layer DAL contains objects (data containers) representing business entities. The BLL ...
EMN's user avatar
  • 795
-2 votes
3 answers
2k views

I need to know what types can be merged together like can I merge MVC and layered architecture? so please can someone list what types can be merged together, and an example on how to merge. Can I ...
Maroon Mark's user avatar
3 votes
1 answer
418 views

I’ve been trying to get a firm understanding of the MVC design pattern so that I can write my own framework for implementing the back-end of a forum web application using Slim 3. In particular, after ...
SneakyShrike's user avatar
1 vote
3 answers
208 views

I often have to write a function which may return an output of two kinds: "short" and "long". As an example, consider the subset sum problem: the input is a set of integers S and ...
Erel Segal-Halevi's user avatar
2 votes
1 answer
303 views

I am trying to figure out the best way to keep objects in memory without having them scattered everywhere within the code. For example: I have a PyQT menu system which interacts with objects. ...
e15purple's user avatar

15 30 50 per page