E
E
EvgMul2019-02-02 20:11:25
Yii
EvgMul, 2019-02-02 20:11:25

How to properly organize the work of frontend and backend in Yii2?

Hello, the essence of the question is as follows. Not so long ago we received an order to develop a large site. It was decided to make it on Yii2 and front on their assembly buns. As a result, we implemented the work of the front on a separate repository, from where the backend developers took the finished html / css / js pages and pulled them onto the framework.
As a result, problems began in matters of making changes and edits from the frontend. Those. if the question was only to update the js / css files, then this is still quite tolerable, but when there were changes in the html structure, the nightmare for the keyband began. Because it was problematic to find and make changes to the hired layout.
So the real question is, how do you organize work in this regard? How to properly adjust the frontend developers with their webpacks, lesss and other things to the Yii framework so that the backend guys do not have to constantly update styles and even more so make changes to the html structure?
Thanks in advance to all who respond.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Fedorov, 2019-02-02
@EvgMul

  • or change the architecture - make a SPA so that api responses only arrive from the back, the fronts do everything themselves, use their own template engines, they would completely collect everything
    Otherwise, everyone here will understand you - a nightmare, not a job

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question