Rails Overview

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

Overview of Rails

Rails is a software development


• Rails is a software development framework
for Web-based applications—in particular,
those that access databases.
• Rails was developed by David Heinemeier
Hansson in the early 2000s and was released
to the public in July 2004.
• Since then, it has rapidly gained widespread
interest and usage.
Model-View-Controller (MVC)
architecture
model-view-controller (MVC)
architecture
• The model-view-controller (MVC) architecture
separates an application's data, user interface,
and control logic
• MVC is a pattern for the architecture of a
software application. It separates an application
into the following components:
• Models for handling data and business logic
• Controllers for handling the user interface and
application
• Views for handling graphical user interface
objects and presentation
User requests being processed as
follows
1. The browser (on the client) sends a request
for a page to the controller on the server.
2. The controller retrieves the data it needs
from the model in order to respond to the
request.
3. The controller gives the retrieved data to the
view.
4. The view is rendered and sent back to the
client for the browser to display.

You might also like