I think the YII Framework should support using restful apis instead of for example mysql.
There needs to be a generic, overwritable/extendable service to this.
Everyone who is building a scalable web app nowadays is using a rest api in between the web-side and database.
Better to cope with bottlenecks, easier to scale, etc…
However right now it does not allow you to work with ActiveRecords when using a rest api.