Write high quality PHP programs

  • 2020-05-12 02:22:11
  • OfStack

1. The security
No matter how well the program is written, security is number one, and a program without security can never be of high quality.
2. Stable
No matter how bad your code is, it must be stable.
3. User experience
The user's experience directly determines the fate of a program. If you don't understand the quality of the user experience program, it is impossible to talk about it.
4. Business experience
The purpose of developing applications is naturally to make money, I think, no matter how good the program, do not make money is also equivalent to a waste.
The efficiency of 5.
This is the last one, I think performance is the most important, the efficiency of PHP itself is not too high, only can be so popular mainly because of open source and low development cost. I don't want to talk about this question any more. Some programmers want to improve performance from PHP code. If you want to make your system more efficient, you can use NET or JSP.
As for the efficiency of PHP, it is only 1 bit faster than that of ASP. Besides, the improvement of efficiency is definitely not only solved by code, but also by many factors, such as infrastructure and so on.


Related articles: