Current location - Education and Training Encyclopedia - Education and training - Is PHP easy to learn?
Is PHP easy to learn?
I think whether php is difficult to learn and how long it will take is a * * * question, so I will summarize several situations first.

The situation is good:

1, it is not excluded that some people have talent, high IQ and big brain holes. Get started quickly, which is related to the Z-sulcus in the brain. But most people's brains weigh about the same.

It is not excluded that some people have the crazy learning spirit like a mad dog. This kind of person has a short cycle from entry to promotion.

3. It is not excluded that some people are very popular, such as MM programmers. Whenever there is a problem, there will be a middle-aged brother, sister, brother and sister to help, guide and even debug the program for them. If they work harder, such people will make rapid progress. In the world of programming, if there is a great god to guide you, plus you are very studious, it is the same speed as flying.

Let's not talk about bad situations. It is not excluded that some people have no talent, are as shabby as I am, have no guidance from the Great God, are naturally afraid of pain, and cannot achieve mad dog-like efforts.

Judging from my personal study, it is a "bad situation". I hope everyone will not be like me.

For php, I give a template of how long it takes for PHP to learn by itself from entry to mastery. In other languages, everyone plays tricks on themselves.

1, Getting Started (Phase 1)

Standard: Master basic grammar. Be able to write hello world in notepad. Can download wamp and other automatic suites from the Internet to install php+apache environment. Meanwhile, your helloworld can run.

At this stage, it takes about a week to a month. Look at passion, there is no fixed.

Mental state: confused. I often scratch my hair by hand, and it is common to stay up late.

Love life: having a girlfriend

2. Introduction (Phase II)

Standard: Learn simple html and write ugly style sheets. At least you can use p to make a random floating effect. Cooperate with PHP to display the dead array in the page.

Mental state: Programmers are temperamental and have a bad temper. They like to argue with others about whether php has a future or XX language has a future (php, python, ruby, which should I learn? ), I feel that I am not far from Gates.

Love life: may have a girlfriend.

3. Early stage

Standard: Learned how php connects to mysql. You can connect mysql with client tools, and it is best to deploy phpadmin yourself. And will write two simple sql statements. Css and html have been improved. Ability to read data and cycle some data to the page.

There is a very important factor to break away from the primary stage: I no longer believe that "PHP+IIS is well matched" and began to have an inexplicable affection for Linux.

Mental state: working in a small company. Poor popularity, don't like to talk, hesitating whether to start over in another language. I prefer reading inspirational articles to eating breakfast.

Love life: no girlfriend.

4. Junior high school stage

At this point, you can manually configure the php+apache environment. I became interested in linux. At least I know that yum can install php+apache with one click, and can do simple configuration.

Start working with the project manager. Often scolded. It takes a lot of energy to sweep insects.

Mental state: often close to the brink of collapse. I haven't moved, and my hairstyle is often ignored for a month.

Love life: I don't have a girlfriend, although I yearn for it, and there are many acne.

5. Intermediate stage

To reach the intermediate level, you must have done at least 2-3 real or quasi-real simulation projects (php practice courses). In the project, I have accumulated some debugging experience, performance tuning performance and Sql optimization performance.

Linux skills have been improved and the apache configuration of the website can be optimized. Have a certain understanding of nginx and be able to operate it.

At this time, I have understood an important truth: learning PHP well is not enough. At the same time, we should also master some knowledge of html, js, linux and database. And you can't learn anything, otherwise php will learn in vain.

Mental state: I am supercilious and feel like a great god. Always ask the boss for a raise. Scold the project manager. Think all your ideas are right.

Love life: No, duang.

6. Advanced stage (1)

To reach the advanced stage, you must do some (several? This large and medium-sized project. In the project, I have accumulated a high skill of identifying bugs with the naked eye. At the beginning, I was able to write my own PHP front-end framework. The JS level is relatively advanced (here refers to the original JS), and the database level is not much worse than the company DBA. If the company's operation and maintenance personnel are pregnant, they can replace the operation and maintenance, and they will not vomit for a day.

Interested in open source code. Very easy to use, can understand open source code. Such as memcached or NOSql products.

Mental state: the mentality is gradually peaceful. I finally know that there is a world behind me. I began to respect leaders, although sometimes I was reluctant.

Love life: married. Love cycle is short, almost enough.

7, advanced stage (2)

Doing large and medium-sized projects is no longer limited to PHP. Instead, Java and other languages are used as the background, python is used for data analysis (or mining) and PHP is used as the front end. Master at least 2 databases.

At this time, learning a new technology has reached the level of omniscience, and you can master the grammar of a new pronunciation in minutes.

Mental state: diaosi temperament has disappeared. Very humble. Although sometimes depression will be completely exposed, it will soon return to normal.

Love life: all children have it.

8. Late stage

PHP is already just a tool. So are other languages.

Math catch up, c/c++. It is normal to modify the PHP kernel.

At the same time, it is considered that becoming an advanced stage of PHP has nothing to do with PHP itself.

Mental state: completely return to normal state. Already bought a house. Be able to control your emotions independently.

Love life: also a master. You know