Welcome Guest, Not a member yet? Register   Sign In
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



Theme © iAndrew 2016 - Forum software by © MyBB