I'm starting a fairly large Backbone project, and I'm deciding all of the key ponents now. I've been looking around a lot and have ran into Marionette many times. My question is, when is the right time to utilize Marionette vs using pure Backbone? My concern is that the level of plexity will rise substantially when adding an entire new library into the equation, but if the benefits of using Marionette outweigh that it may be worth looking into.
I'm not looking for opinion-based answers -- just insight into how well Backbone scales in a production environment and whether or not the weight/plexity Marionette adds is worth it.
Is there any sort of quantifiable way to determine this? At what point does Backbone fail to scale?
I'm starting a fairly large Backbone project, and I'm deciding all of the key ponents now. I've been looking around a lot and have ran into Marionette many times. My question is, when is the right time to utilize Marionette vs using pure Backbone? My concern is that the level of plexity will rise substantially when adding an entire new library into the equation, but if the benefits of using Marionette outweigh that it may be worth looking into.
I'm not looking for opinion-based answers -- just insight into how well Backbone scales in a production environment and whether or not the weight/plexity Marionette adds is worth it.
Is there any sort of quantifiable way to determine this? At what point does Backbone fail to scale?
Share Improve this question asked Mar 26, 2013 at 13:24 streetlightstreetlight 5,96813 gold badges66 silver badges102 bronze badges1 Answer
Reset to default 15The answer is going to be subjective because nothing requires you to use Marionette in the first place.
- Marionette provides a solid, proven architecture for backbone applications.
- If the app will have a short life (ie POC) then just use pure backbone.
- If you have never used backbone, read the Marionette docs and understand the problems it is intended to solve along with the design patterns implemented, then decide how well that fits your project.
- If you have already written many backbone apps, pare Marionette's architecture to your own and decide if it's worth adopting.
Backbone is fine, but it is your architecture that will allow your app to scale. If you are planning to build a large application you are going to have to invest time in architecture anyway.
You should also consider:
- Chaplin
- and Thorax