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)