Chapter 8. Basic API Concerns
In the last chapter, you used an API that was “canned” to learn about populating a collection with
Even if your use case does not require an isomorphic application design, where logic for templating and data validation can be shared, the concepts of this chapter should help you understand more enhancements of Backbone models and collections to “write” state to a remote server.
Our discussion on fetching movies is extended to storing votes on movies. In general, changing application state also requires discussion on authenticating users. But to simplify the discussion in this chapter, we let users vote on movies without authentication. Then, in the next chapter, authentication will be discussed.