3 months studying GraphQL

1. There’re not silver bullets in Software development

2. Focused on client

  • All the pizzas will be served with corn.
  • We cannot choice the ingredients for our pizza.
  • We can only order a pizza. If we need two pizzas we will make the queue again.
  • Usually most of REST API’s return a resource identifier or a creation date field or whatever other attribute that was decided by the API developer.
  • The server will always return the full resource. REST API clients cannot decide which information they want to retrieve. Therefore, server is wasting time and effort on providing some information that will be avoided by the clients.
  • We need to make a new request for every resource we want to consume or create .
  • GraphQL provides the clients of our API a mechanism to decide which information needs to be returned.
  • A GraphQL client can take a piece of the full response and server won’t make any effort on providing the not desired information.
  • With a GraphQL API we can ask for as many resources as we need in only one request. Or we can create several resources of different type in a single request too.

3. Contract first

4. Typed syntax

5. Immature frameworks

6. Try and learn

7. Read articles is fine when you are not a coder

--

--

--

If tech can change the world... why don't we use it to make it better? https://www.linkedin.com/in/ivan-corrales-solera/

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

DLAW 6: Open Source Platform for Public Information Websites

Freelancers VS Companies: Whom to hire?

Managing Your OpenShift Cluster Securely and Efficiently

Rails New — API

Mobile Apps in 2020

My RUST Journey

Code Quality — Amazon CodeGuru’s Machine Learning to the rescue?

A Minute with EPNS — Week # 43

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Iván Corrales Solera

Iván Corrales Solera

If tech can change the world... why don't we use it to make it better? https://www.linkedin.com/in/ivan-corrales-solera/

More from Medium

Getting Started with ScyllaDB Cloud Using Node.js Part 1

Redis Incredible Traits

NoSQL, MongoDB, HiveQL

How a distributed, Amazon SQS compatible queue works