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

Review SCC(Security Context Constraints) based on RBAC on OpenShift

CCIE L3 Ep.12 3nh4nc3d_dual.7z

Scalable codec testing with Are We Compressed Yet?

Metrics, are eatable?

Getting Started with HTML Semantics and Accessibility

A picture showing different illustrations of accessibility in action

Effective Remote Work With Teamviu— A Definitive Guide

Different SIEMs, Same Challenges? Only Time(Generated) will tell…

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

How to build Taxi booking system like UBER/OLA!

From 80 to 800 RPS in 8 Minutes

How to make Redis play nice with your data

Lessons learned from Downsizing Mongo 3.6 by removing Shards