Thank you for this great, thought-provoking reply. It has certainly got me thinking about how to group the data and operations that need to be performed on the data.
In relation to specific issue of the data that have been classified class data, the data can be classified like this:
These data are hierarchical so that data related to objects in a sub-class may override the defaults set in the superclass. These data follow the class structure of the objects to which they relate.
What your post made me realise is that data such as access data don't necessarily have to follow the class structure of objects themselves. So, for example, whilst objects of class Node have access data of type Access::Node. Its subclass Node::HTMLData doesn't have to inherit its access data from Access::Node (although it could), perhaps its access data could come from Access::HTMLObjects.
I'm going to give this some further thought and tweak some of the code - (first step will be to move the access methods into roles, I think).
Thanks for your help.
In reply to Re^2: Moose, Metadata and the Everything CMS
by Nomad
in thread Moose, Metadata and the Everything CMS
by Nomad
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |