+1 on killing decorators (and finishing 4.0 work) - Dave
On 7/5/07, Allen Gilliland <[EMAIL PROTECTED]> wrote:
Anyone else have comments on this? I am trying to finish up 4.0 work so I'd like to get this resolved in the next day or two. -- Allen Dave Levy wrote: > I have no idea what these are; it seems that not all themes use them. > > I agree with you're assertions and conclusions > > Allen Gilliland wrote: >> I have a couple gotchas happening in the theme code related to >> decorators and in order to fix them I need to have a better idea of >> what we want to do with the decorator templates long term. >> >> My opinion is that we should be EOLing them and trying to phase them >> out. IMO the decorator stuff is confusing for users and at the end of >> the day the same thing can be accomplished using #includeTemplate() >> calls which are easier for users to understand. >> >> Anyone else have strong opinions about this? >> >> If we want to keep decorators around then we are going to have to >> provide better support for them, meaning a way to enable/disable >> decorating of templates via the UI as well as the ability to specify >> templates that should be decorated in theme descriptors. Up until now >> the decorators have largely been an under the hood feature (a.k.a a >> hack) that wasn't really publicized much and we've never offered users >> any real control over the decorating process. So deprecating it >> should be quite safe. >> >> -- Allen >
