Hi guys!
I’m a great fan of Yii over other popular frameworks, and back in Brazil I used to spread the word of Yii instead of bulky frameworks such as Symfony or Cake for general, full-stack applications (my point of view).
One of the things I really like about Yii is the easiness of using controllers, helpers, behaviors and the AR models.
However, recently I’m developing a system with separate components: Mobile app, web front-end, and browser extension. Everything would ideally be backed up by a REST service. However, I found cumbersome to work with this on Yii, since it would add a lot of work to make the RESTful routes working… Yii routing system is great for websites, but it’s boring for REST stuff - specifically, I find hard to define verbs on routes (and having equal paths for different verbs) and working with parameters that did not came from GET/POST in the controllers.
How about a better way to work with those parameters, and a more lightweight router? Maybe a different component in place of it, where we could focus on verbs and map that easily to controller actions…
Someone have already shown here Laravel and it’s REST controllers, and I’m currently using Restler for this work, although I had to find another AR and migration libs, and so on. I thought about using Yii classes, but as they are all packaged in the same place, I decided to go for standalone libs.