How to handle complex form with multiple models and tabular input in yii
问题 I've read a lot of documentation about how to handle models and forms in yii and I've found a solution that works for the case that I explain following, but the problem is that the code is complex to write and to maintain, so I'm looking for suggestions. The case is the following: I need to save together two different models and a third model that is a tabular input (more instances of the same model). For instance, I may want to save a Blog post (first model) with the author information