A
A
Andrew2016-04-08 10:59:36
css
Andrew, 2016-04-08 10:59:36

How do you organize the code on the front?

Hello!
I got a project that was carried out by several generations of programmers. The guys used everything they could. vanilla js, jquery, backbone, knokout and finally angular.
Looking at all this diversity, the question arises - how best to organize it so that it does not hurt so excruciatingly?
How do you organize code on the frontend? What do you use, collect, where do you store?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
K
khipster, 2016-04-08
@khipster

Use the KISS principle (“keep it simple, stupid”).

F
Faber Estello, 2016-04-08
@senselessV7

How do you organize code on the frontend? What do you use, collect, where do you store?

What? - JS (was, is - better than all the libraries taken together) + (well, if you really need everything else)
What? - gulp
Where? - git
PS: As for me.

D
Dmitry Belyaev, 2016-04-08
@bingo347

vanilla js + jquery and vanilla js + angular will be sources of hard-to-debug memory leaks, so if possible, it's better to throw out this noodles and write from scratch on what you know. For refactoring, for sure, time will be killed more than just doing it all over again.
By assembly: webpack + commonJS modules

I
Ihor Gevorkyan, 2016-05-17
@Igor-Maf

I recommend to look at what code architecture popular yeoman generators offer

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question