- 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?
Step One: Watch Sorting Algorithms in JavaScript
Step Two: Fork this gist.
Step Three: Respond to this question in your fork: "What are some of the balances and trade offs between different sorting algoritms?"
- The .sort() is lexographical, so 10 comes before 7.
- Three important characteristics:
- stability- maintain relative order
- runtime anaylsis
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
?
- It's a building block that maps to a file. Load it by using 'require,' export it by using module.exports.