It competes with REST not SQL, you query data form APIs in a by SQL inspired way, for example
@madarsbiss
, @ivanjeremic89
Huh. To be precise, GraphQL not competes with REST either, because REST is not about querying data, REST is about web pages with hypertext(usually HTML).
@madarsbiss , @ivanjeremic89
Huh. To be precise, GraphQL not competes with REST either, because REST is not about querying data, REST is about web pages with hypertext(usually HTML).
If you're interested, here are some links:
Roy Fielding(REST author) about it - youtube.com/watch?v=w5j2KwzzB-0
His blog posts:
roy.gbiv.com/untangled/2008/rest-a...
roy.gbiv.com/untangled/2008/no-res...
Original paper - ics.uci.edu/~fielding/pubs/dissert...
Also:
twitter.com/fielding/status/105297...
twitter.com/fielding/status/110809...
Short and clear: stackoverflow.com/questions/198842...
etc.
GraphQL is just another way to do build API's instead of common way's to do HTTP API's.