Home > Backend Development > PHP Tutorial > 10 things you should pay attention to when learning PHP or using PHP

10 things you should pay attention to when learning PHP or using PHP

WBOY
Release: 2016-08-08 09:28:40
Original
762 people have browsed it

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.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template