- Building RESTful Web Services with PHP 7
- Haafiz Waheed ud din Ahmad
- 84字
- 2021-07-03 00:02:15
Uniform interface
The uniform interface is the most distinguishing constraint. It basically decouples the architecture makes the interface separate from the implementation, just as any good system does.
It is similar to how it is in OOP: an interface separates the implementation and declaration. It is similar to how an operating system separates the user interface from the complex implementation logic that keeps our software's running.
The uniform interface has four constraints. In order to understand uniform interface, we need to understand these constraints.