C
C
Cacatuidae2017-05-14 22:34:27
Yii
Cacatuidae, 2017-05-14 22:34:27

What to use React+flux+request or angular 4?

Please tell me what is better to use when creating such a package:
1. You need to write a tree-like list like www.treejs.cn/v3/demo.php#_102 (not all functionality), which should be able to:
1.1. Load by ajax + update when needed
1.2. Remove NODE (ajax) with all sorts of custom confirm, additional checks (ajax) and other + *EVENT (after & before)
1.3. Insert NODE (form loaded via ajax) + *EVENT (after & before)
1.4. Sorting NODES
1.5. Load the form depending on the selected NODE in the list + *EVENT (after & before)
2. Form for editing or creating a NODE. Features:
2.1. The form fields are dynamic and depend on the entity type
2.2. The form must be able to influence the state of the NODES list (for example, the form has a `name` field, changing which changes the label of the NODE itself in the list)
*EVENT (after & before) - subscribers to such an event must be able to subscribe from OUTSIDE of the components triggers, for example, from the jQuery plugin.
All this should still work with ActiveForm (yiiActiveForm.js) from yii2

Answer the question

In order to leave comments, you need to log in

3 answer(s)
Y
Yuri, 2017-05-15
@riky

vue

K
KnightForce, 2017-05-15
@KnightForce

React will do the trick.
I haven't used Angular, but compared to jQuery, React is way better. Makes it easy to do something so cool that jQuery is difficult to implement.
It's like using only html attributes to style the page, and then start using css.)

A
Alexander Trakhimenok, 2017-05-15
@astec

I think that Angular will, if not yet, be more in demand in the corporate sector and, accordingly, salaries for it will be on average higher than for React. But top salaries can be higher for React.
I don’t know anything about Vue, but I think Angular and React will be more popular in the end.
I chose Angular for my pet project https://DebtsTracker.io - debt tracking software. It is with an eye on further employment.
Which I advise you because so far everything is pleasant.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question