Forum OpenACS Q&A: Response to Categories in OpenACS 4

Collapse
Posted by Neophytos Demetriou on
There is a generic data model in the acs_objects table using context_id. IIRC, it was not used for categorization due to a warning of not attaching any semantics to it. Anyway, I agree that a new acs-categorization package would be wonderful to have. I have a simplified version of the acs-objects data model from my efforts to learn more about the tree_sortkey mechanism. [Note: Don, I have only changed context_id to "not null". This avoids the tests in the trigger functions and IIRC it improves performance since there no null values anymore. I use a root object_id=0 and then add the constraints]. Don, if you think this is a good idea I can email it to Jun and he could adopt/evolve it into the categorization data model.