In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article is about how to become a PHP programmer. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
I am a junior dog. I have been studying PHP by myself for almost two years. I feel that I am still an entry-level player. Tell me how you got here step by step.
1. Official document
Yes, I still stick to that view: 80% of code problems can be solved by carefully reading the documentation.
So if you want to learn PHP, then you can't avoid the official documents of PHP. You may have followed a teacher's online teaching video at the beginning, which is a great way to learn programming. However, no matter how you watch the video, you still have to go back to the official website. You don't have to download every function, but it is suggested that some commonly used functions and core concepts be saved in the memory area of the brain to ensure that they can be called up at any time when needed. You can only remember some less commonly used functions, just come back and check them when you are not sure. But no matter what kind of content it is, you have to read it carefully, including the sample code.
2. PHP THE RIGHT WAY
I don't know how other PHP students got here. I don't know if they found out that there are such great PHP learning materials. But I believe that if a person carefully read the contents of PHP THE RIGHT WAY and mastered most of it, the PHP engineer is very promising. Because for a new PHP engineer, this may be the difference between 8K in January and 5K in a month.
3. Write more websites
In the final analysis, programming is actually a craft, and for programmers with similar IQ, the superb degree of skill often lies in how much they practice. Since PHP was born to create Web applications, there is no doubt that you should write more code and turn the ideas you find interesting into sites you build with code. Nothing else, just for more practice, this process can expose you to more code problems, and once you have solved these problems, your experience will be improved again.
I have written about several sites for so long, and I am impressed by the following:
Wrote a crowdfunding site for shopping. That is, the above things can be purchased by many people, and then used in turn, such as a book, ten people buy this book together, these people can share their books. This impression is mainly written by native PHP at that time, from which I learned the database, http,url parameters, jump and so on.
The second is a yii 1.1 that writes a question-and-answer community modelled on SF.
The third is the background of the college, which is also written by yiii, which mainly learns how to upload files by Ajax and how to integrate Ueditor in the application.
The fourth is a service site where fans subscribe to star concert information. If users subscribe to interested stars here, once there is a concert to be held, we will send an email to the user to remind them to buy tickets and so on. I have turned to Laravel for this site.
* this is Blog, which has been waiting for the record recently, and has always used a third-party blog platform. This time, I simply wrote a Blog for my own use according to my own article needs.
In fact, in the process of writing these things, the more problems you solve, the more your ability will improve.
4. Overhand frame
It is true that writing code is a skill, but after we have mastered enough basic knowledge, the question we should consider is from how to create an application to how to write a better application faster. At this point, the role of the framework is reflected, it can not only improve your development efficiency, but also frameworks like Laravel can make you write code as naturally and comfortably as you speak. Understand how the MVC of the framework is implemented, how to take a good look at the documentation of the framework, and think about what is the mode of * if I want to extend the framework? Basically follow: learning framework-"use framework -" extended framework-"contribute to the idea of framework source code to learn a framework, you can master almost all the knowledge of the framework, then your programming ideas and levels will be greatly improved.
Recommended framework: Laravel Slim Symfony Yii
5. Read the source code
If writing more code is constructive learning, then the reading source code mentioned here is disassembling learning. At the same time of creating, you might as well take a closer look at how those beautiful wheels are created, and see what kind of thinking is used by others to solve the same problem. While you find that God's ideas are so wonderful, you are also imperceptibly absorbing God's ideas.
Thank you for reading! This is the end of this article on "how to be a PHP programmer". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.