Using KnockoutJs and ReactJs together.
Knockout JS follows a MVVM approach. In the simple examples the ViewModel seems to hold two kinds of things: attributes of the Model object functions operating on the Model - typically via GUI interaction While this is fine for smaller apps, as apps get bigger there is a growing need to define the Model clearly and … Continue reading Knockout JS – Separate Model from View Model
As our SPA app grows we need to be more conscious of browser performance. One handy way is to keep the DOM tree light(er). Knockout offers an easy way to remove unused DOM fragments: By using the ko:if binding - instead of the ko:visible binding. On the UI both of them serve to show/hide widgets. The … Continue reading Knockout performance tip
In my recent exploits I put KnockOut JS (KO) through a real worldy example. I tried to assemble everything I believe an enterprise app is going to need, to get started. The app is a trade entry screen which allows the user to enter a trade and shows updates in a grid/blotter. As rows are clicked they … Continue reading Real world Knockout JS example