How is the model view controller framework used in ruby on rails?
The web development is usually divided into three subsystems closely integrated to each other. They are: –
- Model (active record): all the data logic is handled by this model which in rails is known as the active record library. It acts a bridge between the ruby program code and the main database.
- View (action view): the end user sees the view part of the application.
- Controller (action controller): it acts as a data broker of an application. It also helps in handling the logic which allows the model and view to communicate with one another.
This is how the model view controller framework used in ruby on rails.
Comments
Post a Comment