News for hackers. Stuff that matters.
Re:My experience with NixOS by golergka on Wednesday April 15, 2020 @10:37AM (#22878212)
I'm yet to see a backend app architecture that both is elegant and effective from developer perspective and at the same time doesn't push her to make unneccessary database calls for each request when business logic becomes significantly complex.
Re:My experience with NixOS by Zinggi on Wednesday April 15, 2020 @02:39PM (#22881356)
You might be interested in lamdera. It abstracts away database access, data transport and data encoding between client end server. Here is a talk about it: https://www.youtube.com/watch?v=nSrucNcwlA8

If you're interested, you can probably get an invite from @supermario on the elm slack, or on: https://lamdera.app/

Disclaimer: I'm not affiliated with the project, but I've met Mario in person and he's a cool dude with great ideas ;)

Re:My experience with NixOS by yjftsjthsd-h on Wednesday April 15, 2020 @12:32PM (#22879747)
> doesn't push her to make unneccessary database calls for each request when business logic becomes significantly complex.

Are you objecting to holding all state in a database, or something else? If so, the only real alternative is to have individual servers hold state, which seems like a poor choice; one way or another you're going to hit the CAP theorem, and databases are well-optimized for getting you the best results from CAP that you're going to.

Re:My experience with NixOS by golergka on Wednesday April 15, 2020 @05:46PM (#22883471)
Absolutely not. On the contrary, I'm one of those developers who prefer to do things in SQL rather than application logic.