Added roller-dev to the CC line...
On Jun 20, 2006, at 9:05 PM, Allen Gilliland wrote:
how come we need WeblogEntryPluginsHelper? i thought we were going
with overriding pojo methods?
Yes, I'm not happy about the current situation.
The problem is that:
1) Some plugins need to do some weblog specific setup, to read the
bookmark collection for example. To optimize performance, it's best
to init the plugins upfront. If that cannot be done upfront, then it
must be done each time entry text is to be rendered.
2) Some plugins need access to the Velocity context so that they can
add new objects.
For #1, perhaps the weblog entry object could do some plugin caching.
For #2, I think we should change plugins so that they do NOT add
things to the context , since the mechanism for adding things to
context is to use page models.
Any ideas? Opinions?
- Dave