Hello, I have a decent grasp on how things work in the backend, I developed a plugin, and I can see how the MVC pattern is identified in the backend. What for me is a bit blurred is the frontend side of things and what would be best practices for it.
Is it correct to assume that the Code Part of the frontend Pages are acting as controllers? Because the only other way I see to develop a bit of logic in the frontend is to develop a component.. but I don't need/want to develop a component for each single query or piece of logic that is in the frontend.. it seems a bit exaggerated.
So , here's my question: where do you actually develop your logic in the frontend? By logic I mean for example, saving data using Models according to Post variables, validated by some Rules etc... I hope my question is clear enough...