Large scale KnockoutJS application architecture
The view models is make using the prototypal inheritance which is a good one. “master” view model also ahd. That view model had instances of various view models or observable arrays of view models from there use the “foreach” and “with” bindings to in the markup is possible. Inside the “foreach” and “with” bindings use the $data, $parent, $parents and $root binding contexts to reference the parent view models.
The following are the related documents :