# Plugin system in Elixir

**URL:** <https://forum.elixirforum.com/t/plugin-system-in-elixir/6791>\
**Category:** Questions\
**Tags:** architecture, how-to-question\
**Created:** [July 11, 2017, 11:41pm UTC](https://forum.elixirforum.com/t/plugin-system-in-elixir/6791 "2017-07-11T23:41:52Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![OvermindDL1](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/overminddl1/32/2677_2.png) [@OvermindDL1](https://forum.elixirforum.com/u/OvermindDL1)\
**Post date:** [July 12, 2017, 2:31pm UTC](https://forum.elixirforum.com/t/plugin-system-in-elixir/6791/9 "2017-07-12T14:31:29Z")

</div>

I just do plugins via `gen_event`, isn’t that the easiest and most built-in way?

Literally I just send an event at whatever hook points I want and let whatever is listening to them do whatever they want at that point.

`gen_event` has it’s share of problems that I fixed in an erlang replacement library long ago, like using monitors instead of links (`gen_event` predates monitors did you know? ;-)). Does Elixir have a `GenEvent` that uses monitors? I’ve not actually checked, I just use my Erlang library in Elixir thus far… \>.\>

---

_[View the full topic](https://forum.elixirforum.com/t/plugin-system-in-elixir/6791)._
