I am brand new to CanJS. Brand new to the concept of JS MVC frameworks in fact.
I would like to have a model nested inside a model. I have a Block model that represents blocks of text on my page. But sometimes a Block will contain a table of data. I want a Row model to represent the rows in a table attached to a Block. When you update a Row I want only the Row model update() to be triggered. I don't want the whole Block model to be triggered.
From reading in the forums I keep seeing that people use the Attributes plugin for this. The documentation is so sparse on it though. And even the Github link to download the rascal is broken. I can find the source but when I fire it up, I get a type undefined error. I feel like there are dependencies I don't know about that are being handled by loading it using Steal.
Must I also use Steal to get the Attributes plugin to behave? Is there a working example of the Attributes plugin out there in action?
Too many questions. I know. Annoying.
Thank you though.