Home>Article>Backend Development> What do you need to learn about PHP?

What do you need to learn about PHP?

清浅
清浅 Original
2019-05-11 16:38:04 6832browse

php needs to learn: 1. Website front-end knowledge; basic working principles of the website (B/S mode), HTML CSS JS jquery related knowledge. 2. PHP syntax; variables, operators, constants, data types, functions, and language structures. 3. Knowledge related to mysql database. 4. Object-oriented, PHP framework (Yii, Lavarel, etc.).

What do you need to learn about PHP?

[Related learning recommendations:php programming(video)]

php is easy to learn and widely used, and is mainly suitable for web development. It is a general-purpose open source scripting language. The syntax of PHP has the characteristics of C, Java and Perl as well as its own characteristics. After 24 years of development, PHP has developed from the initial 1.0 to version 7.0. The functions of PHP have become very powerful. PHP is a course suitable for beginners with zero foundation in programming. Programming language, here is an introduction to what you need to learn about PHP, I hope it will be helpful to you

1. Lay a solid foundation

Be familiar with the front-end knowledge of the website and understand the basics of website work The principle (B/S mode) requires that you can write HTML, be able to use div CSS to write static pages, and be proficient in S and jquery. In many cases, PHP programmers and front-end work are inseparable. Sometimes PHP programmers need to participate in the front-end For work, the basic requirements for PHP programmers are to understand, be able to change div css, and be able to write js. Only by better mastering the basics of the front end can they write "high-end" code.

2. Master PHP syntax

Master variables, operators, constants, data types, functions (commonly used functions), common language structures (if..else, for cycle, etc.). The most important of them is the PHP function library. PHP5 alone provides 2,000 functions. It is impossible for us to remember them all. We must be familiar with the commonly used functions in the manual to have an impression when using them. Practice more. Being familiar with these functions can make programming easier. The effect of getting twice the result with half the effort is relatively dry. You must master the above knowledge at this stage of "sharpening the knife and chopping firewood".

3. Database learning

Database operations are also an essential part of web development, so you must also master the use of databases. The database mainly refers to mysql (php supports most Database software) Proficient in using the database to add, delete, modify, and query. These are basic operations. As for data optimization, you can also learn about it.

4. PHP in-depth learning

Master the object-oriented learning, master the popular PHP framework (ThinkPHP, Yii, Lavarel), and be able to use the framework to develop websites.

The above are all junior and intermediate levels of PHP. They are still far away from the real masters (web architects). They can only continue to learn and break through the limits of their abilities. In fact, the programming ideas of high-level programmers are far greater than the procedures. Language itself, the summary is that "ideas are greater than language itself."

The above is the detailed content of What do you need to learn about PHP?. For more information, please follow other related articles on the PHP Chinese website!

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