yii-gii
yii-gii copied to clipboard
Make Gii accessible via Restful API
Right now you have to use Forms to submit information in Gii. That is good, but it would be better if we could do code generation via an API. That will remove the need for Tools (IDEs et al) to be able to generate things using their own “forms” and just POST to API, than now when you have to use ./yii for generating codes automatically.
Using ./yii in code generation is difficult (you have to manage the launched process on different thread to avoid blocking the UI which adds overhead). Also managing response message especially in case of error is difficult.
My Proposal is: 1. Move all Gii functionalities to REST API 2. The current UI should be only a front end to that API
The Topic was discussed here before this issue was opened