r/Frontend • • Sep 19 '15

6 Client Side Javascript features you must have

http://kostasbariotis.com/state-of-client-side-js-frameworks/
0 Upvotes

3 comments sorted by

5

u/a-t-k Frontend Developer Sep 19 '15

You confuse concepts with features - and like any other concepts that can be implemented in Javascript, they don't necessarily apply for every occasion. A static page is not enhanced by implementing an MVC approach and I have seen cases in which double-data-binding would have been the one and final nail in the coffin of performance.

So I suggest you change title to "6 concepts every JS developer should know and when to use them" - and the rest of the article accordingly.

1

u/kostarelo Sep 19 '15

Thank you for your feedback. Think you're right. I will edit accordingly.

Of course a static page doesn't need an MVC approach, unless there are 10 people working on it. As for the double data bindings, I've never had any major issues working with Angular, but that's just me.

2

u/a-t-k Frontend Developer Sep 20 '15

Even if 10 or more people are working on a static page, you don't need MVC - what you need then is a modular approach and a good VCS to allow simultaneous work on different branches and optionally a build system. Since the page is static, Model and Controller won't be used anyway.

Angular does a lot to ensure your page remains performant. However, imagine a mail client interface managing more than 50.000 mails all the time, each a part of the global model; that's going to burn some serious CPU cycles. So you usually find an abstraction either of the mail objects or the data-binding.