Here is a customer. Here are his / her purchases. Which items would we recommend to him / her? Would we send her / him stuff without upfront payment? Only by credit card? <- that is what I was referring to.
1
I was referring to an algorithm that would take the purchase data and determine whether whether an upfront payment is required.
1
I get your point of course.
To me, data and logic is all the same. The beauty of the relational model is that it already includes relational algebra to create and operate on derived data.
You're doing the same, but you call it "API" and probably imply it is done elsewhere.
3
I sympathize with your view, @lukaseder; it’s similar to my favorite architectural style in that it tries to cast everything into a consistent model. And the tons of shitty REST service implementations could be compared to the typical unmaintainable PL/SQL catastrophes.
1
2
Well, in that dimension REST is the architectural style of the web (not just a blueprint for APIs). I’d argue the web doesn’t do too badly in scaling to decentralized organizations :)
Oct 5, 2020 · 1:32 PM UTC
1


