Talks
Speakers
Events
Topics
Search
Sign in
Search
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
search talks for
⏎
Suggest modification to this talk
Title
Description
By now, we've all written JSON APIs in Rails. But how do you write fast, testable and sane APIs? I'll guide you through the trials of designing and building awesome, scalable APIs. We'll cover rails-api, activemodelserializers, and all the associated goodness that our ecosystem has to offer. I'll speak on the approaches to authentication, how to ensure we remain good REST/HTTP citizens and maybe if I have time I'll share some of my top secret beard grooming tips!
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 his talk at the Ancient City Ruby 2014 event, Ben Lovell explores the intricacies of building fast, testable, and sane JSON APIs using Rails. He incorporates humor and anecdotes to engage the audience while discussing several essential components of API design. Lovell begins by highlighting his background in programming and his passion for creating efficient APIs. The main themes and key points of the presentation include: - **API Design Principles**: APIs should be fast, standardized, and intuitive, ensuring ease of discovery and usage for developers. - **JSON API Standard**: Lovell introduces the JSON API standard, emphasizing its role in simplifying API development by eliminating unnecessary configurations. - **Resource Management**: He explains the significance of treating singular resources like collections, applying proper pluralization and nesting. - **Linking Resources**: The structure of JSON API allows for linking related resources by utilizing reserved keywords such as 'links' and 'ID'. - **Real-World Anecdote**: Lovell shares a humorous story about migrating the royal.gov.uk website and the mishap that occurred, reinforcing the importance of careful deployment practices. - **Side-Loading Resources**: He discusses the necessity of including a links section when side-loading documents to maintain clarity in responses. - **Active Model Serializers**: Lovell highlights how Active Model Serializers can enhance API response efficiency. - **Testing and Versioning**: He stresses the importance of maintaining compatibility and versioning in APIs, advocating for additive changes to preserve backward compatibility without altering the existing API structure. Throughout the presentation, Lovell's light-hearted approach makes the heavy subject of API design more approachable, and he successfully conveys the essential strategies for building effective APIs. In conclusion, developers are encouraged to focus on speed, user experience, and good practices in API design to create robust industry-standard solutions.
Suggest modifications
Cancel