What to write a front-end part of project(backbone, Angularjs, etc.)?

C js do not often work and try to do everything in php(the render), but now it is not comme Il faut every time you click reload the page, I want a new order(in a few months of work) to make dynamic. The website will be something like a social network, with competitions and games in the achievements, chat rooms, blogs, and more.

Tell me what framework or library we should choose, maybe links to articles or just the pros and cons?

Not very complex, documentation.

The project will be in php, Yii2.
Can do REST API in nodejs websoket for communicating with a front-end part

A lot of articles on all sorts of things, but since not understand, do not want to make the wrong choice.
July 2nd 19 at 14:16
4 answers
July 2nd 19 at 14:18
I: Angular / React that prefer.
I prefer React.

Backbone still comes across in the job, but I see no reason to write a new project for him to explore. Vue comes in the job less than angular/react.
July 2nd 19 at 14:20
But his Yii2 there is no official recommendation? Here's an example Laravel befriended Vue.js look in her direction, it's easier than you listed.
+1. As the last living backbones with experience in Angular and React, and we highly recommend it Vue.js. - genevieve_Upton commented on July 2nd 19 at 14:23
: Why is it Vue.js ? Where to find projects to work on it? - annie90 commented on July 2nd 19 at 14:26
Enough, just how it will help you in your project with the solution to your problems? - Richie_Hyatt commented on July 2nd 19 at 14:29
: lots of reasons. No need to learn a new syntax as React or Angular 2 -- templates simple html (although you can use a JSX if you wish). Problems such as "the state of the updated UI and why some do not" inherent, for example, Angular (and sometimes React) absent. Optional to connect the redux to get a decent architecture (though there are redux and its decision vuex other options). Not necessarily to fuck with babel+webpack/gulp at the start. Simple API. Small size. There is a virtual DOM and as a consequence of SSR.
The community is less than Angular and React, but the issues will be much less. I researched the vue + vue-router + vuex for two or three nights.

The list of projects here: https://github.com/vuejs/awesome-vue#projects-usin... - genevieve_Upton commented on July 2nd 19 at 14:32
July 2nd 19 at 14:22
I do androidразработчик for your project, chose the react of the advantages of a good backward compatibility (the stone in the direction angulr) lack of magic and good documentation, and with the General simplicity
as an extra + in your case, if necessary, the client can be viewed in the direction of react native

ps anything more complicated ajax request in js did
July 2nd 19 at 14:24
The simplest option is to use one of the SaaS comet servers https://habrahabr.ru/company/comet-server/blog/273573/ when your server requests to ship will not have and will work quickly.

Find more questions by tags JavaScriptBackbone.jsReactAngular