Be the correct posture for PHP programmers _php Tutorial

Source: Internet
Author: User
Tags learn php

Be the correct posture for PHP programmers


I am a junior dog, self-study PHP time has been almost two years, feel oneself is an entry-level player. Tell me how you came along.

1. Official documentation

Yes, I still stick to that view: 80% of code problems can be solved by carefully reading the document.

So if you want to learn PHP, then the official PHP document you absolutely can not avoid. You may have just started to follow a teacher's online teaching video to learn, this learning programming way is excellent. But regardless of the video, you finally have to go back to the official website document, you do not have to each function is down, but for some of the common functions and core concepts are recommended to save to the memory area of the brain, to ensure that they can be recalled at any time when necessary; some less common functions you can just remember, Check back when you're not sure. But regardless of the content, you have to read the content carefully, including the sample code.

2. PHP the right

I do not know how other people who learn PHP came along, I do not know if they have found that there is such a great PHP learning materials. But I believe that if a person carefully read the contents of the PHP right way and mastered most of the knowledge, this PHP engineer is very promising. This is probably the difference between the January 8K and the one-month 5K, for a new PHP engineer who just joined the job.

3. Write More Websites

Programming in the end is actually a craft, for the IQ of the same programmer, the skill is often the degree of practice is how much. Now that PHP is born to create Web apps, there's no question that you can write more code and turn your interesting ideas into a Web site that you build with code. Nothing else, just for more practice, this process can give you access to more code problems, once you have solved these problems, your experience value has improved.

I have been writing several sites for so long, and I am impressed by the following:

In fact, in the process of writing these things, the more problems you solve, the more you can improve your ability.

4. Getting Started frame

Writing code is really a craft, but after we've mastered enough of the basics, the question we're thinking about is how to create an application that goes up to the point of how to write a better application faster. At this time, the role of the framework is reflected, it can not only improve your development efficiency, and want to laravel such a framework can simply make you write code to speak as natural and comfortable. Get a good idea of how the framework MVC is implemented, and take a good look at the framework's documentation. If I want to extend this framework, what is the best mode? Basically follow: Learning framework-"use framework-" extension framework-"contribution framework of the source of ideas to learn a framework, almost can grasp the framework of all the knowledge, then your programming ideas and levels will be a great upgrade."

Recommended frame: Laravel Slim Symfony Yii

5. Read the source code

If more code is built-in learning, then the reading source mentioned here is the disassembly of learning. At the same time of creation, you might as well look at how those beautiful wheels are created, see how they solve the same problem is what kind of thinking, in you find the idea of the great God so wonderful, you are also imperceptibly absorbed the idea of the great God.

http://www.bkjia.com/PHPjc/1030792.html www.bkjia.com true http://www.bkjia.com/PHPjc/1030792.html techarticle To be the correct posture of PHP programmers I am a junior dog, self-study PHP time has been almost two years, feel oneself is an entry-level player. Tell me how you came along ...

  • Related Article

    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.