Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

What are the advantages of rest

Shulou Source: shulou.com Published: 2022-06-03 02:57:18 10月03日 Update

Today, I will talk to you about the advantages of rest, which may not be well understood by many people. in order to make you understand better, the editor has summarized the following contents for you. I hope you can get something according to this article.

The advantages of rest are: 1, state-independent, to ensure the horizontal expansion ability of the system; 2, to establish a unified primitive for resource-related models to ensure that the system can accept a variety of standard clients.

REST itself is not an architecture, but an architectural style. When you understand it, you should refer to the constraints imposed by the environment in which this architectural style appears.

The goal of REST is to "build a software system architecture that will not be out of date in ten years", so it has three characteristics:

1. State-independent-- ensuring the horizontal expansion ability of the system

two。 Hypertext driven, the original word of Fielding is "hypertext-driven"-- ensuring the evolution ability of the system.

3. Establish a unified primitive for resource-related models, such as uri, method definition of http, etc.-to ensure that the system can accommodate diverse and standard clients

From another point of view, the first guarantee server evolution, the third guarantee client evolution, the second guarantee the evolution of the application itself, this is really a very abstract solution.

After reading the above, do you have any further understanding of the advantages of rest? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

Tags: System architecture capability advantage content customer client guarantee primitive standard model horizontal state style unified outdated three original words just solution Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Shulou Technology OPPO Reno MariaDB Linux