#elixir #phoenix #many #association
Many to many associations in elixir and phoenix
https://dev.to/ricardoruwer/many-to-many-associations-in-elixir-and-phoenix-21pm
Many to many associations in elixir and phoenix
https://dev.to/ricardoruwer/many-to-many-associations-in-elixir-and-phoenix-21pm
DEV Community
Many to many associations in Elixir and Phoenix
I was creating the website of a construction company, so I had 2 schemas: properties and amenities. O...
#elixir #phoenix #ecto
Fast ordered model in phoenix with ecto_list
https://dev.to/popo63301/fast-ordered-model-in-phoenix-with-ectolist-25g7
Fast ordered model in phoenix with ecto_list
https://dev.to/popo63301/fast-ordered-model-in-phoenix-with-ectolist-25g7
DEV Community
Fast Ordered Model in Phoenix with ecto_list
. Tagged with elixir, phoenix, ecto.
#elixir #phoenix #paginator
Create a paginator using elixir and phoenix
https://dev.to/ricardoruwer/create-a-paginator-using-elixir-and-phoenix-1hnk
Create a paginator using elixir and phoenix
https://dev.to/ricardoruwer/create-a-paginator-using-elixir-and-phoenix-1hnk
DEV Community
Create a paginator using Elixir and Phoenix
I'm writing this for the same reason I wrote about creating a sitemap.xml, I could find only solution...
Using benchee for elixir performance tests
https://medium.com/@dkerrious/using-benchee-for-elixir-performance-tests-9cac8201f9aa
https://medium.com/@dkerrious/using-benchee-for-elixir-performance-tests-9cac8201f9aa
Medium
Using Benchee for Elixir Performance Tests
Benchee is a useful tool if you find yourself in a situation where you need to test the limits of a system or need to define the behavior…
State management with phoenix liveview and liveex
https://medium.com/@peter.j.ullrich/state-management-with-phoenix-liveview-and-liveex-f53f8f1ec4d7
https://medium.com/@peter.j.ullrich/state-management-with-phoenix-liveview-and-liveex-f53f8f1ec4d7
Medium
State Management with Phoenix LiveView and LiveEx
At grandcentrix, we use the Elixir + Phoenix stack to deliver scalable, fault-tolerant and high-availability IoT solutions to our…
#elixir #functional programming #types #good code
Better domain modeling in elixir with sum types
https://robots.thoughtbot.com/blog/better-domain-modeling-in-elixir-with-sum-types
Better domain modeling in elixir with sum types
https://robots.thoughtbot.com/blog/better-domain-modeling-in-elixir-with-sum-types
thoughtbot
Better domain modeling in Elixir with sum types
Sum types are a powerful domain modeling technique. Let’s look at how to use them to remove invalid states.
🤐 zips in elixir — using protocols for triple dispatch and ultimate flexibility.
https://medium.com/@ItizAdz/zip-elixir-abusing-protocols-for-triple-dispatch-and-ultimate-flexibility-4c817a5940d6
https://medium.com/@ItizAdz/zip-elixir-abusing-protocols-for-triple-dispatch-and-ultimate-flexibility-4c817a5940d6
Medium
🤐 Zip Elixir — Abusing protocols for triple dispatch and ultimate flexibility.
Protocols are a very powerful feature of Elixir. I’ve introduced them before here, and I looked at how you might use them to solve the…
Creating a has_one_of association in ecto with ectomorph
https://medium.com/@ItizAdz/creating-a-has-one-of-association-in-ecto-with-ectomorph-3932adb996d9
https://medium.com/@ItizAdz/creating-a-has-one-of-association-in-ecto-with-ectomorph-3932adb996d9
Medium
Implementing Sum Types in Ecto.
So what do I mean by has_one_of? Well sometimes when modelling data we want to say something like “this thing can be one of these types of…