C
C
ch-aqwer2017-02-13 19:58:02
JavaScript
ch-aqwer, 2017-02-13 19:58:02

Frontend for YII2?

Good afternoon! Please advise a set of technologies (frontend) for the project.
The backend of the project will be in yii2. The site itself will consist of a large form that will record data and the ability to then download this data, filter this data, and a couple more ordinary pages.
And the question is, what to choose for the frontend of this project? You need something other than jquery.)
At the moment I have a year of experience with js, jquery and layout.
I would like to learn a new javascript -framework (-library) that would be suitable for yii2.
Would react/redux be suitable for this project (at the moment I'm actively studying)?
I would be very grateful for advice)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Doniy, 2017-02-13
@doniys_a

Yes, in principle, to hell with it with the front-end framework.
If we follow the division into the front and back of the application, then the logic on the front is its own, on the back it is its own, and the interaction is through the REST-API. And what to choose - what is closer to you, what you understand better, what you can build an application on, and not a set of crutches, Vue, Angular, Marionette, React / Redux and other tools - everything will do.
It is important to simply initially lay down the architecture of the frontend application. If you initially poorly think over the structure and interaction of the components, you will cry!)
And as a matter of fact, front-frameworks are not at all sharpened for a specific back-end framework, no matter yii2, laravel, symphony, django, ror, and so on. All the same, they communicate through requests in the end, or in the simplest version: synchronous work, when most of the rendering is given to the server.
Of course, I saw implementations when html is returned at the request stage and inserted in the right place, and even such nonsense, alas, had to be written, due to the lack of time and work requirements without reloading individual forms and their validations, but why do you need frontend in this case? framework?)))

S
Stepan Krapivin, 2017-02-13
@xevin

there is no frontend framework that "fits yii2".
Choose absolutely any front-end technology, be it angular2, reactjs and others like them

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question