artsy/positron — pull request #4 by craigspaeth (2014-09-19 17:36:28+00:00)
Title: @dzucconi (cc @dblock): Using a HAL fetcher lib to create models and such

I wrote a wrapper library around [Traverson](https://github.com/basti1302/traverson) that allows you to crawl the HAL links & create Backbone models/collections via a `spooky.new Sections, 'articles[0].sections', (err, sections) ->` interface. It also parses out the _links and _embedded stuff before instantiating the models/collections removing the need for the base collections. For now I've dropped sections and other models to keep things simple.

Still plenty of TODOs, it's too light on tests and auth is a big unknown right now. Regardless this gets things wired up.