As we know In an application there is thousands line of code and hundreds of files. In this environment we can't predict exactly that, changes in one section will affect how many other sections. For a programmer, it is difficult to manage it.
But if we notice, basically there is three part in any application:
As we manage things in our house as
But if we notice, basically there is three part in any application:
- which user sees(interface)
- which handle interaction between the user and business logic
- code which interacts with the database(business logic)
As we manage things in our house as
- One place for grocery products(kitchen)
- Makeup and cosmetics are in one place
- Medicines are in a fixed place
So we can get them with less effort on time. same way MVC works regarding code to which our ROR follows.
MVC(Model View Controller) is just a software architectural Pattern to manage code:
- View(User interface related code)
- Controller(bridge between view and model)
- Model(database related code and business logic)
According to MVC, View will never interact directly to Model. It will be the Controller who will decide that which section of view related to which Model part
Review of Lucky Club Casino Site - Lucky Club Casino
ReplyDeleteLucky Club is a small, high-end casino that is open 24 hours a day and uses a standard operating system for its own selection of luckyclub games and Rating: 9.5/10 · Review by LuckyClub.live