Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Latest commit

 

History

History
17 lines (13 loc) · 362 Bytes

plug-in-a-service.md

File metadata and controls

17 lines (13 loc) · 362 Bytes

Collection - plug in a service

Populating the collection with data

var Articles = App.Collection({
  options: {
    read: {
      url: 'http://your-api.com/articles'
    }
  }
});

var articles = Articles().read();

Create/Update/Delete operations could be done through the Model. More information here