Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-9875

Cache plugin refactoring

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Duplicate
    • 3.0.7-PL1
    • 3.1.0-a1
    • Caching (ACM)
    • None

    Description

      Cache (ACM) plugins currently define a class named 'acm' which is then extended by the 'cache' class that makes use of the cache functionality.

      This is bad design and leads to problems with extensibility (you cannot extend a plugin). It also leads to problems with facebook's HPHP (aka hiphop) because there are multiple classes with the same name.

      Cache plugins should implement a common interface, have their own class name (ideally autoloaded). The 'cache' class should take an instance of the cache plugin and can provide a __call() delegate/proxy fallback for backward-compatibility.

      Attachments

        Issue Links

          Activity

            People

              igorw Igor Wiedler [X] (Inactive)
              igorw Igor Wiedler [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: