Slide 10
Slide 10 text
Rails adopts MVC architecture
● Model
○ Database and logic
● View
○ Layout, views, what end-user sees.
● Controller
○ The layer between the models and the
views
Read more: net.tutsplus.com/tutorials/ruby/why-rails
|-- Gemfile
|-- Gemfile.lock
|-- app
| |-- assets
| |-- controllers
| |-- helpers
| |-- mailers
| |-- models
| `-- views
|-- config
|-- config.ru
|-- db
|-- doc
|-- lib
|-- log
|-- public
|-- script
|-- tmp
`-- vendor
Rails Application Layout