Skip to content

Queues - Cara Comfort - Rolodex#38

Open
cecomfort wants to merge 10 commits intoAda-C7:masterfrom
cecomfort:master
Open

Queues - Cara Comfort - Rolodex#38
cecomfort wants to merge 10 commits intoAda-C7:masterfrom
cecomfort:master

Conversation

@cecomfort
Copy link
Copy Markdown

ROLODEX

Congratulations! You're submitting your assignment!

Comprehension Questions

Question Answer
What role does the Model play in Backbone? Backbone models are similar to Rails models in that they talk to an external persistent storage and handle business logic. They are also useful for setting default values for new data, validating changes to the data, and triggering events when the data changes.
How do Backbone Views compare to Rails controllers? Backbone Views are similar to Rails controllers in that they are middle-managers. In Rails, the controller talks to the models to access the database and then the views to render any HTML before sending a response back to the browser. In backbone, the views respond to DOM events via an events hash, which then calls a custom view method that may communicate with the model to access the database and/or rerender a view to update the DOM.
How do Backbone Events work in comparison to DOM events? 1) DOM events occur in response to a user action, such as clicking a button. A response to a DOM event can be predefined in a backbone view events hash. 2) Backbone events occur internally whenever a change occurs to a backbone model or view. Whenever a backbone event occurs, you can define a view to "listen to" that event and respond accordingly.
What do you think of Backbone in comparison to raw JavaScript & jQuery? It's a lot harder to wrap my head around! But it provides more structure to our JS and jQuery code.
Do you have any recommendations on how we could improve this project for the next cohort? Go over trigger and defining custom listen to events!

@PilgrimMemoirs
Copy link
Copy Markdown

ROLODEX

What We're Looking For

Feature Feedback
Core Requirements
Git hygiene Should have more commits
Comprehension questions Well Done
Functionality
Created a Contact Model Well Done
Created a Rolodex Collection Well Done
Created a ContactView which renders an individual contact Well Done
ContactView responds to a click event when the user clicks on the contact Well Done
RolodexView created which renders the list of contacts Well Done
DOM Events handled for creating new Contacts Well Done
The RolodexView responds to custom Backbone event generated by ContactView to show the modal Well Done
Styling, Foundation grid layout Well Done
All dynamic content is rendered using an Underscore template Well Done
Overall
Submission meets project expectations. Nice work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants