Answer the question
In order to leave comments, you need to log in
On what to develop the interface for yii2?
Hello!
I have a task: to rewrite the internal corporate service (it contains a view of goods, a basket, a configurator of goods to order, a view of created orders). on a newer technology stack. Now it's a pile of css, html, js, php files with a terrible structure. The project is 10 years old. It works, the interface needs to be changed, because. it is written in extjs 4.2 (rather few features + glitches when working with the cache (scrolling the list works every other time, because the cache is full)).
I took yii2 as the main framework for the backend - somehow it was easy for me. Immediately, I began to make pages with tables, a basket. But here's the problem, it seems to me that creating an interface using standard yii2 tools is not the best way, because. the whole interface is php+html+css. Somehow I do not want to interfere with everything in one heap. Because looking towards the old project, the distinction is clearly visible: an html page was created, js files were connected to it, the interface was written in js files, and php files were already called via ajax. In the old project, it is clear that everything is on the shelves, although it is a chore to maintain it all, because. the project grew rapidly.
I would also like to organize a new project on yii2.
Can anyone tell me which framework is easier to cross with yii2? I will be very grateful =)
Answer the question
In order to leave comments, you need to log in
If you want to completely separate the frontend from the backend, then set up yii2 as an API application, since the basic functionality for this is there, and write the frontend in angular / angular2, they go together pretty well, at the moment I myself support a project with such a bunch, and for now flight is normal.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question