Building a simple GraphQL client in Elm for Elm
Elm is a functional programming language for creating web applications. Elm is commonly known for its static type checking abilities and Elm architecture (out of many other amazing things) which is a simple pattern for architecting webapps.
GraphQL is a query language spec for APIs defined by Facebook. It has changed the dynamics of front-end development with an array of powerful features. One such feature is declarative data fetching where you define what you would like to fetch and server responds with the data in the same format it is requested.
In this talk, we will look at
- Sneak peek into Elm Type System
- What is GraphQL and benefits of it over other data fetching methods.
- Demo on how to write queries without custom DSL
- Writing types to make the above process little neat and fun
Outline/Structure of the Talk
- Introduction to Elm
- What is Elm?
- Elm Architecture
- Sneak peek into Elm Types
- What is GraphQL?
- Anatomy of a query
- Sneak peek into the features and comparison with REST
- Setting up a GraphQL server and writing our first GraphQL query in Elm
- Bringing the data into Elm Types
- Writing a custom DSL to make the above process smoother
By the end of the talk, you will:
- Know Elm and be able to build web applications using it
- Have better understanding of Elm type system and how to write your own custom DSL to query GraphQL
- Be in a position to evaluate GraphQL and/or Elm for your next project
Folks who are exploring GraphQL and how it can be used with Elm
Prerequisites for Attendees
A basic understanding of elm type system would be plus - https://guide.elm-lang.org/types/
schedule Submitted 1 year ago
People who liked this proposal, also liked:
Andrea Leopardi - Papers We Love - Elixir EditionAndrea LeopardiCore Team MemberElixir Lang
schedule 1 year agoSold Out!
Elixir is a modern programming language built for concurrency, robustness, and maintainability. Although the Elixir team comes from “industry” backgrounds, the history of Elixir is full of cases where the team has reached for existing research in order to solve problems arising with the language. For example, we based our implementation of a code formatter on a series of papers on pretty printing and formatting code. In this talk, I’d like to go share our learnings and experiences as a bunch of industry folks getting help from academia to approach and tackle real-world problems and come up with real-world solutions.
Mangala Kader - Understanding the pitfalls in Erlang / Elixir and steering clear from themMangala KaderCTO | Co-FounderIteron Technologies Private Limited | ElixirExperts
schedule 1 year agoSold Out!
Erlang has been in production for more than 30 years and a highly battle-tested robust system, which is being used by everybody including Telecom systems that provides 99.99% uptime. Elixir has been built on top of Erlang overcoming the shortcomings of the language and also using meta-programming, it has opened a new paradigm of looking at the language itself. I want to show what Elixir is to the audience and minute nuances that every experienced or inexperienced developer should be aware of before jumping into the magical erlang and elixir world.