The right steps to become a PHP programmer
Release: 2016-08-08 09:20:04
Original
875 people have browsed it
Interest related: All the words below only represent personal opinions and do not represent the interests of the entire organization. I am a bigot. I have been learning PHP by myself for almost two years. I feel like I am still an entry-level player. Tell me how you got there step by step. 1. Official documentationYes, I still stick to that point of view: 80% of code problems can be solved by reading the documentation carefully. So if you want to learn PHP, you absolutely cannot avoid PHP’s official documentation. You may have learned from a certain teacher’s online teachingvideos when you first started. This way of learning programming is excellent. But no matter how you watch the video, you still have to go back to the official website documentation in the end. You don’t have to download every function, but it is recommended to save some commonly used functions and core concepts to the memory area of your brain to ensure that they can be used when needed. Call it up at any time; you can just remember some of the less commonly used functions, and just come back to check when you are not sure. But no matter what kind of content it is, you have to read the content carefully, including the sample code. 2. PHP THE RIGHT WAYI don’t know how other people learning PHP got there. I don’t know if they have discovered that there are such great PHP learning materials. But I believe that if a person carefully reads the content of PHP THE RIGHT WAY and masters most of the knowledge, this PHP engineer has a very promising future. Because for a PHP engineer who has just started working, this may be the difference between 8K a month and 5K a month. 3. Write more websitesIn the final analysis, programming is actually a craft. For programmers who have similar IQs, the level of skill often depends on how much they practice. Since PHP is designed to create web applications, there is no doubt that you should write more code and turn your interesting ideas into websites you build with code. Nothing else, just to practice more. This process can expose you to more code problems. Once you solve these problems, your experience value will increase again. I have written about several sites for a long time, and the following are the ones that impressed me most: Written a site for crowdfunding to buy things. That is, the above items can be purchased by multiple people and then used in turn. For example, if ten people buy a book together, these people can share their books. This impressed me mainly because it was all written in native PHP, from which I learned database, http, url parameter passing, jump, etc.
The second one is a Q&A community written in Yii 1.1 that is completely modeled after SF.
The third one is the backend of the academy, also written by yiii. This one mainly learns how to upload files with Ajax and how to integrate Ueditor in the application. The fourth one is a service site for fans to subscribe to celebrity concert information. If the user subscribes to relevant celebrities of interest here, once there is a concert to be held, we will send an email to the user to remind the user to purchase tickets, etc. I have switched to Laravel for this site.
The last one is the blog that has been waiting for registration recently. I have always used third-party blog platforms before, but this time I simply wrote a blog for my own use based on my own article needs.
In fact, in the process of writing these things, the more problems you solve, the more your abilities improve. 4. Get started with the frameworkWriting code is indeed a craft, but after we have mastered enough basic knowledge, the questions we should consider should be from how to create an application to how to write a better one faster application. At this time, the role of the framework is reflected. Not only can it improve your development efficiency, but frameworks like Laravel can make writing code as natural and comfortable as speaking. Understand how the framework's MVC is implemented, take a good look at the framework's documentation, and think about what is the best model if I want to extend this framework? Basically follow the idea of: learning framework--"Using framework--"Extending framework--"Contributing framework source code to learn a framework, and you can master almost all the knowledge of the framework. At this time, your programming thoughts and level There will be a big improvement. Recommendedframework: Laravel Slim Symfony Yii5. Reading source codeIf writing more code is constructive learning, then the readingsource code mentioned here is dismantling learning . While creating, you might as well take a look at how those beautiful wheels are created, and see what other people's ideas are for solving the same problem. While you find that the master's ideas are so wonderful, you are also subtly absorbing them. Follow the master's thoughts. Original text: http://www.phpxs.com/post/4065
The above has introduced the correct steps to become a PHP programmer, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.
Statement of this Website
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
Latest Articles by Author
-
2024-10-22 09:46:29
-
2024-10-13 13:53:41
-
2024-10-12 12:15:51
-
2024-10-11 22:47:31
-
2024-10-11 19:36:51
-
2024-10-11 15:50:41
-
2024-10-11 15:07:41
-
2024-10-11 14:21:21
-
2024-10-11 12:59:11
-
2024-10-11 12:17:31