So I was looking at this site which shows a pseudo project setup for entity framework. I know this article does not use MVC but it did get me thinking. Would you guys have your "model" tier to include all of the Entity Framework references, entities, business rules, repository facade, interfaces, buddy classes for validation, and the design model too? Feels a bit bloated. Would you extract any of that to an "Infastructure" tier?
A:
Only if I needed additional decoupling. There is a cost for creating new interfaces to establish new tiers.
If by tier you mean another machine, I certainly don't think you need that.
Within the model "tier" you can always provide additional namespaces, etc. to improve organization.
Robert Harvey
2009-09-10 14:43:31
By tier I meant logical tier so it would be through namespaces
RailRhoad
2009-09-10 15:20:57