Relative Content

Tag Archive for mvc

MVC, when to separate controllers?

I’m starting with MVC and have a newbie question. What would be the logic criteria to define what a controller should encompass? For example, say a website has a ‘help’ section. In there, there are several options like: ‘about us’, ‘return instructions’, ‘contact us’, ’employment opportunities’. Each would then be accessed like ‘mysite.com/help/aboutus’, ‘mysite.com/help/returns’, ‘mysite.com/help/contactus’, etc.

ASP.NET MVC Controller separation best practices [closed]

It’s difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 12 years ago. I am very new in ASP.NET MVC and […]

Isn’t MVC anti OOP?

The main idea behind OOP is to unify data and behavior in a single entity – the object. In procedural programming there is data and separately algorithms modifying the data.