About MVC - Code project

Description

http://www.codeproject.com/Articles/585873/Basic-Understanding-On-ASP-NET-MVC
Nikhil Wanare
Slide Set by Nikhil Wanare, updated more than 1 year ago
Nikhil Wanare
Created by Nikhil Wanare almost 8 years ago
10
0

Resource summary

Slide 1

Slide 2

Slide 3

    CONTROLLER: The controller is like a traffic cop. Whenever user requests any resource it first goes to the controller.Controller then interact with both model and view.MODEL:The model is responsible for the data for the application and also it creates data for the view. It handles data processing and database works part.VIEW:It is presentation layer.
    MVC Components
    Caption: : This figure shows how the event is handled.

Slide 4

    Advantages and disadvantages of MVC
    ADVANTAGES:In three tier architecture, seperation of concern ie. independent of UI and business layer. Business logic is independent and can be used from different presentation layers.DISADVANTAGES:In a view, managing a state(ie. view state) is a painful process. But it can be achieved by using Javascript/Ajax in the view page.

Slide 5

    What is view engine?
    The view engine is responsible for creating HTML from your views. Views are usually some kind of mix up of HTML and  a programming language. The pattern behind most of these is called two step view.If you have a Web application with many pages, you often want a consistent look and organization to the site. If every page looks different, you end up with a site that users find confusing. You may also want to make global changes to the appearance of the site easily, but common approaches using template view (350) or Transform view (361) make this difficult because presentation decisions are often duplicated across multiple pages or transform modules. A global change can force you to change several files.Two step view:Deals with this problem by splitting the transformation into two stages. The first transforms the model data into a logical presentation with a actual formatting needed.This way you can make a global change by altering the second stage, or you can support multiple output looks and feels with one  second stage each.
Show full summary Hide full summary

Similar

MVC basic information
Nikhil Wanare
MVC (Modelo Vista Controlador)
Kevin Rosas
Spanish Adjectives (Describing People)
Niat Habtemariam
A-level Sociology Quiz
Chuck Amobi
AQA GCSE Physics Unit 2.1
Matthew T
French Tense Endings
James Hoyle
Input Devices
Jess Peason
The Circulatory System
Shane Buckley
PSBD TEST # 3
yog thapa
Procedimientos Operacionales
Adriana Forero
1PR101 2.test - Část 2.
Nikola Truong