The correct steps to become a PHP programmer

Source: Internet
Author: User
: This article mainly introduces the correct steps to become a PHP programmer. if you are interested in the PHP Tutorial, please refer to it. Interest-related: all of the following statements only represent personal opinions and do not represent the interests of the entire organization.

I am a junior dog and I have been studying PHP for almost two years. I feel like I am an entry-level player. Let's talk about how we came along step by step.

1. official documentation

Yes, 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 cannot avoid official PHP documents. You may have followed a teacher's online teaching video at the beginning. this learning programming method is excellent. However, no matter how you watch the video, you still have to go back to the official website. you don't need to use every function. However, we recommend that you save some common functions and core concepts to the memory area of your brain, make sure that they can be called at any time when needed. you can only remember some less commonly used functions. if you are not sure, you can check them back. However, you have to carefully read the content, including the sample code.

2. PHP THE RIGHT WAY

I don't know how other PHP learners came along. I don't know if they found such a great learning material for PHP. However, I believe that if I have carefully read THE PHP THE RIGHT WAY content and mastered most of THE knowledge, this PHP engineer will be very promising. This may be the difference between K and K for a new PHP engineer.

3. write more websites

In the end, programming is actually a craft. for programmers with similar IQ, the skill level is usually based on the skill level. Since PHP is born to be used to create Web applications, there is no doubt that you can write more code and turn your interesting ideas into websites built with code. Nothing else, just to practice more, this process can expose you to more code problems. Once you solve these problems, your experience is improved.

I have written several websites for so long, and I'm very impressed with the following:

  • I wrote a website where crowdfunding is used to buy things. That is, the above items can be purchased by multiple people, and then used around. for example, if a book is bought by ten people, these people can share their books. This was impressive mainly because it was written in native PHP at the time, and I learned about databases, http, url parameters, and redirection.
  • The second is that yii 1.1 writes a Q & A community exactly like SF.
  • The third is the background of the school, which is also written by yiii. it mainly learns how to upload files through Ajax and how to integrate Ueditor into applications.
  • The fourth is a service site where fans subscribe to celebrity concert information. If you subscribe to related stars here, once there is a concert to be held, we will send an email to the user to remind the user to buy tickets. I have switched to Laravel.
  • Finally, this is the Blog that has been waiting for record filing recently. it has always been using a third-party blog platform. this time, I wrote a Blog of my own based on my article requirements.
  • In fact, when writing these things, the more problems you solve, the more you can improve your capabilities.

    4. get started with the framework

    Writing code is indeed a craft, but after we have mastered enough basic knowledge, we should consider how to create an application and how to write a better application faster. At this time, the role of the framework is shown. it not only improves your development efficiency, but also allows you to write code like Laravel. Take a good look at how MVC is implemented in the framework, take a good look at what happens in the framework documentation, and think about what is the best mode if I want to expand this framework? Basically, we should follow the learning framework -- use the framework -- extend the framework -- and contribute to the framework source code to learn a framework, so we can almost grasp all the knowledge of the framework, at this time, your programming ideas and levels will be greatly improved.

    Recommended framework: Laravel Slim Symfony Yii

    5. Read source code

    If writing more code is a learning of construction, the reading source code mentioned here is a learning of disassembly. At the same time of creation, you may wish to look at how the beautiful wheels are created and how people can solve the same problem, while discovering that the idea of the great God is so brilliant, you are also absorbing the idea of the great god.

    Original article: http://www.phpxs.com/post/4065

    The above describes the correct steps to become a PHP programmer, including relevant content, and hope to help those who are interested in PHP tutorials.

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.