David Heinemeier Hansson gave a presentation on Backbone.js or rather how they are not using it too much. The video is on YouTube.
This is very similar to the Kamishibai approach.
There are a few things that I’m wondering about, and this post is a memo about these.
- Because the whole screen is not being redrawn. Only a small portion is being rendered.
- The server is much faster at returning JSON responses compared to rendering HTML.
The first possibility is addressed by the PJAX-like approach.
The second possibility is not addressed by PJAX itself because it renders the whole page. Kamishibai on the other hand, can render segments of pages so Kamishibai addresses this.