▲ | sunir 3 days ago | |||||||
The controller is meant to be handling things like keyboard events or http events. That’s the boundary to the user. The thinner the better. I don’t know why you think this is a combative conversation where I need will to accept or reject anything. I lack understanding of how you would solve the same problem. Throwing chaffe is not communication. It creates a second problem beyond the one we are discussing. How does the model handle authentication without having to become aware of boundary protocols? How the user authenticates is part of the input to the system. Eg http basic or oauth I don’t know how you handle routing. Do you put that in the model as well? | ||||||||
▲ | mpweiher 3 days ago | parent [-] | |||||||
> I don’t know why you think this is a combative conversation where I need will to accept or reject anything. You replied to my post, contradicting me. ¯\_(ツ)_/¯ > The controller is meant to be handling things like keyboard events or http events. That’s the boundary to the user. You keep repeating this, it keeps not being true in MVC. > I lack understanding of how you would solve the same problem. I described how I would solve the problem. > How does the model handle authentication without having to become aware of boundary protocols? It gets passed required information. Just like it gets passed other information. > I don’t know how you handle routing. I personally handle it by having in-process REST available in my language. So I don't have to translate from URIs to methods before I reach the model. You might have mentioned before that you are talking explicitly about web programming, where the concept drift from actual MVC to what is called MVC nowadays is even greater than in GUI programming. MVC as described by Trygve is for GUI programming. | ||||||||
|