Task #1795
Restructure Node Architecture
Status: | Resolved | Start date: | 2008-10-23 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Sebastian Kurfuerst | % Done: | 0% |
|
Category: | - | |||
Target version: | - | |||
Has patch: |
Description
Currently we have:
- AbstractNode [implements NodeInterface]
- * ObjectAccessorNode
- * TextNode
- * DynamicNode
- * RootNode
NodeInterface contains four methods renderSubtree(), evaluateSubtree(), addToContext(), removeFromContext(). They are actually only supported by DynamicNode. So we rather need something like:
- AbstractNode
- * ObjectAccessorNode
- * TextNode
- * DynamicNode [implements TreeInterface, ContextNodeInterface]
- * RootNode [implements TreeInterface]
("TreeInterface" and "ContextNodeInterface" are no adequate names at all, I just can't think of better ones at the moment).
History
#1 Updated by Sebastian Kurfuerst about 6 years ago
- Status changed from New to Resolved
already resolved