Home >Backend Development >PHP Tutorial >What do you need to know about PHP programming?
This article will introduce to you what exactly you need to master to learn PHP programming? Beginners to PHP should read this article carefully, it will definitely be very enlightening.
What exactly do you need to master to learn PHP? Please read the introduction of this article. 1. Syntax: You must be familiar with it. When writing code, if the IDE editor reports an error on a certain line, you should be able to know what kind of syntax error it is based on the error message and know any corrections. 2. Commands: You must be familiar with some common commands and common options provided by PHP. Be familiar with those commands and run php.exe -h yourself. If you have not used all these commands, you actually don’t know much about PHP. 3. Tools: You must be proficient in using at least one IDE development tool, such as: Eclipse, Netbeans, zend or editplus, ultraedit, including project management, setting of common options, installation and configuration of PHP plug-ins, and debug. 4. API: The core API of PHP is very large, but there are some contents that I think you must be familiar with, including: 1) Flexible use of more than 80% of the functions in the file directory processing function package. 2) Flexible use of more than 80% of the functions in date and time functions. 3), 100% of the content in the mathematical function library. 4) For more than 60% of the content in the network library, you are familiar with the functions of each function. 5) More than 60% of the content under string processing functions, especially various processing functions. 6) More than 90% of the content under the regular expression function, especially various regular processing. 7). For more than 40% of the content under some security libraries, if you have no contact with security, it is impossible to master PHP. 8) XML processing, be familiar with the advantages and disadvantages of SAX, DOM and JDOM and be able to use one of them to complete XML parsing and content processing. 9) More than 80% of the content under the graphics and image function library, especially some image generation and processing. 10) More than 90% of the content under MySQL database functions, especially functions for processing various data. 11) More than 90% of the content under array processing functions, especially various operation processing functions. 12) More than 80% of the content in other PEAR, PECL, and some extended class libraries, especially the processing of some commonly used classes. Find different function libraries for different needs. Editor’s recommendation: Things that newbies to PHP should know 5. Testing: You must be familiar with using phpunit to write test cases to complete automatic testing of the code. 6. Management: You must be familiar with using xinc, phing, etc. to complete common tasks of project management, such as project compilation, phpdoc generation, generation, version control, and automatic testing. 7. Troubleshooting: It should be possible to quickly locate the cause and approximate location of the problem based on the abnormal information. 8. Thought: You must master the main requirements of OOP, so that the system developed using PHP can be a real PHP system. 9. Standards: The code written must comply with popular coding standards, so that the readability of the program will be better. 10. Erudition: Master popular technologies such as OOA, OOD, MS SQL Server, Oracle, Zendframework, cakephp, symfony, template technology, etc., master software architecture design ideas, search engine optimization, cache system design, and website Practical technologies such as load balancing and system performance tuning. Based on the above, I don’t find any difference between PHP and Java! There are a lot of things to learn about PHP, Java, and .net! Impetuous people tend to say: If you are not good at PHP, you should learn Java, C#, VB.NET: --Is it because you are not good at it!? Impetuous people tend to ask: Which one is better, PHP or Java, C#, or VB.NET? - Let me tell you, both are good - as long as you learn it well; Impetuous people tend to ask: What should I learn? - Don’t ask, just learn; Impetuous people tend to ask: Is there any way to make money with PHP? - Hey, then go rob a bank, there is more money to be made! |