Message from JavaScript discussions

September 2020

β€” They are, more abstract.. controller that routes, right


Terrible naming, and completely wrong if you compare it to the classical meaning of "controller" from MVC

β€” Controller handles event(s)

β€” If controller is small, it is called presenter🀀 MVC => MVP

β€” Specifically user inputs, not just events

β€” Events can come from anywhere

β€” That's an even worse name

β€” Any event handler code is a controller code

β€” Not true

β€” Why not.. so you group controller code into some file/block/object and it becomes Controller (you separate the concern)

Message permanent page

β€” What

β€” Controller is a thing that takes USER input and uses it to manipulate a model