There are often inexperienced PHP developers asking questions on Freenode’s ##php IRC channel. If the question is trivial, or the answer is obvious, or if they act like a noob, they will soon find themselves bombarded with responses like: "Go read the damn manual," "Go learn PHP." , "we are not your personal mentors" or more directly "you need to become a better PHP developer". But, how can you become a better PHP developer? In this article, I outline five ways to become a better PHP developer, so you can become more efficient in your PHP development process and get more done with less code. There will always be more content to learn during the development of PHP, such as new core functions, new frameworks, new design patterns, new coding or document specifications, etc. Here are some of the best ways to become a better PHP developer.
1. Read the manual
There is nothing more important than reading the manual – you can learn a lot just by reading the manual. Especially functions related to strings and arrays. These functions include many useful functions. If you read the manual carefully, you will often find that in the past project development process, you often "reinvent the wheel", but in fact you only need one core function. Complete the corresponding functions. The manual is your friend.
2. Read the program source code
There are many open source programs developed using PHP. Why not learn and learn from it? Download a copy of the source code for an open source PHP application and read it carefully. Perhaps the larger projects are more worth reading, although they may have more complex structures and systems, but also have more detailed explanatory documentation.
3. Learn a framework
Nowadays frameworks are springing up like mushrooms after a rain; most of them are open source and can be downloaded directly from the Internet, of course You need to know where to download it. You can first choose some mainstream frameworks — website