Home  >  Article  >  Backend Development  >  The five only ways to become a PHP master, the five only ways to become a PHP master_PHP Tutorial

The five only ways to become a PHP master, the five only ways to become a PHP master_PHP Tutorial

WBOY
WBOYOriginal
2016-07-12 09:01:31946browse

Five sure ways to become a PHP master, five sure ways to become a PHP master

Dear friends, this article was reprinted and is not original! Hereby explain

Original text name: 5 ways to be a better php developer
Original text link: http://www.developertutorials.com/blog/web/5-ways-to-be-a-better-php-developer- 36/
Chinese translation: Altair
Draft first release: http://www.phpinternals.com/

There are often questions from inexperienced PHP developers on Freenode’s ##php IRC channel question. 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
Nothing is 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. If you don't know where to start, check out http://www.sourceforge.net.

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 them. You can first choose some mainstream frameworks - the website http://www.phpframeworks.com has a very good list of mainstream frameworks.

4. Research
You may have heard of many terms during the PHP website development process and discussions. From OOP to MVC, KISS to DRY, YAML to INI, and even REST to XML-RPC, there may be hundreds of technical concepts directly related to your work. You may have a basic understanding of them, but do you really understand what they are and what they mean to you? Take some time to do some real research. Wikipedia is a great starting point for such research. You will definitely learn something new from it.

5. Learn object-oriented programming
This may be a continuation of the previous method, but OOP is more important than you think. Do you really understand how OOP is implemented in PHP5? For example, do you really understand abstract classes, interfaces, the "implements" keyword, static methods and static properties, and the access modifier "protected"? Even many experienced developers fall in front of these problems. If you can make full use of OOP features, you can save a lot of development time.

That’s it. If you want to become a PHP master, these are the five most direct and important methods.

---------------------------------
The Chinese and English versions of this article have been published in PHP English section.

[ This post was last edited by Altair on 2008-6-23 12:17 ]

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/1089037.htmlTechArticleThe five only ways to become a PHP master, the five only ways to become a PHP master. Dear friends, this article was reprinted and is not original. ! Hereby explain the original title: 5 ways to be a better php develope...
Statement:
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