How to embed a web widget from Yii web application

I am wonder is there any topic discussing about how other websites can use a web widget from a Yii web project.

You’ve raised a duplicate:

Thanks bettor, I encountered submission error initially, where I unaware it is posted. BTW, how to erase the duplicated post?

Do you know any thread that discussing about the topic?