4 ms·
You should check out what the Elixir folks are doing with Ecto. I'm a huge fan so far!
by _asummers 10y ago
You should check out what the Elixir folks are doing with Ecto. I'm a huge fan so far!
- ci5er 10y agoThanks for the pointer. I'm already using BEAM in a project, so that wouldn't be a bridge too far for that one...
- _asummers 10y agoConceptually, everything is a Schema and then you generate Changesets for DB operations like insert, update, etc. and apply various validations and transformations as a chain of function calls on the input map. No such thing as a model anymore. It fits really nicely with a data > functions mindset.
- ci5er 10y ago> It fits really nicely with a data > functions mindset. That will probably confuse my procedural mind, much like declarative "stuff" often does! :-)