I am trying to use combogrid jquery plugin in yii framework. I have converted it as an widget extension in yii and extended CJuiInputWidget for that. Now I have placed the server.php file which is used for generating the json values in the entry script folder of yii, that is where index.php resides and is working fine. But I want to place the server.php inside the combogrid extension folder. Is it possible to create views inside the extension folder. I also want to create a model for running the sql queries for generating json. What is the best approach to convert server.php into the extension. Please help.
Thanks in advance.