Marionette.js Behaviors, Part 2: Testing Behaviors

This post is a follow-up to Al’s high-level introduction to Marionette Behaviors, published yesterday. As Al said, Marionette.Behaviors are an abstraction for sharing UI code between different views. They are a recent addition to the Marionette toolbelt (added in version 1.7). Prior to the introduction of behaviors, code sharing between views in Marionette had to be handled […]

Marionette.js Behaviors, Part 1: The Basics

Part 2: Testing Behaviors is available here Marionette is a Javascript application framework built on top of Backbone. It provides great features missing from core Backbone like collection views, subview management, and abstractions for building event driven applications. Extracting Duplicate Code with Behaviors Marionette.Behaviors are an abstraction for sharing UI code between different views. They […]