What is MVC?
I've seen a some quick explanations of model viewer controller but without knowing what the actual code is actually doing between client/webserver/db/etc it's not sticking very well and i'm struggling to learn it properly. Anyone able to help me understand it better? 🙂
2 Replies
Microsoft
ASP.NET MVC Pattern | .NET
ASP.NET gives you a powerful, patterns-based way to build dynamic websites that follow the MVC design pattern. Build sites using HTML, CSS, JavaScript, and C#.
Model typicly also considers a seperate section for your domain logic though, where here it's somewhat in the controllers
But the idea is to have a controller that serves the view/datamodels
A model that is there to give you the data in a way the UI needs
and a view that shows that data