Posts

Showing posts with the label view

MVC Architechture

Image
Understanding MVC Architecture The Ruby On Rails Framework   uses an MVC Architecture.   It's a fundamental part of how the framework is structured   and it is designed to help us not repeat ourselves.   MVC is a fundamental aspect of rails,   which is important to understand right from the start.   M, V, and C.   The 'M' stand for  Model ,   the 'V' stands for  View ,   and the 'C' stands for  Controller .   The Model refers to the data objects that we use.  It's the object-oriented approach to design. Many things can be objects in our models   but the data in our Database   will be the most common type of object   that we'll put there.   The View is the presentation layer .   It's what the user sees and interacts with.   The web pages, the HTML, the CSS, the JavaScript.   The  Controller processes and response   to user events .   Such as clicking on links and...