Skip to content

Future? #97

Description

@fprochazka

I have the following idea:

  • move the support for lazy EventManager of Doctrine to Kdyby/Doctrine, like symfony has it
  • this extension will only provide events mechanism for Nette (possibly rename to kdyby/events-nette?)
    • should we completely drop all custom code and base it of Symfony/EventDispatcher?
    • should we continue to support custom impl of EventManager?

The thing is, I don't think mixing the event mechanisms is a good idea anymore. I think you should be able to use both systems independently, without collisions.

  • You wanna create a listener for symfony/console? Great, use Symnedi/EventDispatcher and bind it there.
  • Wanna create a listener for some "nette events?" ok, use Kdyby/Events listener.

What do you guys think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions