Future trend UI enhancement (the part that users see, enhancement refers to access speed, effect, experience and content)
What the background can give is speed (part), content (given data, Such as json, xml)
It can be seen that the advantages of php are not very big, so php7 began to move towards strong types, optimizing the bottom layer to improve efficiency, and develop more efficiently
So, as a phper , we need to learn more knowledge, no longer just a TP, conquer the world
1. In traditional web development, mvc method, view is to return the page, but it must also report an error in the ajax request interface, which returns json 2. In mobile development, the view can be considered as returning json data 3. There are no changes in the model layer and the controller layer. There is no essential difference between returning html and returning json
replyTo put it simply, PHP has always been used for back-end development. Whether on the mobile terminal or the traditional web terminal, PHP is used for data processing.
Future trend UI enhancement (the part that users see, enhancement refers to access speed, effect, experience and content)
What the background can give is speed (part), content (given data, Such as json, xml)
It can be seen that the advantages of php are not very big, so php7 began to move towards strong types, optimizing the bottom layer to improve efficiency, and develop more efficiently
So, as a phper , we need to learn more knowledge, no longer just a TP, conquer the world
1. In traditional web development, mvc method, view is to return the page, but it must also report an error in the ajax request interface, which returns json
2. In mobile development, the view can be considered as returning json data
3. There are no changes in the model layer and the controller layer. There is no essential difference between returning html and returning json