ASP.NET MVC - First Impressions
Another item on my Tech ToDo is MVC Frameworks. I have been meaning to get in to MVC frameworks for ASP.NET pretty much since I first heard of them so it has been great to finally get a chance to sit down and have a tinker. What is MVC? MVC stands for Model View Controller – it’s a software design pattern that aims to separate the concerns of: The Presentation of the Data (The View) How the data needs to be viewed should not impact any other code. Code should take the data and then build its own representation based purely on that. For example, if we had an awesome Philly steak and cheese sandwich, we could present it in a number of ways - we could have a photo, we could have a video of someone chowing down on it, or we could just put how it makes us feel on plane banner. What changes about the actual sandwich? Nothing. Presentation changes should not require changes in the data. The Data Itself (The Model) The model is basically the heart of the data. This is where we...