What newbies in php should know
This is written to friends who have already started or are about to get started with PHP programming. It is a long road. Do you know how to go on firmly? Come and take a look at the methods and guidelines revealed in the flying words of this article.
This article is written for friends who have already started or are about to get started with PHP programming. I am no longer a novice. When I was young, I chose programming like you, and chose PHP. From then on began a long career path. I don't dare to say how in-depth I have mastered PHP. I just want to summarize the stormy programming road I have walked on such a night, and at the same time, set up a street light for the brothers who have just entered the industry. As a PHP novice, first of all, you must strengthen your confidence and not waver within three to five years. Find some good PHP introductory tutorials or books, read and practice carefully. Note, don’t just read the article, practice it. Even if it’s just a simple Hello World, it is recommended that you write it yourself several times. Practice makes perfect. In addition, when you have easily walked towards the door of PHP, remember to find a quiet table, sit down quietly, take a piece of white paper, think deeply, and make a short- and medium-term study plan. Then, every once in a while, check your learning progress and the level you have reached. During this process, you must constantly review the previous knowledge system, constantly deny and affirm yourself, and make a summary. It's best to keep a study note. This is the second stage, the long and arduous process of Phoenix Nirvana. It is this stage that will last for half a year, a year or longer, depending on one’s ability to comprehend. Next we talk about the third stage, that is, you have already used PHP to do some simple projects, and you can also be barely competent for slightly more complex projects. At this time, how should you adjust the direction of your efforts? I suggest you find more excellent open source projects, spend a few months, dig into them, learn other people's ideas, and discover what are the advantages of others? Then, make a great decision and write an equally excellent project yourself. If everything goes well, you are not far from being a great person. Of course, this process is quite difficult, but it is worth it! ! In the last stage, you have reviewed many excellent PHP tutorials and excellent PHP source codes in the world, and you have written many excellent PHP projects yourself. At this time, you have to go abroad and look for more classic and large foreign open source projects, such as drupal, wodpress, zend framework, Symfony, Yii, etc. If you can understand and use these, congratulations , you are already a master. The above process takes three years for a smart person, two years for an extremely smart person, and the time for an averagely intelligent person is determined by God! ! In addition, during the learning process, you will find that you not only need to learn PHP programming, but also the various languages associated with it, such as javascript tutorials, vbscript tutorials, Jquery tutorials, css tutorials, object-oriented programming ideas, design patterns, You have to learn by analogy when it comes to document writing and project management! My dear, she asked me to eat, so I’ll stop writing here. This article was originally created by thebadboy and is exclusively published by Programmer’s Home. Please indicate the source when reprinting! ! ! |

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

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

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



Alipay PHP...

Article discusses late static binding (LSB) in PHP, introduced in PHP 5.3, allowing runtime resolution of static method calls for more flexible inheritance.Main issue: LSB vs. traditional polymorphism; LSB's practical applications and potential perfo

JWT is an open standard based on JSON, used to securely transmit information between parties, mainly for identity authentication and information exchange. 1. JWT consists of three parts: Header, Payload and Signature. 2. The working principle of JWT includes three steps: generating JWT, verifying JWT and parsing Payload. 3. When using JWT for authentication in PHP, JWT can be generated and verified, and user role and permission information can be included in advanced usage. 4. Common errors include signature verification failure, token expiration, and payload oversized. Debugging skills include using debugging tools and logging. 5. Performance optimization and best practices include using appropriate signature algorithms, setting validity periods reasonably,

Session hijacking can be achieved through the following steps: 1. Obtain the session ID, 2. Use the session ID, 3. Keep the session active. The methods to prevent session hijacking in PHP include: 1. Use the session_regenerate_id() function to regenerate the session ID, 2. Store session data through the database, 3. Ensure that all session data is transmitted through HTTPS.

The application of SOLID principle in PHP development includes: 1. Single responsibility principle (SRP): Each class is responsible for only one function. 2. Open and close principle (OCP): Changes are achieved through extension rather than modification. 3. Lisch's Substitution Principle (LSP): Subclasses can replace base classes without affecting program accuracy. 4. Interface isolation principle (ISP): Use fine-grained interfaces to avoid dependencies and unused methods. 5. Dependency inversion principle (DIP): High and low-level modules rely on abstraction and are implemented through dependency injection.

How to automatically set the permissions of unixsocket after the system restarts. Every time the system restarts, we need to execute the following command to modify the permissions of unixsocket: sudo...

Static binding (static::) implements late static binding (LSB) in PHP, allowing calling classes to be referenced in static contexts rather than defining classes. 1) The parsing process is performed at runtime, 2) Look up the call class in the inheritance relationship, 3) It may bring performance overhead.

How to debug CLI mode in PHPStorm? When developing with PHPStorm, sometimes we need to debug PHP in command line interface (CLI) mode...
