I have a requirement to develop a REST api for an existing Yii 1.1 app using Yii 2. Yii 2 will be the front app which will handle the request and then use the existing Yii 1.1 app for processing/information retrieval.
The example provided in the Yii 2 Guide is having Yii 2 app running inside Yii 1 where Yii 1 will be the front app receiving the requests. And my requirement is the other way round.
My requirement is, I have to use the existing Yii 1.1 app for processing the request. So it is better to do a Yii based REST api which will utilize the existing Yii 1.1 app.