Home  >  Article  >  Backend Development  >  An explanation of how to learn PHP for newbies to PHP_PHP Tutorial

An explanation of how to learn PHP for newbies to PHP_PHP Tutorial

WBOY
WBOYOriginal
2016-07-20 10:57:19818browse

PHP is an HTML embedded language. It is a scripting language that embeds HTML documents executed on the server side. The style of the language is similar to C language and is widely used. use. Here's how novices can learn PHP.

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 list five ways to become a better PHP developer, so that you can improve in the PHP development process Efficiency, get more done with less code.

In the development process of PHP, there will always be more content to learn, 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 of 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 the website 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 it. You can first choose some mainstream frameworks. The website http://www.phpframeworks.com has a very good list of mainstream frameworks. Recommended reading:

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/445776.htmlTechArticlePHP is an HTML embedded language, a script embedded in HTML documents that is executed on the server side The language, the style of the language is similar to C language, and is widely used. Here are the newbies...
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