Home >headlines >How long does it take to learn PHP?

How long does it take to learn PHP?

小云云
小云云Original
2017-11-04 14:59:382259browse

Many netizens have asked recently, how long does it take to learn PHP well? Regarding this issue, I think it varies from person to person. Friends who are concerned about this issue must be those who are preparing to enter the industry, so let’s analyze how long it will take?

If you want to start learning PHP, PHP alone is definitely not enough. First of all, you need to know what PHP is and what it can do, and then start with the most basic HTML.

1. Basic part:

HTML+CSS+DIV

Learning method: read the manual or read the book, and then write the code. At this stage, it is not recommended that you watch the video tutorial, because This is the most basic thing, not difficult to master, and watching videos is indeed a waste of time. The learning cycle is about 10 days. These 10 days refer to the fact that you have mastered HTML+CSS+DIV, and then it is time to enter the actual combat.

Find a few web pages on the Internet and make them yourself. You don’t need too many, but at least 5-8, and the compatibility must be handled well. It doesn’t need to be very high, and at least IE8 must be taken care of. After everything is done, it will be gone for at least 15 days.

Okay, take two days off. Review and summarize what you have learned, and look at

javascript related information to have a perceptual understanding of javascript.

Well, as expected, the first month passed like this.

2.jQuery part:

As promised, what about javascript? You read that right, it’s jQuery!

If you have enough money, buy this book. If not, just read the manual and still write code. Integrate jQuery into the web page you made earlier. Try writing some simple special effects and make something interactive. If you can't write it, you can download some simple source code online, practice it a few times before you understand it, and try to change something.

If it comes and goes like this, half a month will be gone, right?

Indeed, it is unreliable to learn jQuery without JavaScript, but remember one purpose: to find a job. The reason why everyone is asked to learn jQuery directly is to be able to make things as soon as possible, and the main focus is on PHP.

3.PHP part:

Finally we have our protagonist. But for children with zero programming experience, this stage is enough for you to drink a pot. You will encounter many, many problems, and there are only three things you can do: 1. Persistence, 2. Write code, 3. Persistence in writing code. At the risk of being suspected of advertising, I would like to recommend everyone to watch Teacher Han Shunping’s video. If you are a book reader, I don’t have any good books to recommend to you. The book I read at the time was

"php and mysql web development" fourth edition. The overall feeling is okay. Everyone depends on their own situation.

Have you almost mastered the basic parts of PHP? This should be a month or two later. At this point you will feel that there is still something missing, data? You should learn

MySql database.

4.MySql part:

If you have watched Teacher Han Shunping’s video before, your computer should have already installed the MySql database. If not, install one yourself.

Create database--Create table--Add, delete, modify and query--Index--Union query--Primary foreign key. . . It is not recommended that you use phpmyadmin at this stage. Just enter commands in the black window honestly. This is your basic skill!

After learning all the basics, congratulations, you have the basic requirements for finding a job.

5. Go back and review the knowledge you learned earlier. After reviewing, start working on the project. Give yourself 1 to 2 months to independently develop projects. When you are looking for a job, you will find out how cost-effective it is to spend time on projects!

Try to start with simple small projects, such as corporate display websites, BBS, small modules in OA systems, attendance systems, etc. Try to make every line of code come from your own hands. During the project, learn to understand

Object-oriented, MVC, modify and improve your own code, and learn to reuse code. You will feel growth and transformation every day, and enjoy the process.

The above is also shared by experienced people. Calculated in this way, the learning time is about 5 months. The specific situation depends on personal qualifications, learning environment, etc. Self-study is a very difficult process, I hope you can persevere.


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn