About APP interface version development and maintenance

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.