Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Jeevan,</p> <p>I think you're unfortunately following a train of thought that many developers new to MVC take insofar as you've been 'fed' a belief that the 'M' in mvc (model) is purely a linq2sql flat implementation and that's it for the model. Not so... in our apps we have to cater for a mixture of web/desktop and handheld devices all using various areas of common functionality within them. we therefore have created a 'BLL/DAL' dll with all our business logic that is referenced as the 'M' in our mvc apps. This same 'bll/dal' is used in our webforms apps as well as in our desktop apps. in one current app, we're hooking into an oracle backend with our bll/dal dll and using MVC purely as a RESTful service acting as an intermediary between two legacy systems. given the design of our bll/dal dll, we could just as easily switch that to sqlserver, should (as and when) the business require.</p> <p>so in a nutshell, the proposition of choosing MVC or 3 tier (and i actually think you are meaning layered, rather than tiered [which relates more to physical separation of functionality/services]) is totally a moot point as they are converging, rather than disparate technologies.</p> <p>hope this helps - i'll try to source some examples via mr google later today to exemplify the fullness of my approach.</p> <p><strong>[edit]</strong> - from a similar question here on SO; <em>N-tier just refers to the physical structure of an implementation. These two are sometimes confused because an MVC design is often implemented using an N-tier architecture.</em></p> <p><a href="https://stackoverflow.com/questions/698220/mvc-vs-n-tier-architecture">MVC Vs n-tier architecture</a></p> <p><strong><em>in a nutshell</em></strong>, one is object/API design, one is system architecture; both can live happily together.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload