Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to work with Backbone-relational #1

Open
iAdramelk opened this issue Sep 6, 2013 · 2 comments
Open

Add ability to work with Backbone-relational #1

iAdramelk opened this issue Sep 6, 2013 · 2 comments

Comments

@iAdramelk
Copy link

Hi! backbone.trackit is really good then working with single model, but then you try to work with nested models (and especially then you working with nested collections of models) it soon become very hard as you have to track changes in each model and track all their relations by hand.

It will be really great to have ability to do so automatically.

For example:

1.I have model Book.
2. Book have fields like title, publisher and others.
3. also book can have one or more Authors.
4. All book meta, including Authors are edited on one page and I'd like to save and reset it automatically.
5. Now to do so, I need to use startTrcking() on each model, remember id''s of author's models and reset all of that than I need to reset model.

I understand, that it not a part of the default Backbone functional, but it will be great to be able to do it somehow.

@delambo
Copy link
Member

delambo commented Sep 9, 2013

Are you using one of the popular extensions for nested models?

@iAdramelk
Copy link
Author

Yes. i'm using http://backbonerelational.org

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants