S
S
Semyon Dubina2013-10-13 01:13:00
JavaScript
Semyon Dubina, 2013-10-13 01:13:00

I'm expanding my knowledge of JS. What frameworks to study?

About a year, as it accidentally entered the web. Formerly C, system, unix, linux, postgres. Having learned all the delights of jquery and its libraries, I discovered and quickly closed cofeescript in horror . And today I came to the need for an adequate MVC framework ... I read about angular and backbone , but I did not find a comparison from one person who would have tried both ... Maybe there is something fresher and "advanced" that there are libraries for these frameworks, like compatible with Yii, how to avoid performance degradation? Or maybe there are some frameworks for connecting on top of the existing code? If you give a link to analytics on performance and distribution, it will be great.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey, 2013-10-13
@sam002

actually angular and backbone is not correct to compare. backbone provides only a general framework, helps to implement the model and synchronize data from the server, while angular gives a rigid mvc structure and a lot of goodies (the same data binding, directives, services ...) In fact, no one bothers you to use backbone and angular.js in a bundle (a model on the backbone as a service for angular or something else).
Regarding libraries, almost all libraries are not tied to the framework. In the backbone, it's better to use things like require.js to resolve dependencies. In angular.js, you can register a library as a service and use it through di. Well, there are also a lot of ready-made modules for it. So there is no point in getting attached to the framework.
Regarding compatibility with yii - if communication is done through the rest api - it doesn’t matter what it is implemented on.
I won’t give links ... Angular.js and backbone are doing very well with distribution, and with performance (well, how ... angular still has a sin with dirty change checking, but it seems like they are planning to transfer this whole thing to Object.obsorver). Previously, I used backbone, for the last half of the year everything has been completely on angular (from admin panels and single-page applications to phonegap, although for the latter it is more profitable to use backbone and to optimize ui severely, but this increases the time by an order of magnitude).

K
KEKSOV, 2013-10-13
@KEKSOV

Not so long ago, Polymer from Google appeared. It makes sense to spend time on it to broaden your horizons, so to speak, a very curious system. Well, the unforgettable todomvc.com will help you, except for you, no one can decide what you like best. And if we are talking about the industrial production of money earned by programming in JS, then, IMHO, the time spent learning ExtJS will be an excellent investment for your bright future.

A
Artur Zayats, 2013-11-29
@zag2art

Look towards derby.js and meteor.js - if you want both the client and the server on JS and reactivity (the user changed something - everyone else immediately saw it), if you only work with the frontend (only the browser, we don’t touch the server) - then your choice of angular.js

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question