Mvc pattern, DOT NET Programming

Assignment Help:

What is MVC pattern?

The main purpose  of using  the MVC pattern is to decouple the GUI from the Data. It also gives the ability to provide multiple views for the same Data. The  MVC pattern separates objects into 3 important parts:-

Model: - This part  is specially for maintaining the data. It is actually where your database connection, business logic, querying database etc. is actually implemented.

Views: - Displaying all or some parts  of the data, or probably different view of the data. The View is responsible for look and feel, formatting, Sorting etc.

Controller: - They are the event handling part which affects either the model or the view. The Controller responds to the mouse or keyboard i/p to command model and view to change. The Controllers are associated with the views. The User interaction triggers the events to change the model, which in turn calls few  methods of model to update its state to notify other registered views to refresh their display.

The various sections of ASP.NET are shown below  which maps to MVC sections:-

Model: - This part  is represented by business entity models,Typed Dataset,Data view,Business components ,Dataset etc. Then this part can then be tied up to either windows application or web UI.

View: - The ASCX,  ASPX, or windows application UI such as  data grid and so on , form the view part of it.

Controller: - In the ASP.NET the behind code is the controller as the events are handled by that area  . The Controller communicates both with Model as well as the view.

882_MVC pattern.png

Figure: - Data flow between MVC architectures.


Related Discussions:- Mvc pattern

Is it good to distribute implementation to remoting client?, It's never tol...

It's never told  to distribute complete implementation at client, due to following shown  reasons:- 1) Anyone can use ILDASM and decrypt your logic. 2) It is a bad architectu

In search of urgent assistance with loading an asp.net site, In search of u...

In search of urgent assistance with loading an ASP.net website In search of assistance with loading an ASP.net website installation onto a new server, job will start nearly D

I need a full time .net coder, Full Time Coder My colleague is seeking f...

Full Time Coder My colleague is seeking for someone to work on his website via team viewer. First I would need scale following skills- a) C# - b) AJAX - c) LINQ to S

Namespaces in localization and globalization, Which are the namespaces in l...

Which are the namespaces in localization and globalization? There are 2 most important namespaces:- 1)System.Globalization - It contains classes that define culture-relate

Determining salvage value of an item - c# program, Determining salvage valu...

Determining salvage value of an item - C# Program I am a learner of C# language and i am struggling with the programming functions in c#. Can you have any code examples for th

Describe what are streams in file handling, Question : (a) Describe wh...

Question : (a) Describe what are streams in file handling and explain what should be done when accessing data in an existing file. (b) For what purpose are StreamReader an

Operator overloading in .net, What is Operator Overloading in .NET? It ...

What is Operator Overloading in .NET? It gives a way to define and use operators like +, -, and / for user-defined classes or structs. It permits us to define/redefine the way

Update present website backend build rest api to expose data, Update presen...

Update present website backend (asp.NET) as well as build Rest API to expose data I will soon build an HTML5 cross-platform mobile app. I previously have a website with a backen

Django and python junior developer, Project Description: We require an e...

Project Description: We require an expert developer to work on several projects for our company. You will be managed by our senior developer. Required - MUST be proficient in

Steps of acquiring a proxy object in webservice, What are the  steps of a...

What are the  steps of acquiring a proxy object in Webservice? The following steps are required to get a proxy object of a webservice at the client side:- 1.     The Clie

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd