- 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?
When you start working with WebPack for GameTime, you'll notice that you can't just define a variable in one file and find it in another as easily as you can in Rails.
Read Node.js, Require and Exports and Organize Your Code with RequireJS
- In the context of Node, what is a
module
?
- Watch Mary Rose Cook Live Codes Space Invaders from Front-Trends. (The second worst conference name ever?)
This was so fun to watch!
- What is one approach you can take from Mary's code and implement in your project?
Space Invaders is very different from what Beth and I are building, however I think the concept of the 5 checks for collison detection are invaluable and can be applied in all sorts of scenarios. These 5 checks tell us that 2 objects are NOT colliding if:
- object1 is the same as object2
- the right-most side of object1 is to the left of the left-most side of object2