model view controller - How MVC (ASP.NET MVC) band 3-tier architecture can work together? -


I am writing a design document and the people of my team are ready to go from ASP.NET webform to ASP.NET . MVC It's great, but I have a hard time understanding how MVC works in a 3-level (data layer, business layer and presentation level) architecture, can we say that models, views and controllers are part of the presentation layer? Is the model of business layers part?

In short, how can MVC and 3-tier architectures work together? Thanks for the help!

I consider to keep ASP.NET MVC in the presentation layer. This uses the "model" class to actually see the model, which describes the data structure needed for your ideas. Your business logic and data access should remain separate from your MVC models and controllers.

In addition to this, the usual "Best Practice" for MVC is to keep the controlling code as simple as possible, which usually means launching some heavy loads for the application service in your business layer. .


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -