Introduction To Ruby On Rails MVC Framework
- Last Updated on: September 21, 2013
- By: scriptcrunch
What is a Framework:
A framework is a software toolkit with prewritten code libraries and datas organized in structures , which helps you in developing applications. Ruby on rails framework is based on MVC architecture. So what the heck is a MVC architecture. To put it in a simple way. MVC pattern is a way to deveop an applcation in a organized and secure way.
MVC Framework:
View: View is the web UI of the application where the user submits the requests and view contents of the application.
Controller: Controller is the integral part of the MVC architecture. Controller handles the incoming user requests from the UI and process it according to the needs. If the request is to update or delete any data from the database , the controller will process the request accordingly by sending appropriate requests to the database.
If we take the traditional web applications, the view and the controller are bundled together. when a user creates a request for some data, the code that is bundled with the UI will process the request and connect to the database based on user needs. But in MVC the UI, business logic and data are seperated.
NonMVC model:
MVC model:
Other Interesting Blogs

CKA Exam Study Guide: Certified Kubernetes Administrator
Passing the cloud-native Certified Kubernetes Administrator (CKA) exam is not a cakewalk. To pass the CKA exam, you should have enough hands-on

Linux Foundation Coupon for 2023
Hi Techies, I wanted to let you know about a pretty sweet deal with the Linux Foundation Coupon that is running now.

[35% OFF] Linux Foundation LFCA, LFCS & LFCT Exam Voucher Codes
Linux Foundation has announced up to a $284 discount on its Linux certification programs Linux Foundation Certified IT Associate (LFCA) and Linux