A workflow for rest APIs with Laravel and Backbone