I'm working on a site that will have dynamic news content and the news has to go through some approval process, so I have two designs.. but I dont know which one to use.
Basically the news will have 3-4 stages that the news article can be in at any given moment.
1. News is written, but not submitted for approval.
2. News is approved or disapproved
3. News is either edited again (if disapproved), or approved
4. News is posted to the site.
My question is....
Should I store all the news information in one table and have an int field that stores a numeric value to show what stage its in? Such as stage 1 would be Written but not submitted, 2 would be approved, 3 disapprove, and so on and so on. This info would all be in one table. That theory works.... but there is also another theory that I have.
The other theory would be to have a written table, an approved table, a disapprove table, and a posted table. And the data just flows between the different tables for tracking and editing.
Which way would be better? Allow for expansion in the future?
Or is there another design that anyone can think of!!?
Thanx!!
kinl
Basically the news will have 3-4 stages that the news article can be in at any given moment.
1. News is written, but not submitted for approval.
2. News is approved or disapproved
3. News is either edited again (if disapproved), or approved
4. News is posted to the site.
My question is....
Should I store all the news information in one table and have an int field that stores a numeric value to show what stage its in? Such as stage 1 would be Written but not submitted, 2 would be approved, 3 disapprove, and so on and so on. This info would all be in one table. That theory works.... but there is also another theory that I have.
The other theory would be to have a written table, an approved table, a disapprove table, and a posted table. And the data just flows between the different tables for tracking and editing.
Which way would be better? Allow for expansion in the future?
Or is there another design that anyone can think of!!?
Thanx!!
kinl