How pass id for collection in Backbone?

0 votes
asked Mar 14, 2016 by Blocks (480 points)
This is my code, How to pass route ID for collection. Thanks for all the answers

4 Answers

0 votes
answered May 1, 2016 by jroMy (310 points)

Jin answered When should we use a Backbone collection.
Well, there is, but passing a collection to a view vs.
You can also connect on Using backbone.js, is it a good practice to pass a collection of model into a view for rendering? - Quora if you need help or wanna share your remarks
0 votes
answered May 4, 2016 by Vg5759 (310 points)
I have another solution that makes this possible. There is workaround it is mentioned here
0 votes
answered May 23, 2016 by jun_1602 (1,260 points)
Have a look at [backbonejs] Passing collection as argument on custom ... it is a good read
Idea courtesy of this page
0 votes
answered Jun 1, 2016 by platne (540 points)
I followed an implementation example here, Backbone.js Tips And Patterns Smashing Magazine to no avail
It works I have used it

What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!