Why create a separate application for RESTful API?

前端 未结 3 1887
太阳男子
太阳男子 2021-02-09 05:17

In the guide for Yii 2 it is said:

While not required, it is recommended that you develop your RESTful APIs as a separate application, different from yo

3条回答
  •  一个人的身影
    2021-02-09 06:02

    This article explain the idea and the why , also it provide you a starter project called "yii2-advanced-api": http://budiirawan.com/setup-restful-api-yii2/

提交回复
热议问题