Verzeichnisstruktur phpBB-3.3.16


Veröffentlicht
27.04.2026

So funktioniert es


Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück

Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis.
Auf den Verzeichnisnamen klicken, dies zeigt nur das Verzeichnis mit Inhalt an

      (Beispiel Datei-Icons)

Auf das Icon klicken um den Quellcode anzuzeigen

tuning-for-production.md

Zuletzt modifiziert: 01.05.2026, 11:26 - Dateigröße: 1.02 KiB


 01  ---
 02  title: Tuning the ProxyManager for production
 03  ---
 04   
 05  ## Tuning the ProxyManager for production
 06   
 07  By default, all proxy factories generate the required proxy classes at runtime.
 08   
 09  Proxy generation causes I/O operations and uses a lot of reflection, so be sure to have
 10  generated all of your proxies **before deploying your code on a live system**, or you
 11  may experience poor performance.
 12   
 13  You can configure ProxyManager so that it will try autoloading the proxies first.
 14  Generating them "bulk" is not yet implemented:
 15   
 16  ```php
 17  $config = new \ProxyManager\Configuration();
 18  $config->setProxiesTargetDir(__DIR__ . '/my/generated/classes/cache/dir');
 19   
 20  // then register the autoloader
 21  spl_autoload_register($config->getProxyAutoloader());
 22  ```
 23   
 24  Generating a classmap with all your proxy classes in it will also work perfectly.
 25   
 26  Please note that all the currently implemented `ProxyManager\Factory\*` classes accept
 27  a `ProxyManager\Configuration` object as optional constructor parameter. This allows for
 28  fine-tuning of ProxyManager according to your needs.
 29