Introduction to Sinatra 1. What is the purpose of the server file (routing)? The server file specifies all routing requests and related operations. 2. How do you pass variables into the views? As instance variables or using the locals hash 3. How can we interpolate ruby into a view (html)? Use ERB 4. In what format does data come in from a view/form? What do we call it? HTML 5. What are params? The data submitted from a form
A view is html, data that comes from a view as the value in our params hash has a String