I feel that php is getting started quickly, but I want to go deep and find it difficult. I don't know what to do?

Source: Internet
Author: User
0 reply content: Quick Start is the language itself simple. It should be almost simple for you to learn Python, Ruby, and Golang. It is difficult to go deeper because you are simple, it's just like learning English. It's not difficult to speak English, but it's hard to write your own articles in English. To speak English, you just need to say the one or two sentences you want to say, answering others' questions also gives you a clear goal. Even if you haven't practiced that pure English thinking, you can translate what you hear into Chinese and then answer it in Chinese, translate what you want to answer into English. This is the same as writing a PHP program. There is a problem for you to solve, such as printing a 99 multiplication table, you may be able to translate it into: I have a requirement to print out the 99 multiplication table, set two variables I and j, and then we only need to have two loops. Of course, we also need a judgment, and so on. Then translate this Chinese character into the PHP language. But like English, if you want to learn more deeply, you need to know your skills, for example, if you need to write a paper titled the influence of ancient Greek and Roman mythology on the development of English vocabulary, in addition to understanding the English syntax (PHP syntax), vocabulary (PHP keyword), structure (PHP control structure), and so on, you also need to know things outside of English (Greek/Roman mythology, English vocabulary influenced by these myths, English history ), these are embodied in PHP, and you need to know the programming ideology, basics, data structure, and other things that you don't want to do with PHP, but are necessary.

I am a professional in English, PHP, Python, and self-taught. I once had the same problem with you. I think you should be at one point: you can barely understand other people's code and programs and want you to do something, but the problem is that you are not a system. Especially when you go to an interview, if you have a written test, you will not be able to get it ...... That's why you are confused. Why can't I go deep into PHP?

I don't have any special methods to solve this problem. Let's just talk about how I got it:

1. first, it was the same as you, but we didn't know such a website at that time. At that time, blogs, forums, and so on were popular. Therefore, we basically searched for such websites on Google, however, I found that the answer is basically the same-looking for a few good tutorials and learning them step by step. In fact, this has no essential effect on self-study, and it is a temporary solution, after nearly a year, PHP did not grow in this year, but it was used to write the WordPress theme plug-in (this is my only requirement at that time)

2. in that year, I got started with Python and was immediately attracted to it. So I immediately gave up PHP and became a loyal Python user, but the same problem happened again, I have carefully studied all the official Python documents. Theoretically, I should be a person who fully understands Python, I can solve all the problems that Python can solve, but this is not the case ...... There is still a lot of food that can be made and delicious, just like fried cabbage. the taste and nutrition are far from each other one minute before and one minute later. The reason is very simple, let's talk about it with fried cabbage. The Cabbage is too cooked, not nutritious, and not brittle. It's too early to cook and it's no different from eating raw food, but is this question true? Hot Pot, add a little bit of oil, drop cabbage in, stir-fry, add some salt, out of the pot, it is so simple, then why is the taste so different?

3. later, I found a problem. My HTML + CSS was in contact with PHP at the same time, however, in the past two years, I have dared to use the word "proficient" to describe my abilities in any part of the HTML + CSS (in fact, now, even now, I have not reached the level of proficiency.) Looking for reasons, at the same starting point, why is a progress so fast and slow? What I found is that I have a deep understanding of the generation, development, history, various versions of HTML and CSS, and the differences between different versions, these are the things irrelevant to the standards of the HTML + CSS technology. I am "proficient" in this. Are you hard to say HTML + CSS? It's very simple. It's just tag, attribute, value, and content. But isn't it hard for you to say it? It's hard ...... Why is the same design work converted into HTML + CSS? Why do you need to spend 1000 rows while others only spend 3000 rows? This is the difference, for example, the most common layout of the left, right, and three columns. If you only want to learn CSS, And you are smart enough, you may be particularly familiar with float, however, you will find that, even if it is float, you do not have the flexibility of others. The HTML structure and CSS defined by others can be very simple to implement the three columns on the left, right, and most importantly, the three columns can be easily changed, but what you write is dead. To change the position, you have to change HTML or CSS. Why?

4. later, I tried to re-learn PHP/Python by learning HTML + CSS. At this time, I really learned to think, but this process is very long, but it is not painful at all, after learning about the origins of PHP, I know which similar languages are available before the emergence of PHP. Why does the author need a PHP? What is PHP used? I know that PHP can be used to develop programs. It is a programming language. Then I trace it back and find out what the programming language is and why it should be used? Then go up ...... New knowledge will make you completely forget that you are learning PHP for the moment, but in this process, you will find that your PHP Technology is gradually improving, because all these are common, when you understand other theories, you are actually adding your PHP knowledge, such as MVC, such as naming rules, such as various programming ideas, for example, object-oriented

5. in this learning process, your knowledge is no longer limited to the single thing of PHP, but all things related to it, these so-called extra knowledge will become part of your own life. No matter what other programming language you are going to learn in the future, you will usually be able To get started quickly and go deeper ...... I think the landlord is a little worried. If you are afraid of learning it, it seems that you have nothing to do with it. In fact, it is very important to practice it during study, and try to integrate the learned knowledge as much as possible. As mentioned above, when learning a thing and encountering real examples, it is not just done on one hand, of course, some of them can also be done, but it is too simple. Therefore, in my opinion, the mentality is actually very important. It is the motivation to support your continued development. When you are recommended to study, you may wish to have more contact with others, which should be much better.

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.