Uploaded image for project: 'Commons Jelly'
  1. Commons Jelly
  2. JELLY-140

TagLibrary should have either createTagScript OR createTag in its public API

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.0-beta-5
    • Fix Version/s: None
    • Component/s: core / taglib.core
    • Labels:
      None

      Description

      At the moment, TagLibrary has two methods in its public API: createTag (not used much, if at all) and createTagScript.

      I see this as a split personality for the TL that should be removed. Either the TL is responsible to resolve a tag name into a TagScript (which cretes the Tag implementation), or it's responsible to resolve a tag name into a Tag implementation.

      From an API perspective, I don't think that a TL should be allowed to do both of these things.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              hgilde Hans Gilde
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: