witch one is better In this two MVC diagram Models? |
we are design two kind of MVC models that you can see in picture below . in first diagram , we have one controller that can work on routers ." Decide Library " , is for deciding that witch model wee need for Route that comes to controller .
in second diagram , we have one controller that has some Sub Controller by the routes , each sub controller can decide witch model can be include . sorry if i cant explain good . my question is that witch one is better for bigData ?
I believe in one model per controller to keep things simple to modify later.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
I think you're going to find that if your website has any real complexity that there is not going to be one way of doing things.
|
Welcome Guest, Not a member yet? Register Sign In |