One year ago, I started a large Single Page Application (SPA) project. I spent a few weeks Googling and biting my nails, trying to choose between the various options for SPA development. I considered four leading players:
… Read on...Tag Archives: Knockout
User Interface Framework Showdown: Bootstrap, Foundation, KendoUI, and jQueryUI
Standards might not be exciting, but man, they’re important. Without them everyone does their own thing, reinvents the wheel, and unnecessarily injects new frameworks into the system. Lately the importance of … Read on...
KnockoutJS: Maintain Input Focus While Tabbing and Rebinding
Single page applications pose a unique and interesting set of problems. Libraries that offer two-way binding like KnockoutJS and AngularJS make it trivial to completely redraw a screen with new data delivered from the server via AJAX calls. However, what … Read on...
Serializing Knockout ViewModels to JSON: Quotes matter
The Knockout MVVM framework makes it dirt simple to serialize your ViewModels to JSON:
ko.toJSON(viewModel);
However, if you’re wondering why some observables aren’t being serialized, note that observables that are initialized empty aren’t serialized to JSON. So if your … Read on...