Many netizens suggest that this article is a "Learning road map"
You will know what our "learning Roadmap" is like after reading this article.
The author of this roadmap : Judging, Li Qingchun, a mysterious university teacher
today's topic is how to learn PHP (beginner).
My team currently use PHP for most of the PC applications, unless you encounter the need to use Java or customer requirements, generally we push the use of PHP language, there are several reasons why:
1, more primitive accumulation, a variety of basic library, open source class library and support
2, the Great God level of the players, a person can be used as two people (you know)
3, we contact customers do not know why are very "key", the server what made very cheap, so in order to cost-effective, we use PHP, the results of a use of the out of hand
4, PHP development tools do not eat memory, edge development can listen to the song storytelling, and occasionally can switch to the DotA to do a
Especially in the summer, open the Java various tools that the notebook fan is a great test, test, inspection inspection (small apple?) )
OK, let's get to the point:
First step: Understand a concept
PHP is relatively stable and people use more than the PHP 5.3.X version
Everyone can go to http://php.net/downloads.php (this is the official website to download)
Step two: Determine the learning platform
2.1 If it is pure learning, then you can download the version of PHP windows
2.2 If it is a post-development deployment, then you must learn the deployment of Linux, formal business projects are generally less likely to deploy PHP under Windows, even under UNIX than in Windows stability. (Note: Not PHP is unstable, but the Apache under Windows, MySQL performance is not optimal, the kernel function is not the same)
Php+iis? Please forget this pairing. Why is IIS not using. NET?
Step three: Pre-school education
Learning PHP can actually use a jumping approach, from my personal combat and team members learning experience, PHP and C + + such basic language is different, it is for the actual combat.
Perhaps, we do not need to be too systematic, step-by-step learning of the PHP language, and even some concepts we do not understand the moment is not OK, jump over, write some code, and then see later to understand.
For example, I have a friend who has actually been to a boxing course in Beijing, and his thoughts are:
Cut boxing Course, the first step, not practicing, one consecutive months was beaten into a dog. The purpose is simple, all do not fight the ability of the actual combat martial arts are all nonsense.
So we can think of PHP as a cut-and-take, because it's for actual combat. As for the C language, we understand the traditional Chinese martial arts.
Fourth step: Start learning
We do not recommend that you start with a book or read a paper tutorial. Once there is a certain publishing house is the Vice-president of the fork told me: Learning PHP should be very systematic, the method must be strict, the structure can not be scattered.
Here I can finally refute him: the nonsense. That means you haven't developed a real PHP project.
So, nonsense, let's see a video.
4.1 51cto has an introduction to PHP speed of light, the address is as follows:
Http://edu.51cto.com/course/course_id-818.html
Please start learning directly from the beginning of the four. Probably learned the tenth to say the array, it is almost. The following lectures are chosen by themselves
(Warm little hint: I will launch the PHP practical teaching video, please look forward to)
Choose this video tutorial is not because the teacher said very good, because it is not dogmatic, not rigid
"Array" is a very important concept in PHP, so you have to learn the array
4.2. Next, please move to PHP official documentation
http://php.net/manual/zh/
This step is not for learning, but for you to verify the difference between what you learn from the video and what the official documentation explains.
Tip: It is not recommended that you look directly at official documents because the people who write official documents are either too dogmatic or too high, often unable to understand the mentality of our dick-silk learning. Sometimes it's harder to write and it's easy to confuse.
Fifth step: Deepen the concept of PHP syntax impressions
Here are two steps:
5.1 If you have a C, C + + basis, you can look at this post http://bbs.csdn.net/topics/300266158 "for people who understand the C language of the PHP Syntax primer"
This post can be a good mix of your brains.
5.2 If you do not have the base of C, then invite you to see a csdn Blogger's php column
http://blog.csdn.net/jt521xlg/article/details/7528592 "PHP Data Type Summary"
Sixth step: Take a break, spit the Groove
Maybe at this point you already know PHP basic syntax, it is not urgent, do not rush to write code, unless you have received a rich project.
(PS: Who said that PHP would not be able to connect to the project?) Many facts prove that this does not conflict, first take the project to learn, and then learn to do a little deceptive)
Here's an article on the top ten misconceptions about PHP you've been in a couple of
The address is as follows: Http://www.csdn.net/article/2013-07-01/2816063-PHP
I'll spit it out. Some of the points:
6.1, PHP can only be used for web development.
Although this is a bad sentence, it is mentioned in this article that PHP can also develop desktop applications.
My spit is, although it does, but it is also a very boring explanation. The conclusion from the actual combat experience is that no regular customer in China will pay you for a desktop application that you have made in PHP.
Please forget PHP can also develop desktop applications, you can not be good. It's better not to develop a thing that can't be set up.
6.2, professional developers do not use PHP
The article explains the line.
I add: There is no professional developer in the world. There are only developers who will make money or help the company make money. Out of money, everything is nonsense, especially for PHP (C language is not necessarily)
Seventh Step: Actual combat
Please do not continue to dwell on PHP basics or syntax for too long. At this point, we should write some code directly.
At this point, you should read some books to protect your security.
7.1 Please be on the search for a book, "PHP WEB 2.0 Development in action" is Turing.
650) this.width=650; "class=" Alignnone size-full wp-image-5955 "alt=" Php1 "src=" http://shenyisyn.b0.upaiyun.com/ Wp-files/2014/07/php1.gif "height=" 202 "width=" 157 "/>
There are pros and cons to choosing this book, so let's start by saying:
1, not very elementary, beginners see a bit of difficulty
2, mostly around the Zend Framework, the basic knowledge involved is not much
Re-talk to Lee:
1, this book is foreign (computer book level I is Xenophilia, no reason)
2, many domestic computer books, light pictures, installation tutorials and even the Linux command is flooded with more than 100,000 words. For a book of about 40 yuan, only 10 yuan is able to see. Others can be found on the Internet, (save a bit can be done)
3, the author of this book is a senior programmer, in the site development experience is really very professional. Let's all be bitter and sweet.
4, the domestic book although understood, but most to the commercial company is not so developed at all. This is why many learning institutions in the country have learned that the actual company cannot keep pace.
7.2 If you walk in the last step is not smooth, then please search a domestic book "detail PHP" second Edition
Some people say that this book has copied other books. But for us learners, your author does not have any relationship with us. We just have to learn.
Personally, this book is suitable for reference. Not suitable for deep reading, if you read it, you should go back to "PHP Web 2.0 development."
7.3 If you do not like reading, it means that you can not learn the above two steps. Then move on to 51cto and watch the video.
Recommended Link: http://edu.51cto.com/course/course_id-1036.html
"Twin teacher-php Example Development Video Tutorial"
650) this.width=650; "class=" Alignnone size-full wp-image-5956 "alt=" PhP2 "src=" http://shenyisyn.b0.upaiyun.com/ Wp-files/2014/07/php2.gif "height=" 213 "width=" 166 "/>
At this point, the entire beginner PHP learning Roadmap is complete. After three people, it takes about two weeks to reach the primary level.
When does it reach intermediate level?
Answer: A business project must be completed
(Warm little hint: I will launch the PHP practical teaching video, please look forward to)
Finally, there may be a lot of flaws in this learning roadmap. You are welcome to spit, spray and Add.
--------------------------------------------------
"If you do not love reading, do not love to watch the news, do not love learning, it is OK." I'll be your "accompanied."
Slave My way: please follow the subscription number: The programmer is in the awkward path.
Tell stories, business models, and techniques to you every day.
650) this.width=650; "Src=" http://mmbiz.qpic.cn/mmbiz/ kdsspu9vcqlai1mconka4hvuyxapibyl3fiaxibf2ucksot7aiavfl5iampwictxdfsygxondrrnynlg2ocgjyvnibdw/0 "height=" 164 " Width= "164" style= "Padding:0px;margin:0px;vertical-align:top;border:none;"/>
This article is from the "programmer on the Go" blog, please be sure to keep this source http://shenyisyn.blog.51cto.com/4968488/1542031