Phoenix Blog Posts

[I still do not have permission to make a new topic from an existing post]

I have my program split up into a set of Modules, each module has a Router, which is called from the main Router like:

    use MyServer.Routers.MyModule, base_scope: "/mymodule"

And those routers implement behaviours, and they have a set of callbacks such as building a menu drop-down on the top titlebar, setting a page title, etc… It seems very elixir’ish to me and easy to extend (or remove if I need to bulk-remove a module). :slight_smile:

2 Likes