tidev/alloy

model collection

Closed this issue · 2 comments

Hi,

I need extend a backbone collection, its possible ?
If yes, why ?

Thanks

Yes you can extend a backbone collection:

var MyCollection = require('alloy/backbone').Collection.extend({ /*you extend here */ });
var myCollection = new MyCollection;

I'm curious what is the reason for extending the collection? What are you doing with the model? The reason I ask is maybe there are some features we can add to Alloy to help out.

Closing this ticket. We can re-open if further discussion is needed.