How can create Master Child Forms in Yii

I am new to yii , CRUD is great and creating models based on tables. How can i manage to add as many as child records to parent item and update them. is there any extension avalaible or we have to custom code it. Please help me in this regard