I am a little confused as to the difference between these is? Please can someone give me an example of where you would use each of these (and any other similar ways of incorporating repetitive code across multiple pages). I specifically can't fathom out components from the manual.
Yes, if only presentation is needed and you want to reuse it, you can define it as a partial view and use renderPartial to render it at appropriate places.
I greatly like the idea of extending the Blog demo present in Yii. Are you looking for new members to your project? I think this can be a great learning experience for me.
i need your help. i want a ajax search function in my projects. i will use jquery. there will be a search box above with some other fields and a search button.after clicking this button search result will come below the page without page refreshing(not like cgrid or clist view).so for this which one i need create widget,component?