The current APP interface design is similar to the design scheme in this article. Portal, of course, this site also has a similar question ~ Currently, our solution is to add fields to the original interface for minor feature upgrade. COPY the code of the previous version to add the version... the current APP interface design is similar to the design scheme in this article. Portal, of course, this site also has a similar question ~
Currently, our solution is to add fields to the original interface for minor feature upgrade. The ability to break bones and muscles,COPYAdd the version number for the code of the previous version. However, at least three versions of code must be maintained at the same time. I feel SO sad. SO let's talk about how you implement APP interface version control. And interface monitoring and alarms ~
Reply content:
The current APP interface design is similar to the design scheme in this article. Portal, of course, this site also has a similar question ~
Currently, our solution is to add fields to the original interface for minor feature upgrade. The ability to break bones and muscles,COPYAdd the version number for the code of the previous version. However, at least three versions of code must be maintained at the same time. I feel SO sad. SO let's talk about how you implement APP interface version control. And interface monitoring and alarms ~
Previously popular restful APIs
This is to avoid the emergence of some new technologies to maintain three versions of code.
GraphQL
Relay
A unified set of code is used to manage APIs of various versions. Requests are sent when you want to obtain the data from the api, and then the server returns what you want. The subject can search for it by himself, however, I personally feel that these small projects are not suitable for students like me.
Restful
Small change plus field
Interface version redefinition for major changes
Laravel framework is used to use a very powerful third-party library dingo api.
Route version control, parameter verification, prefix and subdomain name