Awful APIs: A History Lesson in Industry Mistakes and Mishaps
What if a GET request could delete customer data? This humorous tour of API history explores the industry's biggest mishaps so you don't repeat them.
#1about 5 minutes
Understanding the original concept of an API
An API was originally just a defined interface for one local application to talk to another, illustrated with a simple PHP function.
#2about 4 minutes
Communicating between machines with remote procedure calls
As computers became networked, Remote Procedure Calls (RPC) emerged as a way to execute code on a remote server, with JSON-RPC as a key example.
#3about 3 minutes
The enterprise era of SOAP and its XML complexity
The Simple Object Access Protocol (SOAP) was created for enterprise needs but introduced significant complexity with its verbose XML-based format.
#4about 2 minutes
Simplifying APIs with REST and standard HTTP verbs
Representational State Transfer (REST) simplified API design by leveraging the existing HTTP protocol, using verbs like GET, POST, and DELETE to manage resources.
#5about 5 minutes
The need for standards and common pitfalls of REST
Without clear standards, REST APIs can be implemented incorrectly, leading to security vulnerabilities and unpredictable behavior as seen with HATEOAS and real-world examples.
#6about 1 minute
Formalizing REST APIs with OpenAPI and Swagger
The OpenAPI specification (formerly Swagger) provides a standardized way to define REST APIs, enabling auto-generation of documentation, client code, and tests.
#7about 2 minutes
GraphQL as an alternative to avoid multiple API requests
GraphQL was developed to solve the problem of over-fetching or under-fetching data by allowing clients to request exactly the data they need in a single call.
#8about 2 minutes
History repeating with modern frontend frameworks
Modern tools like HTMX and Laravel Livewire are returning to sending HTML over the wire, echoing older web development patterns and showing the cyclical nature of technology.
#9about 1 minute
The cyclical nature of API design and development
The history of APIs demonstrates a repeating cycle of innovation, standardization, complexity, and simplification, urging developers to learn from the past.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
02:52 MIN
Tracing the evolution of APIs from RPC to GraphQL
The Great API Debate: REST, GraphQL, or gRPC?
01:50 MIN
The challenges of building and maintaining APIs
API = Some REST and HTTP, right? RIGHT?!
02:35 MIN
Understanding the high stakes of modern API failures
Lessons from Our API Past: Evolving to a Resilient API Future
03:17 MIN
The promise versus the reality of using APIs
Develop, test and run a communications application in a serverless cloud
06:32 MIN
The rise and fall of the programmable web
Five things in tech that matter and we have to make work
All the videos of Halfstack London 2024!Last month was Halfstack London, a conference about the web, JavaScript and half a dozen other things. We were there to deliver a talk, but also to record all the sessions and we're happy to share them with you. It took a bit as we had to wait for th...
Chris Heilmann
Processing 175 WeAreDeveloper World Congress talk videos in 5 hours - with PHP?Every year after the WeAreDevelopers World Congress is over, we have a ton of video footage to edit and release. Most of it is in raw format and needs editing by hand, but a lot of our sessions are also streamed live on YouTube and thus easier to re-...
The Best Upcoming IT WebinarsNow that you already know what IT webinars are and how they can help you level up your professional appeal, you might want actually to get into one. Live tech webinars are one of the best ways to stay on top of the latest trends and tools because eit...
From learning to earning
Jobs that call for the skills explored in this talk.