PHP Development App Interface

Source: Internet
Author: User

This article describes some of the ideas of PHP development app interface.

One, unified interface Development Documentation:

In order to improve the development efficiency and communication convenience, it is necessary to establish normative development documents.
General protection of the interface function or page, interface address, interface parameters, interface return value and other instructions.

Second, the interface data back to consider

1) in order to connect the data between the two sides is correct, and a variety of cases, the need to have interface state parameters
2) Sometimes in order for the app developer to understand the meaning of the state, the corresponding status needs to be written
3) Returns the content data of the interface, usually with a Xml,json format for the data, and an array of arrays to be used as a trial.
4) Notify by NULL when the data is empty.

Third, the client's data to verify

The main is to verify the operation of some users of the client.

PHP Development App Interface

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.