how to get information to another app

Hello everyone

My English is not good.

How can I get to the object in the backend of fontend

For example, when accessing backend.xxx.com

$ backapp = yii :: $ app;

Is there any way

When I visited the backend can get to fontend object?

$ fontend = ???

Thank you for your answer.