Recently, I have found that I am slow in writing code, and I am also familiar with using PHP libraries. I often go to github, packagist, and circumvent the firewall. I am a little confused as to how to progress in the depth of PHP. I am limited to PHP here, such as the underlying architecture of PHP, the operating principle of PHP, etc.! I hope everyone can give me a good guide. Searching the Internet for PHP learning directions, there are a lot of training institutions, such as CSS, html, etc. This is not what I want. I just want to learn PHP, but I just don't know how to go in depth. Please give me some advice.
某草草2017-06-05 11:10:03
PHP is like making porn movies, you understand, but you can’t become a big wet guy without skills. If you want to become a great developer, you must first have the following basic skills
1. Be familiar with all the basic knowledge of PHP, and you must be familiar with W3C PHP usage.
2. To master the basic skills, you must start with the PHP architecture. First, understand the mainstream MVC framework, as well as laravel, tp, and yii.
3. When you feel that the MVC framework has become a burden on your project, you can develop your own MVC framework for the first time. This involves a lot of programming knowledge, such as various development models, processes, and how to implement the MVC architecture.
4. What do you think of 3? If you still can't meet your project requirements, then you have to start with LANMP. Various conf files can kill you. There is also nosql
5. If you want 3, 4 to be more optimized, you can implement master-slave architecture and distributed system
6. When you feel tired of 3, 4, 5, you can learn about the bottom layer of PHP, or try to use C to PHP extension package
In fact, there are really many things to learn in the programming world. Some people implement a function with dozens of lines of code, while others use thousands of codes. Solid basic skills are the most important. And don’t underestimate yourself
phpcn_u15822017-06-05 11:10:03
I am:
1. Gradually gain in-depth knowledge in all aspects: https://github.com/TIGERB/eas...
2. Create your own framework: https://github.com/TIGERB/eas...
3. Currently learning go, I hope to understand PHP through learning go
给我你的怀抱2017-06-05 11:10:03
First of all: Please think about whether "recently I find myself writing code slowly" is caused by a lack of understanding or in-depth understanding of PHP
If so, please familiarize yourself with PHP’s features, syntax, etc. Read more documentation. As for PHP’s underlying architecture and operating principles, they are not consistent with the question you raised
If not, please think carefully about where the problem lies?
Familiarity with the framework? Familiarity with the business logic? Thoughts on the overall architecture of the project?
Think carefully about where your problems arise, don’t be “confused”
滿天的星座2017-06-05 11:10:03
If you want to learn C in depth, try to write an extension, or look at asynchronous extensions such as swoole/workman. Brother Niao’s blog also talks about some underlying principles
曾经蜡笔没有小新2017-06-05 11:10:03
Check out Master Han’s article: Where will the future be for PHP programmers in 2017
伊谢尔伦2017-06-05 11:10:03
I recommend it! Learning a language should be a hard skill. The basic knowledge of PHP must be solid. Secondly, learn the mainstream MVC framework and read more about their code. In order to learn knowledge, I suggest buying some PHP design patterns. , or similar books, try to enrich your programming ideas. We should not always think about what we can write and what we cannot write. We should think about design patterns. The most important thing is your brain. Code is a tool, what matters is your thoughts!