S
S
Semyon Semyonov2016-12-21 10:03:47
API
Semyon Semyonov, 2016-12-21 10:03:47

What would you recommend in terms of the front for the rail API?

I'm a little behind the times and I don't know what the right guys are using now :) Ie. never used Angular, React, Backbone, Ember, etc. but I've heard of them. True to the ear.
The bottom line is ... I'm doing an API here and I need a front, that is, I need someone / something to work with json and with AJAX. I would like to separate view. I would also like to have a low entry threshold, not a lot of desire to sit down in newfangled things for six months.
I used to use erb and was happy, but now I need to move to the API architecture, so I'm looking for what to do with the front. Can you give an opinion?
Thanks

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
Risent Veber, 2016-12-21
@man_without_face

React, especially since the latest release of rails introduced webpack to build the frontend.

R
Rou1997, 2016-12-21
@Rou1997

I would also like to have a low entry threshold, not a lot of desire to sit down in newfangled things for six months.

Start with simple jQuery, and when you understand all the processes and that you need a framework or just want to, then study the framework.
The Chinese and Indians are able to do this all their lives and write without frameworks every time to "copy-paste", the result is important to them and not "show-offs", there are many successful projects like this, because if you develop analytical thinking, then no matter how much code you will not get confused in it, and for Asians, it seems to me that such thinking is especially developed from birth, look at their hieroglyphs, European programmers should also develop analysis, it is useful in any case.
I’m not saying that the “Chinese” approach is suitable for anyone, I would simply get bored without the new one, but this would happen after I wrote a lot of code, and if it’s hard to understand frameworks right away and it seems that they only complicate and slow down development, and this indeed, they are far from ideal, and therefore it is difficult to find a use for them in helloworld.

R
Roman Mirilaczvili, 2017-01-16
@2ord

If you start with a simple, but not primitive, then perhaps Vue.js (MVVM). There are plugins that extend the functionality.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question