Model View Controller

Posted by Lan Nguyen on July 26, 2020

The MVC design pattern is popular for building web applications. Ruby on Rails utilizes this framework for rapid web development. This design pattern provides a clear separation of concerns between the logic, frontend, and the communication between the two. The model holds all the logic, the views contain the forms and HTML/CSS, and the controller contains the code to interact between the two.