• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
witch one is better In this two MVC diagram Models?

#1
Exclamation 
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 ?

   
Reply

#2
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 the CodeIgniter Community in 2009.          ( Skype: insitfx )
Reply

#3
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.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2017 MyBB Group.