in reply to Too Hash Happy?
You might consider introducing classes such as MaterType and (since I guess there's more than only text) TextType. The way you structure your data suggests you're thinking of it as objects, so why not go all the way?
Just my 2 cents, -gjb-
|
|---|