• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Good coding practice ???

#3
[eluser]xwero[/eluser]
I would spit the database table in blog and news and then you also can add fields one section requires and the other one doesn't. For instance adding a traceback id to the blog table.

Create 3 controllers; site (landing page, comments), news and blog. The reason why i put the comment function another controller is because the comments data is the same for both sections.


Messages In This Thread
Good coding practice ??? - by El Forum - 07-11-2008, 04:40 AM
Good coding practice ??? - by El Forum - 07-11-2008, 04:47 AM
Good coding practice ??? - by El Forum - 07-11-2008, 05:02 AM
Good coding practice ??? - by El Forum - 07-11-2008, 06:06 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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