Welcome Guest, Not a member yet? Register   Sign In
Models in Model, Composite Model,design problem, how to do?
#1

[eluser]Imkow@CN[/eluser]
As my project is getting big and messy, each single model can't accomplish the job. A complex model seems needed.
For example: my Article model might need to contain Tag model (handling tags), File model(handling uploaded files) and Categroy Model(handling categroy infomation). Together, they form an article object handling post,view,updates of each article.

But in CI, how do i write the model object that makes use of many sub-objects?($this->load->model is way not capable enough) or CI has some special way to deal in such scenario?


Messages In This Thread
Models in Model, Composite Model,design problem, how to do? - by El Forum - 07-21-2007, 05:05 AM



Theme © iAndrew 2016 - Forum software by © MyBB