P
P
pantsarny2015-05-03 13:56:20
JavaScript
pantsarny, 2015-05-03 13:56:20

Which MV* JS framework should you start learning?

Good afternoon, dear colleagues! At the moment I am a back-end developer, writing in PHP, my favorite framework is Yii. There was a desire to start learning the MV * JS framework in order to develop hybrid mobile applications based on PhoneGap. I studied several articles, looked at pages comparing frameworks, but I could not choose anything. Each framework has its pros and cons. I want something similar to Yii, but in the context of JS :) I want to make SPA applications, keep views in separate files, communicate with the API using RESTful. AngularJs is mentioned most often, hence the additional question, study the second version or the first?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey, 2015-05-03
@pantsarny

I want something similar to Yii, but in the context of JS

God forbid.
Ionic + angular to start more than. There is also famo.us for beautiful UI, etc. As a rule, they use Angular, but you can do everything on React + Flux, but there are more ready-made solutions for Angular, at least at the moment. The only tangible disadvantage of Angular is that it is vicious. That is, it is cool and cute, but, like Yii, it provokes developers to use not very beautiful solutions. Let's say you can be tempted to solve the problem head-on and kill the performance of the framework with a fat dip-watch in the controller.
The second one hasn't come out yet. It is enough to take the first one, arm yourself with ES6 / 7 through babel.js and try to adopt practices from the second for the first one (for example, the service layer can be transferred just like that, copy-pasted almost, there will be more trouble with directives, but again there are tips on how best to write directives that then it would be easy to use this case in the second version).
Most frameworks will only offer you a relatively low-level web API. There is also Ember.data, there is also js-data, although I think for a start it will be an overhead for you. Or maybe not.

T
Tim Bloss, 2016-07-10
@livecodingtv

choose blog.livecoding.tv/2016/07/06/top-10-js-frameworks

S
smanioso, 2015-05-03
@smanioso

Look this way:
- touchstonejs.io
- https://facebook.github.io/react-native/
- https://www.nativescript.org

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question