• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
1 model per table or 1 model per controller?

#1
[eluser]TheActionCombo[/eluser]
Is it better practice to have 1 model for each table or 1 model for each controller? I believe following strict mvc it should be 1 model per table, but 1 model per controller makes more sense since many model methods will use multiple tables.


Messages In This Thread
1 model per table or 1 model per controller? - by El Forum - 08-20-2008, 07:24 PM
1 model per table or 1 model per controller? - by El Forum - 08-20-2008, 07:33 PM
1 model per table or 1 model per controller? - by El Forum - 08-21-2008, 01:35 AM
1 model per table or 1 model per controller? - by El Forum - 08-21-2008, 01:49 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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