Please log in to watch this conference skillscast.
If — like hundreds of millions of others — you’ve used the Facebook iOS or Android app in the last four years, you’ve used a mobile app powered by GraphQL.
GraphQL is a product-developer-friendly and efficient method for fetching structured data from a server, designed to be an alternative to REST. It was developed in 2012 as an internal project at Facebook, open sourced last year, and is now being used by an increasing number of well known companies.
An important benefit over REST is that it allows clients to ask for the exact data they need, without the server sending extraneous results or having to perform extra roundtrips to fetch related objects. This is especially important for mobile apps, because cellular networks can be bandwidth constrained and often suffer from high latency. It also makes it possible for a single server endpoint to support multiple versions of your app, without explicit versioning of your API.
In this talk, Martijn will discuss why GraphQL is such a great match for mobile development, and talk about his efforts to build an open source GraphQL client for iOS, written in Swift. In particular, Martijn will explain how the client takes advantage of code generation and the strongly-typed nature of GraphQL to enable static type safety from the server to the UI.
YOU MAY ALSO LIKE:
- How to create better apps (SkillsCast recorded in November 2016)
- Real World Kotlin Development Workshop (in London on 1st - 2nd July 2019)
- Fast Track to Android Architecture (in London on 21st - 23rd October 2019)
- droidcon London 2019 (in London on 24th - 25th October 2019)
- Flutter London June Meetup (in London on 17th June 2019)
- Keynote by Rebecca Franks on Tips for Building Custom Views on Android with Canvas APIs📏🎨 (in London on 19th June 2019)
- Draft Day: Building a Fantasy Sports App with TypeScript (SkillsCast recorded in May 2019)
- Lightning Talk: GraphQL to Apollo or not (SkillsCast recorded in May 2019)
Building better iOS apps with GraphQL
Martijn Walraven is a developer on the Apollo open source team at Meteor, where he focuses on bringing GraphQL to mobile developers. He recently released a first version of a strongly typed GraphQL client for iOS written in Swift, and is working with a group of contributors on doing the same for Android.