APIs and Shades of Gray

Let’s learn about the importance of APIs in clean architecture.

We'll cover the following

API

APIApplication Programming Interfaces are of uttermost importance in clean architecture. An API is a fixed collection of entry points (methods or objects). Every layer may be accessed by elements that live in inner layers via an API.

The separation between layers and the contents of each layer are not always fixed and immutable. A well-designed system should be able to cope with a variety of practical issues. When we design an architecture, it’s very important to know where something is and why, as we’ve mentioned previously in this course. This becomes even more important when we bend the rules. Solutions to many problems are not always black-and-white; similarly, many decisions come in shades of gray.

Get hands-on with 1200+ tech skills courses.