Conclusions
We started by creating common view types that are common for almost every project. Those views are simple in principle but powerful; we can effectively manage nested views without worrying about insufficient memory.
We learned that, by encapsulating common patterns in the render() method, we can create useful view types; in this chapter, we have seen four of them but if you are curious I encourage you to take a look at the Marionette framework, which works on top of Backbone.
Marionette includes all the views exposed here: ItemView, CollectionView, LayoutView, Regions. and other useful view types. Marionette objects behave very similarly to what we see here, so that you can easily interchange Marionette objects with those described in ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access