Replying to @lukaseder
Actually I see a lot of people investing quite some time in the database design - that was a motivation for doing the video. 馃檪
1
I was mostly responding to the claim "data in isolation is pretty valueless if you don't know how to interpret the data". Normalisation is a very good tool to shape data into a form that makes interpretation quite obvious. So, perhaps, this video is mixing different topics?
1
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
Yes. All very interesting questions for a nice ERD.
1
I don't see how you can answer that question by looking at an ERD, sorry.
1
CREATE TABLE customer ( .., invoice_payment BOOLEAN );
1
I was referring to an algorithm that would take the purchase data and determine whether whether an upfront payment is required.
1
CREATE VIEW ... (...) 馃槈
1
1
Ah. I didn't know that algorithms implemented in DDL are data.... 馃槈
1
3
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
Replying to @lukaseder @ewolff
I sympathize with your view, @lukaseder; it鈥檚 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.

Oct 5, 2020 路 12:51 PM UTC

1
2
Replying to @stilkov @ewolff
Yes, REST and PL/SQL APIs have much in common. Could the biggest commonalities leading to catastrophe be caused in part by Conway's Law? Perhaps, Conway's Law is also a factor against data centricity, which is probably harder to maintain across organisational boundaries...
1
Well, in that dimension REST is the architectural style of the web (not just a blueprint for APIs). I鈥檇 argue the web doesn鈥檛 do too badly in scaling to decentralized organizations :)
1