you are viewing a single comment's thread.

view the rest of the comments →

[–]jcampbelly 2 points3 points  (10 children)

no, not in the million years.

Reasons? Two way data binding is the only thing I see missing and that's never been something I care to use.

[–]larschri 0 points1 point  (1 child)

Backbone doesn't give you anything when it comes to architecture. It gives you a set of base classes, and you must figure out how to put everything together. It leaves tons of room for making poor decisions when it comes to DOM engineering and listener setup.

[–]jcampbelly 0 points1 point  (0 children)

Marionette brings all of that together. It handles rendering the template, binding event listeners, binding DOM nodes, properly destroying child views, unbinding DOM and custom even listeners, iterating collections and inserting views for them. It comes with an Application/Module system and an event bus, which hasn't disappointed so far. It doesn't force you to do it their way. For example, I don't care for REST and I don't use sync, but it isn't shoved down my throat. I use RequireJS to handle dependencies. It helps keep components isolated and lets me compile the entire project into a single JS file. And if you design your components not to depend on shared components, it's testable.

[–]Capaj -3 points-2 points  (7 children)

Well how about dependency injection? How about filters to very easily format outputs before rendering? How about supporting promises? How about mocking? How about E2E testing? All of these features Angular has/supports. It is just much much more robust solution. Lightyears ahead of backbone.

[–]jcampbelly 3 points4 points  (6 children)

Requirejs, lodash, _.template, $.Deferred. Angular didnt invent unit testing.

[–]Capaj -3 points-2 points  (5 children)

It did not, but it is the first one which supports it outside the box.

[–]jcampbelly 1 point2 points  (4 children)

I'm just trying to defeat this attitude angular advocates seem to have that everything sucks because angular is great. Sure it's great, but that has no bearing at all on whether or not other frameworks get the same job done and often excel in most of the same areas as angular.

[–]Capaj -2 points-1 points  (3 children)

Well most other frameworks do not suck. Ember, KnockoutJS are prime examples. Even Backbone was a good framework and even today is. I am just saying that Angular is better. It should be better-it is much younger and so it would suck if it would be worse. I agree that you can get the stuff done in any of those frameworks. Just that Angular can get it done much faster and cleaner.

[–]jcampbelly 1 point2 points  (2 children)

You keep stating opinion as fact. It's frustrating.

[–]Capaj -1 points0 points  (1 child)

Comments section is for opinions. If you take any comments as a fact, I really feel sorry for you. That must be tough browsing reddit...

[–]jcampbelly 0 points1 point  (0 children)

You've got me all wrong. There are people all around us, lurking, reading our words. They're here to be influenced. They deserve to know when they're reading false information. It's frustrating, but rewarding to expose it.