C
C
Cyril2017-08-18 19:30:10
JavaScript
Cyril, 2017-08-18 19:30:10

Should I learn backbone js?

Good afternoon.
You have already read the question in the title, and now a lyrical digression. :)
I’m still a very green beginner, I’m slowly learning JS, so far I’m using jQuery hated by everyone in projects, but gradually, when creating a site, my script even using jQ grows to 400 lines of jQ calls in which the devil will break his leg, so I began to think about what this must be abandoned.
But unfortunately, I can’t understand yet why the same Backbone js, Angular, React, Vue, Meteor are needed, is it the same, how they work.
In general, I would be glad to talk to someone on Skype on this topic, ask around and just have a nice chat. But I don't think there are people here who are ready for it. :)
Thanks in advance for your answers!

Answer the question

In order to leave comments, you need to log in

4 answer(s)
N
Nikita, 2017-08-19
@SH8DER

I'm still a very green newbie

Should I learn backbone js?
No, it's not worth it.
Get acquainted - it is necessary if you want to write and read about it in js and not only, of course, no one forbids it and it will only be useful, but not much. And "study" - no, not now.
Better make a couple of projects with the active use of js, and then there will be no such questions at all.

K
Konstantin Kitmanov, 2017-08-18
@k12th

You can look into Backbone.js, it's not bad in its own way, and, in general, solves the problem of organizing an application. Plus after it everything else will become clearer. In addition, this is a small library, both in terms of API and the number of lines of code.
But you are unlikely to work with it in modern projects. The reason is simple: there is a lot of manual work with the DOM, and if it is automated, then performance drops. And with the decline in popularity, it is becoming increasingly difficult to find help and relevant materials.
I've been a hardcore BB fan for a long time, but I've switched to Vue.js for over a year now and have been relieved.
I would say it's worth learning Vue and/or React now. Meteor is a bit of a different opera, and I'm not at all sure that it's worth wasting time on it.

S
Sergey Sokolov, 2017-08-18
@sergiks

To prevent anyone from breaking their legs, it's worth getting to grips with modules in JavaScript - start using a bundler: Require.js or Webpack or Browserify . And divide the code into small logically isolated pieces - modules - each lying in its own file.
Backbone.js in 2017, in my opinion, is quite relevant. It does not compete with the same React that plays the role of View in the MVC pattern. See, for example, the implementation of the simplest TodoMVC on Backbone + React .

W
Worddoc, 2017-08-18
@Worddoc

Break the code into modules, use the ES6 syntax and self-calling functions, learn the correct patterns for writing js code (Javascript design patterns book with a fish like), comment the code for yourself and all this will help your code to be more readable and maintainable. And take your time with the framework. And when the time comes to study some, then know that the topic is holistic and no one will tell you which is better. I tried Angular, React and Vue, and Vue seemed to me the most minimalistic, lightweight, beautiful and more conducive to writing your own js logic.
Angular - a lot of solutions out of the box and grab your head if you go beyond the functionality of angular.
There is not much to say about React, except that it requires jsx syntax to write html in js, good control at every stage of the application.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question