Closed j3nsch closed 1 year ago
Die korrespondierenden Issues sind OPUS4/framework#234 und OPUS4/application#492.
Der Cache wird vom XML Code im Framework genutzt. Es müssen Interfaces definiert werden, das konkrete Cache-Objekt muss über eine Factory erzeugt werden. Wenn kein Cache konfiguriert ist, muss der XML Code auch ohne funktionieren.
Die Opus\Common\Repository
Klasse bietet eine Factory-Funktion für das Cache-Objekt. Das Interface ist Opus\Common\Model\Xml\XmlCacheInterface
. Das wird später vermutlich verschoben werden, da das XML nicht wirklich zum Model gehört.
Die Application soll unabhängig sein, von der konkreten Implementation des DocumentXmlCache.