3 ms·
Marionette is terrible. The code is a mess: prototypes defined within instances [0]. Uninformed use of design patterns: controllers are what, just namespaces? [
by Rygu 12y ago
Marionette is terrible. The code is a mess: prototypes defined within instances [0]. Uninformed use of design patterns: controllers are what, just namespaces? [1] Unmodular internals, almost like globals [2].
It's not worth a comparison.
[0] https://github.com/marionettejs/backbone.marionette/blob/master/docs/marionette.application.module.md#basic-usage https://github.com/marionettejs/backbone.marionette/blob/mas...
[1] https://github.com/marionettejs/backbone.marionette/blob/master/docs/marionette.controller.md#on-the-name-controller https://github.com/marionettejs/backbone.marionette/blob/mas...
[2] https://github.com/marionettejs/backbone.marionette/blob/master/docs/marionette.renderer.md#custom-template-selection-and-rendering https://github.com/marionettejs/backbone.marionette/blob/mas...
- daRomansky 12y agotry the stickit framework by nytimes, works great for me
- tonyhb 12y agoMarionette is a solid framework. It has everything you need to build fast, and clean: regions (which were a great step in the right direction and will be improved in V2), composite/collection views, layouts... the basics are there for you to work with how you would like. You've made three points which I can't see much fault with. Why the hate?
- Rygu 12y agoI'm sorry that you don't see much fault with it. I've tried my best to explain.
- corford 12y agoI'm sorry but [0] and [1] are complete non-issues and I'm not sure I fully understand your point with [3]. The code is very far from terrible. Go look at Marionette's source on github - you'll find it's extremely easy to understand and reason about. Now try and do the same with Angular or Ember...
- Rygu 12y agoHow are [0] and [1] non-issues? I like my libraries "SOLID" and "Clean" (look em up). I have worked with Marionette's source, and it's neither. Point [2] means, to use a different renderer you need to replace Marionette's internal renderer completely like it's a global (globals are bad).
- Bahamut 12y agoAngular's source is pretty clean, minus compile.js and select.js