The server file serves as the main point of contact between the client and the server. The server file takes in the http request from the client and routes the client to the proper page base on the verb and the path of the http request.
Instance variables are useable in the view when it is rendered. local variables you pass in using a key value hash
erb(:index, locals => { :name_in_view => name_in_server }
Using ERB (Embedded RuBy) in the server call the erb method and tell it the view you want it to render.
erb :index
A hash called params the name in the form/view is the key in the hash that the value is stored at. You can access the value using either a symbol or string of the key.
Input taken in by the client often through html forms on a web page.
Looks good