After survey around the Internet, most MVVM tutorial, especially web client framework such as knockout.js focus on application level scenarios. But for my point of view, it’d be better to apply MVVM entirely from component-unit, to composite-component, then application. Do you have any ideas and/or experience to share?
Thanks!
From Knockout Mvvm & View Models
So by definition the pattern doesn’t apply to components. It is really intended to help with designing the entire UI. I’ve been using this pattern for 24 months now and I’m completely sold. For small projects, it’s complete overkill. But once project starts to get to a reasonable size it really helps.
I’ve been using knockout heavily for 4 months now and it has completely changed how I program web UI’s. Initially, it was for all of the MVVM benefits. But I’ve found that using knockout has allowed me to write almost no (by comparison) jQuery event handlers.
Hope this answers your question. If not, leave a comment with your concerns.