pbbg-io / titan-framework

https://titan.pbbg.io
MIT License
4 stars 1 forks source link

Event system #4

Open 1e4 opened 4 years ago

1e4 commented 4 years ago

Maybe just shove in https://github.com/tormjens/eventy ? Would allow events easily

calebanthony commented 4 years ago

What's the goal we're trying to achieve with this? Would it be acceptable to just use Laravel's existing Events?

1e4 commented 4 years ago

Yes this could be possible

On Wed, Apr 8, 2020, 1:29 PM Caleb Anthony notifications@github.com wrote:

What's the goal we're trying to achieve with this? Would it be acceptable to just use Laravel's existing Events?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pbbg-io/titan-framework/issues/4#issuecomment-610929842, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA427CVRBNOPR2AYI6L7OBTRLRU3LANCNFSM4KBILV4A .

KyleMassacre commented 4 years ago

I personally was envisioning something along the lines this: https://github.com/esemve/Hook It’s not really an event system but more for “hooks”. So for example: In a dashboard/admin panel form, someone can create a hook listener in the middle of a form in their plugin and another developer can add maybe some other form fields during runtime.