As your codebase grows, you will realise that you spend less and less time implementing new features. Why? Because the majority of new features are extensions of existing ones. This is true for extending an existing table or introducing a new business logic. A new feature is a layer on the top of existing ones.
Today I am focusing on storing business logic in calculations.
This article assumes that you know Ash Framework, but if you are new to Ash framework, donโt worry. You can check out my serie โAsh framework for Phoenix developersโ.
At this point, I am assuming that that you know what Ash resources and domains are, so I will introduce you to calculations right away!
continue reading on medium.com
โ ๏ธ This post links to an external website. โ ๏ธ
If this post was enjoyable or useful for you, please share it! If you have comments, questions, or feedback, you can email my personal email. To get new posts, subscribe use the RSS feed.