Live data from Hacker News

Rewriting Avira's SPA from Backbone Marionette to Angular

medium.com

11–14 of 14 posts

Re: Rewriting Avira's SPA from Backbone Marionette to Angular

#11

Earlier quoted context omitted.

I think that it may be simpler to learn than both angular and ember. Unfortunately, given the fact that it's missing 2 way data binding and it's not declarative, you end up with lots of boilerplate code and in the end you invest more time in writing your backbone application than in learning angular and writing the application in it. To be honest, I'd only start a new project in angular or ember because they are extr…

I politely disagree with ending up with more boilerplate code with marionette... you're ending up with _less_ boilerplate code when using marionette with backbone, and even when including marionette, your "boilerplate" code is necessary configuration... binding dom elements, events, template handling, rendering, data serialization... even more so if you're doing it in CoffeeScript. behold... a view in 3 lines of code…

In angular you'd never need the line with className, so you'd end up with even less code, because of its declarative style.

A good reading when thinking that's necessary to bind dom elements, events, etc is here: http://stackoverflow.com/questions/14994391/how-do-i-think-i...

Re: Rewriting Avira's SPA from Backbone Marionette to Angular

#12
post #8

Earlier quoted context omitted.

I said it's an AngularJS commercial, not an Avira commercial. But let me get the Avira part out of the way first: the article is at most an anti-commercial for Avira. You're saying that this web app is the flagship product for Avira. Do you know what a "flagship product" means? Do I really have to explain to you why a web app as a flagship product is not a good commercial for a security oriented company? But thank yo…

If you're really interested in Avira and its products, it's up to you to take a look into this project from time to time and you may change your impression. I added certain links in the article (e.g. http://www.funnyant.com/ ), where the features of all frameworks are discussed and compared. Read it and you may understand the advantages. I'm sorry that you don't consider that a community driven project, managed by to…

You end your comment in a condescending and yet you have the nerve to tell me that I should follow you, when you have only one article posted, ever. Are you for real? And why do you keep telling me to look up Avira? Tell me at least that you are getting paid to promote Avira in every comment you make, because I don't see any other logic to speak about it when it wasn't the freaking subject of my rant.

Anyway, going to back to my issues, maybe you'll understand this time. Your article has not a single useful thing in it, it just regurgitates random facts. AngularJS might be the best thing since sliced bread, but you do a poor job at explaining why. Does it matter that it has more commits, forks and stars on github than alternative frameworks? No. Does it matter that is backed up by Google? No. But please explain why are these things relevant in any shape or form. It seems to me that you just went with the winner of a beauty pageant.

You didn't added certain links, you added just one link, and it was buried in a mountain of crap. It would have been nice if you expanded on the content from that link. You say that this is a tech post, but I don't see no tech in it (buzzwords =/= tech).

"We rewrote it". Yes, well argued, I see no flaw with that statement (/sarcasm). You could have said that you used X feature in Y manner to improve Z and thus replace the god old W way of doing things. But why bother? You were too busy counting github commits and whatnot.

Do you understand where I'm going with this? Or are you gonna reply with yet another "look up Avira" and "here's another argument from authority to prove me right" comment?

In the end, I think I'm just talking to a wall here, so I'll just leave you with a Pauli inspired statement: "you're article is not even wrong" (you'll get bonus points from me if you understand this one).

Re: Rewriting Avira's SPA from Backbone Marionette to Angular

#13
post #12

Earlier quoted context omitted.

If you're really interested in Avira and its products, it's up to you to take a look into this project from time to time and you may change your impression. I added certain links in the article (e.g. http://www.funnyant.com/ ), where the features of all frameworks are discussed and compared. Read it and you may understand the advantages. I'm sorry that you don't consider that a community driven project, managed by to…

You end your comment in a condescending and yet you have the nerve to tell me that I should follow you, when you have only one article posted, ever. Are you for real? And why do you keep telling me to look up Avira? Tell me at least that you are getting paid to promote Avira in every comment you make, because I don't see any other logic to speak about it when it wasn't the freaking subject of my rant. Anyway, going t…

It's hard for me to make more comments here. I don't know your tech background and also how much experience you have with frontend or any kind of frameworks.

Unfortunately, you rush to make conclusions. It's my first post on medium (others will come for sure), but why this have to be the first article posted, ever?

About the rewrite: you have x features in backbone. Then you rewrite all the x features in angular and you compare the results.

e.g. https://tech.dropbox.com/2012/09/dropbox-dives-into-coffeesc...

Dropbox rewrote its javascript in coffeescript and saw a LOC improvement. They had a code in js and rewrote it in coffee. We had it in backbone and rewrote it in angular. I'll probably provide more details (with code and so on) in next blog posts, but I wanted to keep this one shorter, because it's not about how we implemented it, but more about the conclusions we reached.

In the end, it doesn't matter how many LOC you have in a certain language, framework, etc. It's more about the productivity and the quality. It worked for us very well in both cases, and I think this is the final idea.

I'm sorry that you bring the discussion to a personal level, again. I'm open for suggestions and would like to make further articles "more relevant" and share better content. If you think you can help me with this and with one suggestion or two, please get in touch.

Have a nice day!

Re: Rewriting Avira's SPA from Backbone Marionette to Angular

#14
post #12

Earlier quoted context omitted.

If you're really interested in Avira and its products, it's up to you to take a look into this project from time to time and you may change your impression. I added certain links in the article (e.g. http://www.funnyant.com/ ), where the features of all frameworks are discussed and compared. Read it and you may understand the advantages. I'm sorry that you don't consider that a community driven project, managed by to…

You end your comment in a condescending and yet you have the nerve to tell me that I should follow you, when you have only one article posted, ever. Are you for real? And why do you keep telling me to look up Avira? Tell me at least that you are getting paid to promote Avira in every comment you make, because I don't see any other logic to speak about it when it wasn't the freaking subject of my rant. Anyway, going t…

I've also added a Later Edit (LE) in the article and I hope some things are clear now.
Post reply on HN