Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
skurfuerst committed Apr 10, 2020
1 parent d731ba8 commit de2e3e2
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
Expand Up @@ -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');
}
Expand Down
24 changes: 24 additions & 0 deletions README.md
Expand Up @@ -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
Expand Down

0 comments on commit de2e3e2

Please sign in to comment.