Forum OpenACS Q&A: Re: General comments data model

Collapse
Posted by tammy m on
Hi Dave,

I was looking for a object_type to subclass with general-comments so that I could implement Search. I didn't think it would be the right way to implement the search on acs-message-revision because that object_type is not associated with a static-page and the Search contract needs to get a URL -- I wanted the URL to be to the static-page the general-comment is associated with.

It makes sense to make general-comments a subtype of content_revision directly if we really don't need to use a functionality that acs-message-revision + acs-message were providing.  I'm new to OACS so I am not really sure how much acs-message functionality general-comments relies on. If it's just storage I guess that would not be hard too to replicate.

I'll be looking forward to your data model + api:)