The Big Picture
- Model, Views, and Controllers in separate
directories.
- URL Mapping: http://jmvidal.cse.sc.edu/controller/action
- The controller is a class.
- The actions are methods on this class.
- The Model inherits from ActiveRecord.
- It maintains a mapping from model to database. No need
to code SQL.
- You update models using migrations.
- The Views are standard templates which can access methods
from their model.
- The name of model classes is important, as we
shall see.
José M. Vidal
.
4 of 16