REST Api as persitence layer

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.

Hi Toby,

I uploaded my ActiveResource extension 2 days ago. This does exactly what you are searching for. I use this to work with Neo4j (a Java graph database usable via REST) and ElasticSearch(a schemaless fulltext search engine on top of Lucene) and had no real problems so far. So my backend is purely REST

Hope it helps.