Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Backbone.Marionette vs Backbone-Boilerplate

I'm new to Backbone and trying to decide how to approach development.

At the moment I'm wondering when people would use backbone.marionette over backbone-boilerplate?

From what I can tell Marionette is a lot more prescriptive, but is this the way that most people approach development here?

like image 798
vdh_ant Avatar asked May 09 '12 04:05

vdh_ant


1 Answers

Marionette automates a lot of housekeeping work with respect to views that I believe Backbone should've included in the first place. Marionette is actively maintained and found it to be extremely useful and flexible for my project.

backbone-boilerplate, from what I see, is more of a way to organize your code into modules but doesn't touch Backbone views.

You should be able to use boilerplate for code organization, and Marionette for more-easily-manageable views. I believe they address complementing issues.

Marionette recently added an AMD version so it is now compatible with RequireJS out of the box.

like image 190
Tony Abou-Assaleh Avatar answered Oct 23 '22 07:10

Tony Abou-Assaleh