Skip to content

Commit

Permalink
Add homework review section
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Roberts committed Dec 15, 2016
1 parent 7d380b1 commit 79921df
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,38 @@ If this process sounds familiar, it's because it's basically the same as having

***

### Homework Review
**What parts of the page does the ApplicationView directly manage?**
The ApplicationView manages the "New Contact" form.

**What parts of the page does the RolodexView directly manage?**
The RolodexView manages the list of contacts and the details modal. It also listens for click events to hide the modal.

**What parts of the page does the ContactView directly manage?**
A ContactView manages a single contact card.

**Which views are rendered when the RolodexCollection has been updated?**
The RolodexView and all ContactViews.


**For all custom events, list the following:**

1. Which view triggers the event
1. Which view handles/listens for the event

We'll include all events here, not just custom ones.

| Event | Type | What Triggers | What Handles/Listens|
|:------|:-----|:--------------|:--------------------|
| Click on `Save` button | DOM | The user | ApplicationView |
| Click on `Clear` button | DOM | The user | ApplicationView |
| Click on a contact card | DOM | The user | ContactView |
| Click off a contact card | DOM | The user | RolodexView |
| `update` the Rolodex | Backbone Automatic | Backbone when the collection is updated. Updates come from ApplicationView (add a contact) | RolodexView |
| `select` a contact card | Custom | ContactView when the card is clicked | RolodexView |

Is anything missing from this list that you used in your version of Rolodex?

## 3) Review How the Components Interact with Each Other
Each component is responsible for specific functionality of our application. These components rely on each other, which can quickly complicate how data flows through our application.

Expand Down

0 comments on commit 79921df

Please sign in to comment.