- Define CRUD.
- There are seven verb + path combinations that are necessary in a basic Sinatra app in order to provide full CRUD functionality. List each of the seven combinations, and explain what each is for.
- Why do we use
set method_override: true
? - Explain the difference between
value
andname
in this line:<input type='text' name='task[title]' value="<%= @task.title %>"/>
. - What are
params
? Where do they come from?
Group Member Names: Skylark, Starlord, Shrieking Huntress
-
When are group members available to work together? What hours can each group member work individually? Are there any personal time commitments that need to be discussed? Available to work before school, except wed fri, otherwise evenings are generally good.
-
How will group members communicate? How often will communication happen, and how will open lines of communication be maintained? Slack(for communication), waffle(status)... Clear and explicit conversation everytime we split to individual tasks about expectations etc.
I can explain the difference between function declarations and function expressions.
- function expressions are defined by
var name = ...
are invoked withname(...)
but are not hoisted. - function declarations are defined by
function name(...){...}
, are invoked similarly, and are hoisted.
Rules for this
:
-
this
is the global object (window, or global when in terminal)
-
this
is whatever object the function/method is being called from
-
this
is whatever you say this is.