From de2e3e27c4df787ceb81ef01e42e3e945cc40704 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kurf=C3=BCrst?= Date: Fri, 10 Apr 2020 07:23:33 +0200 Subject: [PATCH] WIP --- .../src/OverloadClass2.php | 3 +++ README.md | 24 +++++++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/DistributionBundles/composer-proxy-generator/src/OverloadClass2.php b/DistributionBundles/composer-proxy-generator/src/OverloadClass2.php index d0d418b..43d27bb 100644 --- a/DistributionBundles/composer-proxy-generator/src/OverloadClass2.php +++ b/DistributionBundles/composer-proxy-generator/src/OverloadClass2.php @@ -19,6 +19,9 @@ class OverloadClass2 public static function pre(Event $event) { + // Clears the symfony cache - this is needed because otherwise, if the symfony cache is already filled + // through a web request, we get an error PHP Fatal error: Cannot declare interface Psr\Log\LoggerInterface, because the name is already in use in /Users/sebastian/src/symfony-flow-experiment/experiment/vendor/psr/log/Psr/Log/LoggerInterface.php on line 20 + // no clue why... $fs = new Filesystem(); $fs->remove('var/cache/dev'); } diff --git a/README.md b/README.md index 8484700..8771946 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,30 @@ https://symfony.com/doc/current/service_container/lazy_services.html https://github.com/Ocramius/ProxyManager +- AOP + - Unplanned extensibility: "I want to override a certain method ("anywhere") -> "Patching escape hatch" (see this repo) + - Security Framework in Controllers -> Symfony Security + - Security Framework in Entities -> could be possible via Doctrine Proxies?? + - Security Framework ANYWHERE -> DO WE NEED TO SUPPORT THIS?? +- Dependency Injection -> Service Container + X + - DI in Prototypes -> do not recommend in the long term; we can do that; but maybe not recommended? + - DI in Singletons via Flow\Inject -> we could do this via this prototype; TODO maybe do not use this in Neos core, but use Constructor Injection instead + - get all instances of an interface -> Tagged Services + - get all instances of an annotated class -> TODO replace via marker interfaces +- Cache Framework -> Symfony Cache +- Validation -> Symfony Validation +- Eel -> Symfony EL +- Flow MVC -> Symfony MVC +- Fluid ?? TODO UNSURE +- Signals / Slots -> Event Dispatcher +- Flow conventions -> Symfony Flex conventions +- Resource Management -> +- Translation -> Intl +- Flow Security -> Symfony Security +- Property Mapper -> Drop (Serializer) + +- In Neos Core +- Flow Inject to Constructor Injection - Dependency Injection einfacher