Gregor Bauer

GraphQL: Does it replace SQL, REST or Something Else?

Is GraphQL a replacement for REST? Learn its true purpose and how it solves the common problem of over-fetching.

GraphQL: Does it replace SQL, REST or Something Else?
#1about 1 minute

The history and first principles of SQL

SQL's longevity is rooted in its fundamental relational algebra principles, which have remained relevant for over 50 years.

#2about 4 minutes

Introducing GraphQL and its core concepts

GraphQL allows clients to declaratively query exactly the data they need using a strongly-typed schema, solving problems faced by earlier APIs.

#3about 4 minutes

The evolution of SQL to SQL++ for JSON

The SQL++ standard extends traditional SQL to query semi-structured JSON data, bridging the gap between relational principles and modern applications.

#4about 1 minute

Understanding REST APIs and their limitations

While simple and approachable, REST APIs often suffer from over-fetching by returning fixed, heavy data payloads that clients cannot customize.

#5about 2 minutes

Demo comparing GraphQL, SQL++, and REST queries

A live demonstration shows how GraphQL and SQL++ allow for flexible, client-defined data responses, unlike the rigid structure of REST API calls.

#6about 4 minutes

When to choose GraphQL, SQL, or REST

A summary of each technology's strengths helps determine when to use GraphQL for flexibility, REST for simplicity, or SQL for direct data access.

#7about 3 minutes

Addressing GraphQL security and implementation challenges

Security concerns like expensive joins in GraphQL can be mitigated through careful schema design and resolver implementation, while versioning is managed via the schema itself.

#8about 3 minutes

Using GraphQL as a contract for team collaboration

The GraphQL schema serves as a clear contract between frontend and backend teams, improving communication and reducing documentation ambiguity.

#9about 4 minutes

The future of GraphQL and its performance vs REST

GraphQL is unlikely to completely replace SQL or REST but offers significant performance gains over REST by reducing network payload size for large or frequent queries.

Related jobs
Jobs that call for the skills explored in this talk.

Featured Partners

Related Articles

View all articles
CH
Chris Heilmann
Dev Digest 139 - Soft and hard queries
News and ArticlesLet's start with Amelia Wattenberger's excellent essay Bridging the hard and the soft talking about humans and data. Do you sometimes also miss aspects of the early web like a lack of big data and freedom to create without numeric go...
Dev Digest 139 - Soft and hard queries
CH
Chris Heilmann
With AIs wide open - WeAreDevelopers at All Things Open 2025
Last week our VP of Developer Relations, Chris Heilmann, flew to Raleigh, North Carolina to present at All Things Open . An excellent event he had spoken at a few times in the past and this being the “Lucky 13” edition, he didn’t hesitate to come and...
With AIs wide open - WeAreDevelopers at All Things Open 2025
CH
Chris Heilmann
All the videos of Halfstack London 2024!
Last month was Halfstack London, a conference about the web, JavaScript and half a dozen other things. We were there to deliver a talk, but also to record all the sessions and we're happy to share them with you. It took a bit as we had to wait for th...
All the videos of Halfstack London 2024!

From learning to earning

Jobs that call for the skills explored in this talk.