Benefits of REST

The REST constraints were designed with separation of concerns and forward-compatibility in mind, and this design allows for the individual components of REST to evolve without compromising the underlying architectural style itself.

By enforcing the constraints of REST, some particular architectural properties are exposed that reveal the beneficial nature of this architectural style. Let's explore some specific benefits of REST more closely.

Performance

Performance is a major benefit of REST, and it is exposed by using cache, simple representations such as JSON, a layered system with multiple servers and load balancing, and the decoupling of components through a uniform interface.

Simplicity

Simplicity is another key benefit of REST, ...

Get Mastering JavaScript Single Page Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.