what is MVC [programming Q]

sithara81

Member
Apr 7, 2009
105
4
0
YaluwaNe MVC gana podak pahadili karana puluwnda?
Dan industry eke wadimda demand ekak thiyene java da .net da?
Me dekatama wada c++ da?
Bump ekak dena.
Thank you
 

mldarshana

Well-known member
  • Apr 2, 2007
    34,059
    1,404
    113
    ආශ්චර්ය අභියස :nerd:
    MVC kiyanne Model, View, Controller

    Mulu code ekama ekata thibbama aye modification ekak karanna giyama, reference karanna karadarai ... e nisa layers walata kadanawa ...

    View kiyanne presentation layer eka ... User interact karanne mekath ekka
    Controller - business logic eka ... user ge request eka process karanne control eke
    Model - database ekath ekka connect wena functions (CRUD) ... output eka controller ekata denawa

    MVC.png
     

    shalinds

    Active member
  • Dec 10, 2014
    372
    124
    43
    MVC is a framework for building web applications using a MVC (Model View Controller) design:

    • The Model represents the application core (for instance a list of database records).
    • The View displays the data (the database records).
    • The Controller handles the input (to the database records).


    http://www.w3schools.com/aspnet/mvc_intro.asp