From: Steve S. <ste...@co...> - 2003-12-05 22:23:48
|
So I've gotten further. I'm building a documentation class for docs. we have outside of OI, using the system_doc package as a model. So far, so good. I have a design question: One part of this package will be a set of matching rules that will categorize our packages. This can be done with an array of hashes in Perl. I think it makes sense to define those rules as SPOPS data for my package. Once I've done that, I assume that there's nothing bad about either handing all that back to the template, or having my handler use it directly? The reason I ask is that all examples seem to hand it up to the template. I have at least one method in my handler where it seems to make sense to fetch_group, then directly (in the handler method) iterate and filter to pare down what I return to the template. Is there any downside to this? Anything that goes against good design? -- Steve Sapovits ste...@co... |