Live data from Hacker News

Facebook’s GraphQL gets its own open-source foundation

techcrunch.com

31–40 of 94 posts

Re: Facebook’s GraphQL gets its own open-source foundation

#31
post #22
post #15

Earlier quoted context omitted.

Fellow curmudgeon, I give you an upvote. SPARQL is a more elegant tool from a more civilised time.

that's awesome -- y'all are like the tech version of the Mad Max War Boys. sacrificed yourselves betting on the wrong tech. witness me!

Can you elaborate why SPARQL is the wrong tech?

Re: Facebook’s GraphQL gets its own open-source foundation

#32
post #30

Earlier quoted context omitted.

GraphQL isn't a query language, it's an API protocol language. Big difference.

From the website: "GraphQL is a query language for your API"

See my other comment: https://news.ycombinator.com/item?id=18395996.

Re: Facebook’s GraphQL gets its own open-source foundation

#33
post #27

Earlier quoted context omitted.

SPARQL demands a certain data model (triple stores). Also, everything about it smells like ivory-tower academic snobbery + ultra-large-enterprise crap. GraphQL does neither.

GraphQL also demands a certain data model. Just that it is not standardized. And no, RDF/XML is not the only representation for SPARQL. It can deal also with JSON.

No, it doesn't, it is agnostic. There's an adapter for every major database out there. Oh, yeah, graphql also has momentum and strong adoption, unlike SPARQL.

Re: Facebook’s GraphQL gets its own open-source foundation

#34
post #13

Great. Another solution for an already-solved, already-standardized query API language (SPARQL).

I recommend this talk to see what both technologies can still "learn" from each other - https://youtu.be/LUF7plExdv8 . I don't think SPARQL or GraphQL completely replace one another.

I think GraphQL is just an way to bully the efforts of the W3C to standardize web technologies. It not just is non-standard, also is breaks any advantage of the HATEOAS principle.

Re: Facebook’s GraphQL gets its own open-source foundation

#35
post #26

Earlier quoted context omitted.

Well it is a query language, QL stands for query language.

The name doesn't make it so. It defines a syntax and a single operator (nesting), but nothing else. You can't use it to "query" arbitrary data sources in the sense that other query languages such as SQL do, since there are no operators, functions, subqueries/arbitrary joins etc. It's an alternative to REST, not SQL.

I think you should read the definition right from the website: https://graphql.org/learn/

Re: Facebook’s GraphQL gets its own open-source foundation

#36
post #27

Earlier quoted context omitted.

SPARQL demands a certain data model (triple stores). Also, everything about it smells like ivory-tower academic snobbery + ultra-large-enterprise crap. GraphQL does neither.

GraphQL also demands a certain data model. Just that it is not standardized. And no, RDF/XML is not the only representation for SPARQL. It can deal also with JSON.

GraphQL has no demands on your data model. You can do whatever you want behind the schema you provide to client apps

Re: Facebook’s GraphQL gets its own open-source foundation

#37
post #9

Earlier quoted context omitted.

Generalization of Hanlen's razor: Never attribute to malice what can be explained by laziness/greed/stupidity. FB has GraphQL stable and doing exactly what they want it to do. Now they can pass it off to a foundation for maintenance and blame without having to pay out of pocket.

GraphQL isn't a system per-say, it's a spec and many tools around it. Putting the spec in a foundation (with a few of those tools) gives the entire community certainty about the direction of the project. Hopefully that spurs more people outside of FB to commit to GraphQL. The existence of the foundation is orthogonal to FB's internal investment and usage of GraphQL, which was and will continue to be significant.

>"per-say" -> "per se"

Right pronunciation, but it's Latin. :)

Re: Facebook’s GraphQL gets its own open-source foundation

#38
post #36
post #27

Earlier quoted context omitted.

GraphQL also demands a certain data model. Just that it is not standardized. And no, RDF/XML is not the only representation for SPARQL. It can deal also with JSON.

GraphQL has no demands on your data model. You can do whatever you want behind the schema you provide to client apps

I think you should read it directly from the website: "GraphQL is a query language for your API, and a server-side runtime for executing queries by using a type system you define for your data." You need a type system to bypass the datamodel. Just pushing the issue around.

Re: Facebook’s GraphQL gets its own open-source foundation

#39
post #27

Earlier quoted context omitted.

GraphQL also demands a certain data model. Just that it is not standardized. And no, RDF/XML is not the only representation for SPARQL. It can deal also with JSON.

No, it doesn't, it is agnostic. There's an adapter for every major database out there. Oh, yeah, graphql also has momentum and strong adoption, unlike SPARQL.

Oh yeah, GraphQL is backed by Facebook (may that be a hint of its momentum, like its support for React?) , unlike SPARQL which is a _standard_. You can also convert from PostgreSQL, MySQL, DB/2 and others to SPARQL. Still, only difference seems 1. Facebook pushing its non-standardized tech around and 2. Losing any benefits from HATEOAS from the usage of GraphQL.

Re: Facebook’s GraphQL gets its own open-source foundation

#40
post #13

Great. Another solution for an already-solved, already-standardized query API language (SPARQL).

SPARQL demands a certain data model (triple stores). Also, everything about it smells like ivory-tower academic snobbery + ultra-large-enterprise crap. GraphQL does neither.

Funny that ultra-large-enterprise crap could be applied to Facebook and GraphQL?
Post reply on HN