search
HomeBackend DevelopmentPHP TutorialThings you need to master in php. Don't be an impetuous person_PHP Tutorial

Things you need to master in php. Don't be an impetuous person_PHP Tutorial

Jul 21, 2016 pm 03:41 PM
javaphpDowndifferentthingpeopleWhatcontentmasterofprogrammerneed

There is no difference. The following content is based on the skills mastered by a Java programmer compared to PHP! Let me tell you, they are actually the same, they are just tools, there is no distinction between high and low.
It’s just that you are not skilled and don’t know!
1. Syntax: You must be familiar with it. When writing code, the IDE editor should be able to know what kind of syntax error it is based on the error message
and know any corrections when it reports an error on a certain line.
2. Commands: You must be familiar with some common commands and their common options in PHP. Be familiar with those commands and run them yourself
php.exe -h. If you have not used all these commands, then you are actually still familiar with PHP. Very unclear.
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, otherwise it will be impossible to use PHP proficiently, including:

◆ File directory processing function package 80 Flexible use of functions above %.
◆ Flexible use of more than 80% of the functions in date and time functions
◆ 100% of the content in the mathematical function library.
◆ More than 60% of the contents in the network library are familiar with the functions of each function.
◆ More than 60% of the content under string processing functions, especially various processing functions.
◆ More than 90% of the content under regular expression functions, especially various regular processing
◆ More than 40% of the content under some security libraries, if you have no contact with security, it is impossible to master PHP
◆ XML processing, familiar with the advantages and disadvantages of SAX, DOM and JDOM and being able to use one of them to complete XML parsing and content processing.
◆ More than 80% of the content under the graphics and image function library, especially some image generation and processing
◆ More than 90% of the content under the MySQL database function, especially functions for processing various data
◆ More than 90% of the content under array processing functions, especially various operation processing functions
◆ 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.
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 exception information.
8. Thought: The main requirements of OOP must be mastered, 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 is better.
10. Erudition: Master OOA, OOD, MS SQL Server, Oracle, Zendframework, cakephp, symfony, template technology and other popular technologies, master software architecture design ideas, search engine optimization, cache system design, website load balancing, system performance Practical techniques such as 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!
Impatient people tend to say: PHP language is not good, you should learn Java, C#, VB.NET: - It's you who can't do it! ?
Impotent people tend to ask: Which one is better, PHP or Java, C#, or VB.NET? - Let me tell you, they are all good - as long as you learn it well;
Impatient people tend to ask: What should I learn? :--Don't ask, just learn it;
Impetuous people tend to ask: Is there any way to make money with PHP:--I suggest you rob a bank

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/321076.htmlTechArticleThere is no difference. The following content is based on the skills mastered by a Java programmer compared to PHP! Let me tell you, they are actually the same, they are just tools, not superior or inferior...
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
What is the best way to send an email using PHP?What is the best way to send an email using PHP?May 08, 2025 am 12:21 AM

ThebestapproachforsendingemailsinPHPisusingthePHPMailerlibraryduetoitsreliability,featurerichness,andeaseofuse.PHPMailersupportsSMTP,providesdetailederrorhandling,allowssendingHTMLandplaintextemails,supportsattachments,andenhancessecurity.Foroptimalu

Best Practices for Dependency Injection in PHPBest Practices for Dependency Injection in PHPMay 08, 2025 am 12:21 AM

The reason for using Dependency Injection (DI) is that it promotes loose coupling, testability, and maintainability of the code. 1) Use constructor to inject dependencies, 2) Avoid using service locators, 3) Use dependency injection containers to manage dependencies, 4) Improve testability through injecting dependencies, 5) Avoid over-injection dependencies, 6) Consider the impact of DI on performance.

PHP performance tuning tips and tricksPHP performance tuning tips and tricksMay 08, 2025 am 12:20 AM

PHPperformancetuningiscrucialbecauseitenhancesspeedandefficiency,whicharevitalforwebapplications.1)CachingwithAPCureducesdatabaseloadandimprovesresponsetimes.2)Optimizingdatabasequeriesbyselectingnecessarycolumnsandusingindexingspeedsupdataretrieval.

PHP Email Security: Best Practices for Sending EmailsPHP Email Security: Best Practices for Sending EmailsMay 08, 2025 am 12:16 AM

ThebestpracticesforsendingemailssecurelyinPHPinclude:1)UsingsecureconfigurationswithSMTPandSTARTTLSencryption,2)Validatingandsanitizinginputstopreventinjectionattacks,3)EncryptingsensitivedatawithinemailsusingOpenSSL,4)Properlyhandlingemailheaderstoa

How do you optimize PHP applications for performance?How do you optimize PHP applications for performance?May 08, 2025 am 12:08 AM

TooptimizePHPapplicationsforperformance,usecaching,databaseoptimization,opcodecaching,andserverconfiguration.1)ImplementcachingwithAPCutoreducedatafetchtimes.2)Optimizedatabasesbyindexing,balancingreadandwriteoperations.3)EnableOPcachetoavoidrecompil

What is dependency injection in PHP?What is dependency injection in PHP?May 07, 2025 pm 03:09 PM

DependencyinjectioninPHPisadesignpatternthatenhancesflexibility,testability,andmaintainabilitybyprovidingexternaldependenciestoclasses.Itallowsforloosecoupling,easiertestingthroughmocking,andmodulardesign,butrequirescarefulstructuringtoavoidover-inje

Best PHP Performance Optimization TechniquesBest PHP Performance Optimization TechniquesMay 07, 2025 pm 03:05 PM

PHP performance optimization can be achieved through the following steps: 1) use require_once or include_once on the top of the script to reduce the number of file loads; 2) use preprocessing statements and batch processing to reduce the number of database queries; 3) configure OPcache for opcode cache; 4) enable and configure PHP-FPM optimization process management; 5) use CDN to distribute static resources; 6) use Xdebug or Blackfire for code performance analysis; 7) select efficient data structures such as arrays; 8) write modular code for optimization execution.

PHP Performance Optimization: Using Opcode CachingPHP Performance Optimization: Using Opcode CachingMay 07, 2025 pm 02:49 PM

OpcodecachingsignificantlyimprovesPHPperformancebycachingcompiledcode,reducingserverloadandresponsetimes.1)ItstorescompiledPHPcodeinmemory,bypassingparsingandcompiling.2)UseOPcachebysettingparametersinphp.ini,likememoryconsumptionandscriptlimits.3)Ad

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.