asp.net mvc - main purpose of using mvc -


Recently, there was some research / reading / reading in MVC and wondering what its main purpose was.

  1. Say something different than HTML as something like this
  2. < Li> Or to create clean url

I can disappear completely, but asp.net forms actually separates logic from HTML and if you just want to clear url So why not use the mod_rewrite rule?

  • Business logic ( m odd) code that follows all the cruel powers behind the scenes Works; Working with databases, doing big calculations; And
  • User Interface Logic ( V iew) code that presents information to your users in a beautiful way.

is for the C intranler - the ligaments binding to the bones of the model and the muscles of the model and they interact with each other Allow to communicate.

You are right that 'normal' uses the ASP.x-back-up files so that the page can be kept separate from the markup code which generates that markup (as opposed to languages ​​like PHP, where The code is directly embedded within the HTML), but MVC ASP.Net has encouraged further separation in the methods described above.

Take a look for a more detailed discussion of the patterns Also take a look at


MVC pattern has nothing to do with rewriting the URL. ASP.net MVC can make this easy, but it is not its main purpose in any way.


Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -