Elixir Repository/Gateway Implementation
Today I started an Elixir practicing project on Github, named ‘repox’.
The aim of this is to implement the repository-pattern with Elixir.
- A
GatewayServer
(OTP GenServer) gets started with a 'Gateway’ injected as a dependency. - The
GatewayServer
implements functions forput
,to_list
,where
, and so on. - Where a
Gateway
can be any module implementing the Gateway-protocol.
Feel free to clone and join at Github.com/iboard/repox
Find an online version of mix docs at static.iboard.cc
Thank’s Valim for Elixir!!