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.
#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.
Matching moments
02:44 MIN
How GraphQL improves upon REST's limitations
REST in Peace? What does the API protocol of the future look like? Or do we have it already?
11:34 MIN
Audience Q&A on tools, errors, and GraphQL
API Design - Getting Started
02:26 MIN
GraphQL as an alternative to avoid multiple API requests
Awful APIs: A History Lesson in Industry Mistakes and Mishaps
13:52 MIN
Q&A on GraphQL, team structure, and vendor software
Building high performance and scalable architectures for enterprises
01:31 MIN
Q&A: GraphQL bombs and gRPC for microservices
The Great API Debate: REST, GraphQL, or gRPC?
02:27 MIN
Q&A on GraphQL federation and Next.js authentication
GraphQL + Apollo + Next.js: A Lovely Trio
02:21 MIN
Architectural differences between REST, GraphQL, and gRPC
The Great API Debate: REST, GraphQL, or gRPC?
03:35 MIN
Evaluating the pros and cons of REST, GraphQL, and gRPC
Dev Digest 139 - Soft and hard queriesNews 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...
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...
Chris Heilmann
Processing 175 WeAreDeveloper World Congress talk videos in 5 hours - with PHP?Every year after the WeAreDevelopers World Congress is over, we have a ton of video footage to edit and release. Most of it is in raw format and needs editing by hand, but a lot of our sessions are also streamed live on YouTube and thus easier to re-...
From learning to earning
Jobs that call for the skills explored in this talk.