PHP Development App Interface (i)

Source: Internet
Author: User

It is also the learning notes of Mu-net!

Introduction to the App interface:

PHP programmers have been exposed to object-oriented interfaces before, PHP object-oriented interface We think is an abstract class, with the interface keyword definition, with the Implement keyword call;

For example:

Interface video{
Public function Getvideos ();

}

This is a PHP object-oriented interface, using the interface as follows:

Class Movie Implements video{

Public Function Getvideo () {
echo "";
}

}

is to provide a standard one specification.

App interface: is to provide data for the client development engineer, the client development engineer usually has two parts of the work: interface layout, access to data;

Getting data is obtained from the app interface, also known as the communication interface.

The client Development engineer sends the request to the app interface address, the interface file is placed on the server, the server processes some business logic, returns the data, then parses the data, populates the client, and the development is complete.

PHP Development App Interface (i)

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.