Statement:PHPIs the simplestWebsiteDevelopmentLanguage. This is wrong.
Wood is simpler than building blocks, but the difference between a carpenter and a child is that a carpenter can turn both wood and building blocks into a house. A child can only turn building blocks into a house. For wood, they can only draw a house on it.
PHP is like wood. cainiao can only use it to do simple things,MasterIt becomes omnipotent.
Since PHP is simple and show off, how can we become a master?
Please look down ......
Go beforeLearningC # OrJavaBasic.
Why? PHP is irrelevant. Yes! It is necessary to first learn this and understand the basic things. The most important thing is to learn object-oriented programming. Even if you learn this, you will climb.
First, the basics of PHP
You have to. How can't you even fly? What variables, constants,Statement,FunctionTo understand some basic knowledge about web development and what get requests/PostRequest,HtmlAnd forms.
Next, compare and learn PHP Object-Oriented Programming Based on the first object-oriented programming knowledge.
Because PHP's Object-Oriented Programming syntax is quite special, you need to learn to write C # basics before. If you do not want to learn this, no one will block you from the PHP object-oriented approach.
Next, let's write down something, a message board, and so on. It's important to know what the event is. Exercise is very important. If it can be written, it indicates that the basic knowledge is good. Continue to write a CMS orForumAnd so on. Why? Look down.
Write your own things while referring to others'Code, Learning and practicing.
Slowly, your own things are a little interesting, so let's continue to look at other things of the same type.ProgramOfSource codeAnd you will find that some code is junk. Now, you have made progress.
Let's try to fill in the basic knowledge.
What design model,FrameworkDesign, whether you understand it or not, let's take a look at it for a long time. If you cannot eat pork, let's take a look at pig's main line.
At this time, you can also choose to temporarily give up PHP, study a section of C # or Java, and write down our previous exercises in different languages. You will find that there are many differences between other languages and PHP, which are convenient and inconvenient, and you will gradually become confused, so that your kid will be ready to play.
Next, let's continue to look at other people's programs.
At this time, you will not be able to look at how people's programs implement their functions. It is necessary to focus on the program structure and framework. If so, it means you have invested a little. Continue! Gradually, you will find more junk PHP programs. A small number of programs are exquisite and exciting!
What to do next? You don't have to create a program on your own!
My own little things reorganize the program, divide different directories, and place different classes and functions in different places. Slowly, our little things have a good structure.
Next, write programs, read code, and read books.
While writing and learning basic knowledge, we can cultivate our own Visual View and architecture capabilities. Slowly, we will find that many things of the program can be extracted for other purposes, for example, some CMS functions and classes can also be used in blogs, so that you will have a basic framework that you have accumulated.
Next? If you are here, you will know what to do.
To learn other languages, to learn the programs and frameworks of other languages, and then to study PHP, your vision will become wider and you will see all the knowledge you have learned.ApplicationTo program design.
It turns out that PHP can also do a lot of extraordinary things. php is not simple!
Copied from www.sourcejoy.com