We launched a SPA lately that has been both the most complex project and the largest team that I’ve worked on to date and we’ve had a really terrific time with some new tooling that I’d like to share. All of these tooling changes are fairly easy to adopt in any new SPA and have greatly eased some of the pains associated with the development of a typical SPA.
Subscribing to a ko.computed isn’t the same thing as subscribing to a ko.observable. Ryan Niemeyer has written on the topic and I’ll admit, it took me a while to wrap my head around it. I’ll go over the problem and how we bypass it, but the end result is really handy and reusable: a new ‘efficientlySubscribe’ method that is a part of all ko.computed’s.
Previously we went over the additions to the TileGrid that are going to allow us to support effects that will change the way the grid renders. This part of the series will take you through how to implement an effect to draw shadows on the grid. [Continue Reading...]