Upgrade to Pro — share decks privately, control downloads, hide ads and more …

How to convince your boss to use GraphQL

Lachlan
February 21, 2020

How to convince your boss to use GraphQL

GraphQL is rolling out quicker and quicker as the community around it grows and improves what was once just a vision. Yet each addition to our tech stack, brings with it its own core problems, most notably of which is how to replace the old? To date one of the biggest barriers to entry with a GraphQL API is the technical debt of maintaining two APIs or alternatively, the consequences of deprecating the Industry standard in its favour. Fortunately, we can look to our predecessors as this is not the first time our API standard has been challenged. Whilst GraphQL itself is intended to be a layer, connecting two sides of an intricately woven coin of routes, operations and responses. GraphQL faces the same problems REST initially did when attempting to scrub itself clean of SOAP, XML and the like. On the menu today we will be starting with a smooth overview of previous successors, followed by an in-depth comparison of working with both a Server-less private GraphQL Api and, a monolithic Versioned API designed for private and public consumption alike. For dessert a few war stories chased with a generous helping of philosophy around the importance of APIs and how they truly dictate the balance between success and failure of a product.

Lachlan

February 21, 2020
Tweet

More Decks by Lachlan

Other Decks in Programming

Transcript

  1. Feedback Like you, I'm trying to get better too. You

    give me feedback, positive or negative, I'll buy you a bev
  2. Server Side | WSDL WSDL: Web Service Description Language This

    is a 'Simple' WSDL Dont try to read this
  3. Server Side | WSDL Dont try to read this WSDL:

    Web Service Description Language This is a 'Simple' WSDL Types A Simple WSDL Consists of:
  4. Server Side | WSDL WSDL: Web Service Description Language This

    is a 'Simple' WSDL Types Messages A Simple WSDL Consists of: Dont try to read this
  5. Server Side | WSDL WSDL: Web Service Description Language This

    is a 'Simple' WSDL Types Messages PortTypes A Simple WSDL Consists of: Dont try to read this
  6. Server Side | WSDL WSDL: Web Service Description Language This

    is a 'Simple' WSDL Types Messages PortTypes Bindings A Simple WSDL Consists of: Dont try to read this
  7. Server Side | WSDL WSDL: Web Service Description Language This

    is a 'Simple' WSDL Types Messages PortTypes Bindings Services A Simple WSDL Consists of: Dont try to read this
  8. JQuery released simplify HTML DOM tree traversal and manipulation 2006

    AJAX released: send and retrieve data from a server asynchronously without interfering with the display and behavior of the existing page 2007
  9. React was released to the public by facebook, beginning it's

    domination of the web as we know it. 2013 JQuery was overtaken as the leader in web technology according to google trends 2018 GraphQL is made public by Facebook, paving the way for a new type of API. 2015
  10. .GraphQL Schema File ⬇ GraphQL Conversion One resolver Schema handles

    the bloat If there's no users and its expected in our query, it will error
  11. Great Minds Discuss Ideas Average Minds Discuss Events Small Minds

    Discuss People Eleanor Roosevelt @BuiltByProxy