Home >Backend Development >PHP Problem >What basic knowledge is needed for php
This article introduces you to the basic knowledge you need to master before learning PHP. Many people think that PHP can be learned from scratch, that is, you can learn PHP directly without learning anything else. Indeed, getting started with PHP is easy and is not linked to other knowledge. You can learn it from scratch without any other knowledge. But in my opinion, you still need to master some basic knowledge about web page production before learning PHP.
html, css, and javascript are mainly used to make front-end pages. Some people may ask, since I am learning PHP and doing back-end programs, why should I learn front-end production? Besides, don’t big companies have a clear division of labor for front desk, back office, art, etc., and why do they still need me to write them? Yes, but that is a large company. For a small company, all of this needs to be done by one person. From page design, page layout, art, to backend processing, it is all done by one or several people, without a clear division of labor. Everything must be done at the front desk and at the back desk. In large companies, although there is a clear division of labor, although you are not required to write these things at the front desk, you must be able to read them.
What mysql needs to master is SQL statements, which are nothing more than adding, deleting, checking, and database optimization. These are relatively simple and fast to learn, and they are also knowledge that must be mastered.
The following is a list of what you need to do to learn PHP:
1. Make sure you can understand the PHP code with the help of the manual.
2, ensure that you can basically use MySQL and know common queries, including joint queries. You must know how to install MySQL and configure user permissions.
3. Make sure you are proficient in using tables and understand the data organization and display logic of HTML.
4. Make sure you understand CSS and can layout DIV CSS, and master common tags such as DIV, UL, DL, SPAN, and P. (If you are a professional, you also need to learn floating, positioning, lightbox, etc.).
5, ensure that you can write commonly used Javascript code, and start learning Javascript libraries, such as jquery. When learning a JS library, remember not to look at the source code all at once. Read the manual first and then learn based on the examples. Just learn how to call it.
The above is the detailed content of What basic knowledge is needed for php. For more information, please follow other related articles on the PHP Chinese website!