W3D3: backbone broken: x_x


Kind of worried for today's sprint
Our shepherd, Avi, told us yesterday going through the backbone sprint was equivalent to banging your head between a door and a wall
Now I can see why

In this sprint we were to use backbone to create a music player application that plays the selected music through soundcloud and dd or delete songs from the queue. We were to use the Model/View/Controller software architecture to build this app.
  • Model: Manages the program state
  • View: Presents the data in the model to the users
  • Controller: Receives input from the user


Some important concepts:
  • Stands for "Hypertext Transfer Protocol." HTTP is the protocol used to transfer data over the web.
  • Information is received from the user through a series of http requests -- the two most used requests are called GET (requests data from a source) and POST (submits data to be processed to a source) requests
  • You know those pages that come up saying: 404 Not Found? These are http request codes that identify whether or not the http request has been successfully sent. Here are some examples of status codes:
    • 200 - The request is successfully sent
    • 300 - The response resources has multiple choices
    • 400 - Bad request (malformed syntax)
    • 404 - Not found (didn't find any matching URLs)
SERVERS

Honestly, I'm just so tired right now I'll just summarize the day in emojis

backbone lecture: O_O
lunch: ^_^
pair programming: O_O?
dinner: e_e
presentation: (will be in the overview -- I need a reminder though)
pair programming: T_T

What we did today:
1. Toy problem:

BubbleSort V.2

Implement a function that takes an array and sorts it using bubblesort
NOTE: DO NOT use JavaScript’s built-in sorting function (Array.prototype.sort).

Examples



InputOutput
input:
[ 20, -10, -10, 2, 4, 299 ]
[ -10, -10, 2, 4, 20, 299 ]

2. Lecture on backbone.js

3. Townhall

4. Pair programming on backbone sprint

1.27.16

No comments:

Post a Comment