Home >Backend Development >PHP Tutorial >10 things you should pay attention to when learning PHP or using PHP
Note: This article is my summary. There is a link address behind the specific source.
1 Main content
1. Read more original manuals and codes - avoid duplicating the car.
2. Write pattern fast code (1) Decompose the program into functions or methods (2) MVC framework (3) Write code for users instead of compilers (the code should be simple to maintain)
3. Code writing specifications (1) Naming convention (2) Indentation convention
4. Write portable code
5. Write secure code
6. Code comments
7. Conduct evaluation
(handle exceptions well)
...
Second source
The original link address is: http://linux.cn/article-4981-1.html
Three end
java_haha is working hard to update. . .
The second semester of freshman year has begun. fighting! ! !
The above introduces 10 things that you should pay attention to when learning PHP or using PHP, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.