Layout views in Marionette are great, and I think they should be used wherever possible. Any given page should be divided into regions — it's just a good habit to have. There are times when regions are a pain, however, because all you want to render is some simple text. Most of the time, regions will show more complex views that do a fair amount of work. They have templates, they have a model or collection as context, and so on. The challenge is being able to swap out something complex with something simple.
Showing posts with label layoutview. Show all posts
Showing posts with label layoutview. Show all posts
Tuesday, December 9, 2014
Subscribe to:
Posts
(
Atom
)