5 ways to make you a master of PHP development
Foreign well-known Webmaster blog developer Guide Developertutorials.com published a "5 ways to make you a master of PHP development," the author of a simple translation, there are errors please criticize the advice. Original Address http://www.developertutorials.com/blog/web/5-ways-to-be-a-better-php-developer-36/
We often encounter PHP beginners in chat rooms or forums asking a variety of questions about PHP, if the problem is too simple, people often reply to "read the manual", "Learn PHP First", "We can not teach you hand" or a "you should learn almost again to ask." How can you learn the same? This post will teach beginners 5 kinds of PHP learning methods that can improve efficiency, write less code, and better network applications. Using PHP to develop programs is always learning: new functions, new frameworks, new design surfaces, new code document styles. Here are some of the best PHP advanced methods.
1. Read the Handbook
I really don't pay much attention to this because there are so many things in the manual. In particular, string, array functions. Manuals are easy to use, and when you read the manual you often find that some of the core functions can be a lot less diligent than previous programs. The handbook is your good companion.
2, browse the code
PHP has a lot of open code resources, why not use it? Download a shared PHP application and read the code. The bigger the project, the better it is, because it has a more complete system and structure, as well as a complete document for reference. If you don't have a start you may wish to view www.sourceforge.net this site.
3. Learning a new framework
PHP frameworks are numerous, many of which are open source and are available on most Web sites. You can start with the most comprehensive website www.phpframeworks.com, which has a good list of PHP frames. With a lot of application to the PHP framework, your next program may need a new framework, and you will certainly find that it is widely used in engineering.
4. Research
You've heard a lot of PHP terminology, from OOP to MVC, kiss to dry, yaml to INI, rest to XML-RPC, there are hundreds of technology concepts that are relevant to your work. You may have a basic understanding of them, but do you really know what they are or what they mean to you? Take the time to study that Wikipedia is a good place to start, and it will certainly help you learn something new.
5. Learn OOP
Maybe the next methods are slightly different from the previous, but OOP is really more important than you might think. Do you know PHP5 's oop? For example, abstract classes, keywords, static and attributes, "protected" interface modifications? Even experienced PHP programmers may not understand this. You can save a lot of development time if you can apply OOP.
This is the 5 easy to understand but meaningful way to become a good PHP developer.