Here are some of the best ways to become a better PHP developer.
1. Read the Manual
There's nothing more to emphasize than reading a manual – You can learn a lot by reading the manual. In particular, the functions related to string and array. There are many useful functions included in these functions, and if you read the manual carefully, you will often find that in the past project development process, many times you are "reinventing the wheel", and in fact you just need a core function to complete the corresponding function. The handbook is your friend.
2. Browse Source code
There are many open source programs that are developed using PHP. Why not study them? Download a source code for an open source PHP application and read it carefully. Perhaps the larger the project is worth reading, although they may have more complex structures and systems, but there are also more detailed explanations of the document. If you don't know where to start, you can try SourceForge.net.
3. Learning a new framework
Perhaps a lot of new frameworks come out of a meal, and most of them are open source and can be downloaded directly from the Internet, if you know where to look. First select some of the mainstream frameworks-phpframeworks.com inside there is a good list of frameworks. The frame you choose will never be perfect, your next project may need a different framework, and its functionality is exactly what your project needs.
4. Research
You may have heard a lot of terminology in the PHP Web development process and discussions. From OOP to Mvc,kiss to Dry,yaml to INI, or even rest to xml-rpc, there are probably hundreds of technical concepts that are directly related to your work. You may have a basic understanding of them, but do you really know what they are and what it means to you? Take a moment to do some real research. Wikipedia is a good starting point for these studies. You will certainly learn some new knowledge.
5. Learning Object-oriented programming (OOP)
This may be the continuation of the previous method, but OOP is more important than you think. Do you really understand the implementation of OOP in PHP5? For example, do you really know about abstract classes, interfaces, "Implements" keywords, static methods and static properties, access modifiers "protected"? Even many experienced developers fall in front of these problems. If you can take advantage of the features of OOP, you can save a lot of development time.
http://www.bkjia.com/PHPjc/486164.html www.bkjia.com true http://www.bkjia.com/PHPjc/486164.html techarticle Here are some of the best ways to become a better PHP developer. 1. There is nothing more to emphasize than reading a handbook – just read the manual and you can learn ...