Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
Tom Ridge REST-ful, more like stress-ful am I right? What if I told you you could build amazing APIs your cat would be proud of with GraphQL instead. Let’s take a look at how to go about implementing a GraphQL API that’s evolvable and empowers your team. Tom Ridge is a developer currently residing in Brisbane, Australia. A father of twins, he’s recently organised a Rails Camp, was Vice President of Ruby Australia and has co-organised his local meetup. Somehow, he’s still not sure why he has so little free time. #ruby #rubyconf #rubyconfau #programming
Date
Summarized using AI?
If this talk's summary was generated by AI, please check this box. A "Summarized using AI" badge will be displayed in the summary tab to indicate that the summary was generated using AI.
Show "Summarized using AI" badge on summary page
Summary
Markdown supported
In the talk titled "Building APIs You Want To Hug With GraphQL," Tom Ridge explores how to design effective and evolvable GraphQL APIs, emphasizing the advantages of GraphQL over traditional RESTful APIs. He begins by expressing his excitement about the subject, particularly its transformative impact on how developers can handle data requests. Ridge introduces GraphQL as a query language specification that allows clients to issue declarative queries against a single endpoint, providing precisely the data they need without excess. Key points discussed include: - **GraphQL Fundamentals**: GraphQL enables the retrieval of specific data through structured queries, promoting efficiency and clarity in API responses. - **Schema Design**: The importance of a well-designed schema is highlighted, as it clearly represents the application's domain and facilitates long-term success by making the API easy to understand and use. - **Real-World Example**: Ridge illustrates the implementation of GraphQL through a Dungeons & Dragons character creation scenario. He shows how to model data, such as character names and races, and the evolution from handling multiple RESTful endpoint requests to a singular, streamlined GraphQL query. - **Avoiding Over-Engineering**: A key lesson is the need to expose only necessary fields in the API. Ridge points out the risks of adding superfluous data which may complicate the schema. - **Enum Types and Ability Scores**: He discusses the creation of enum types for class names and how to model ability scores, emphasizing encapsulation of logic within the server rather than the client. - **Collaboration with Domain Experts**: Ridge stresses that effective API design should involve collaboration with domain experts and continual revisitation of the schema to ensure it aligns with the domain's needs. In conclusion, Ridge advocates for thinking in terms of use cases rather than merely focusing on data or views. He emphasizes the critical role of domain understanding to craft well-designed GraphQL schemas that serve the users' needs effectively. The talk provides insights, tips, and encouragement for developers looking to harness the power of GraphQL for their applications.
Suggest modifications
Cancel