• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Resuable models

#2
[eluser]jedd[/eluser]
[quote author="Treeda" date="1249407944"]
(please ignore that i could use the same table).
[/quote]

Actually .. I don't think I will. Wink

At the moment you're asking for help to resolve a problem of your own creation, and you made the mistake of revealing that you not only know you're making a mistake, but you know how to fix it.

So .. go and fix your schema.

Having two mostly-the-same models, and two mostly-the-same tables containing book/magazine information, and two mostly-the-same tables containing book-comments/magazine-comments - is just plain silly.

And if you reckon the problems will be all over once you work out how to re-use a model .. well, allow me to disabuse you of this notion. A bad design sticks around like forever.


Messages In This Thread
Resuable models - by El Forum - 08-04-2009, 06:45 AM
Resuable models - by El Forum - 08-04-2009, 07:23 AM
Resuable models - by El Forum - 08-04-2009, 07:28 AM
Resuable models - by El Forum - 08-04-2009, 07:28 AM
Resuable models - by El Forum - 08-04-2009, 07:30 AM
Resuable models - by El Forum - 08-04-2009, 07:37 AM
Resuable models - by El Forum - 08-04-2009, 07:45 AM
Resuable models - by El Forum - 08-04-2009, 10:27 AM
Resuable models - by El Forum - 08-04-2009, 12:05 PM
Resuable models - by El Forum - 08-04-2009, 01:47 PM
Resuable models - by El Forum - 09-07-2009, 04:13 PM
Resuable models - by El Forum - 09-07-2009, 04:35 PM
Resuable models - by El Forum - 09-08-2009, 01:05 AM
Resuable models - by El Forum - 09-08-2009, 04:01 AM
Resuable models - by El Forum - 09-08-2009, 04:51 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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