Yii-Rest Structure

Yii Guide somewhere Prefers Rest API be a separate App.

[list=1][]What are advantages of having it separate App? What is recommended Directory Structure with Advanced Template[] What IF I use Rest API as a module? Any Pros and Cons?[*]What do You guys use?[/list]TIA,

Stefano

I made api as a module of frontend app in Advanced Template. No cons to my opinion. Url looks this way: http://mysite/api/