[Answer]-Multiple Backbonejs requests to get related model data

1👍

On the backbone side you can create an Album collection and set its url to /api/v1/albums and call fetch on the collection. This will pull all of the albums in one http request. url can also be a function if you need to provide filtering via something like /api/v1/albums/byname/jonathancoulton or /api/v1/albums/bytitle/codemonkey. I have also set up custom fetch functions on a collection if you use this functionality a lot

Leave a comment