tfit
04-07-2008, 07:01 PM
I spend to much time figuring out how to do my normalization. It needs to get implemented soon. :) In fact I'm too late already. I have to make a site which has daily items and subitems accessed through the main page. However not all of the subitems will be update daily. I have tree possible solutions, but I have alot of repeating data or empty cells. Can someone offer me to a better solution?
Solution 1: problem empty cells
---------------------------------------------------------
|date |home | rites | maidens| tedeum | triumph |
---------------------------------------------------------
|20080402 |xxbx | | cccx | | xxxyxx |
|20080403 |xxrx | | xxcx | bbbbbx | |
|20080404 |xxxx | bbbxx | cccxx | bbbx | |
|20080405 |xxcxx | xxxyxx | xxxcx | | xxxxy |
---------------------------------------------------------
solution 2: problem repeating data, many tables note: just 3 tables listed
----------------------
|date | home |
----------------------
|20080402 | xxbx|
|20080403 | xxrx|
|20080404 | xxxx|
|20080405 | xxcx|
----------------------
----------------------
|date | rites |
-----------------------
|20080404 | bbbxx |
|20080405 | xxxyxx|
----------------------
-------------------------
|date | maidens |
-------------------------
|20080402 | cccx |
|20080403 | xxcx |
|20080404 | cccxx |
|20080405 | xxxcx |
-------------------------
solution 3: problem again repeating data
------------------
|id| name |
------------------
|1 | home |
|2 | rites |
|3 | maidens |
|4 | tedeum |
|5 | triumph |
|----------------|
---------------------------------
|id| date | title|
---------------------------------
|1 | 20080402| xxbx |
|3 | 20080402| cccx |
|5 | 20080402| xxxyxx|
|1 | 20080403| xxrx |
|3 | 20080403| xxcx |
|4 | 20080403| bbbbbx|
|1 | 20080404| xxxx |
|2 | 20080404| bbbxx |
|3 | 20080404| cccxx |
|4 | 20080404| bbbx |
|1 | 20080405| xxcxx |
---------------------------------
sorry about the wiggling :mad:
Solution 1: problem empty cells
---------------------------------------------------------
|date |home | rites | maidens| tedeum | triumph |
---------------------------------------------------------
|20080402 |xxbx | | cccx | | xxxyxx |
|20080403 |xxrx | | xxcx | bbbbbx | |
|20080404 |xxxx | bbbxx | cccxx | bbbx | |
|20080405 |xxcxx | xxxyxx | xxxcx | | xxxxy |
---------------------------------------------------------
solution 2: problem repeating data, many tables note: just 3 tables listed
----------------------
|date | home |
----------------------
|20080402 | xxbx|
|20080403 | xxrx|
|20080404 | xxxx|
|20080405 | xxcx|
----------------------
----------------------
|date | rites |
-----------------------
|20080404 | bbbxx |
|20080405 | xxxyxx|
----------------------
-------------------------
|date | maidens |
-------------------------
|20080402 | cccx |
|20080403 | xxcx |
|20080404 | cccxx |
|20080405 | xxxcx |
-------------------------
solution 3: problem again repeating data
------------------
|id| name |
------------------
|1 | home |
|2 | rites |
|3 | maidens |
|4 | tedeum |
|5 | triumph |
|----------------|
---------------------------------
|id| date | title|
---------------------------------
|1 | 20080402| xxbx |
|3 | 20080402| cccx |
|5 | 20080402| xxxyxx|
|1 | 20080403| xxrx |
|3 | 20080403| xxcx |
|4 | 20080403| bbbbbx|
|1 | 20080404| xxxx |
|2 | 20080404| bbbxx |
|3 | 20080404| cccxx |
|4 | 20080404| bbbx |
|1 | 20080405| xxcxx |
---------------------------------
sorry about the wiggling :mad: