News for hackers. Stuff that matters.
Re:Rescuing REST from the API Winter by weddpros on Thursday January 21, 2016 @05:13AM (#10944321)
Some databases don't even support explicit foreign key constraints, and SQL doesn't make their declaration mandatory. And that metadata is not in the resultset, you get an id instead.

So SQL dbs will happily let you join with the wrong table. Also foreign key constraints don't play well with sharded SQL dbs.

For these reasons, I don't see SQL as a good parallel to HATEOAS.

Maybe an ORM would be closer to what HATEOAS brings... It's all about impedance mismatch I think... but HATEOAS is no more a definite solution than ORMs.

There are no comments on this comment yet.