Yii as a content provider

Sometimes, for migration reason or development of components I need to develop outside Yii. I will be happy that instead of application run in index.php to have an application “call”(???) that can access a certain route (as a parameter) and returns the rendered result. In that case the Yii application is not functional as is, just provides content for other applications.

Maybe that could render some issues with assets but I’m sure that can be configured.

Let’s say we will have two types of projects: webapp and weblib

What do you say?

Regards,

Paul