Backbone.Marionette vs Backbone-Boilerplate

后端 未结 1 940
眼角桃花
眼角桃花 2021-02-04 10:31

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?

1条回答
  •  无人及你
    2021-02-04 11:11

    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.

    0 讨论(0)
提交回复
热议问题