We are building a closed system using ASP.NET MVC. There are multiple touchpoints in this demo system, but all will be running browsers. All will be showing basically the same data, but the targets differ in several ways:
- Screen size and orientation. We have some at full HD, and others at 800x480. Some are portrait and some are landscape, but all are known and will not change.
- Because of this, the views will be fundamentally different, and will be designed that way.
My question is this: should I create a separate controller for each target type and page, or should the controller somehow interpret which target type and deliver the appropriate view? For example, should I do this:
TargetType1AccountController
TargetType1HomeController
TargetType2AccountController
TargetType2HomeController
or this:
AccountController/TargetType1View
AccountController/TargetType2View
HomeController/TargetType1View
HomeController/TargetType2View