PHP Learning Route

Source: Internet
Author: User
Tags learn php

Recently is more than a little blind, do not know what to do, turn a few articles comprehensive look at it.

Wen Yi

This article is intended to discuss such as becoming a real PHP developer.
This article does not include people who have learned PHP for three months in the scope of the discussion.
The focus of this paper is on the persistence and denotation of PHP learning and development.
When many people take their three months to learn PHP as a kind of capital everywhere to show off.
When these people show off and switch to other languages. I must tell you that you are not suitable for PHP development.
Yes, PHP has many intuitive functions that can be used intuitively, but you may not really know what state it is used in.

Or all the combinations of all the functions are difficult to fully hold at once ... Even with a full grip ... Maybe you can find a better way to do it ...

Yes, every new PHP release has functions that are abolished, and other new functions appear, so this is a continuous hardening process ....

You might or may have to use a polygon-based approach to develop. And just to understand the true meaning of object-oriented, if you are not Superman, and have never been exposed to object-oriented, then, no half of the time you are very difficult to fully understand it ....

Of course, you also need to read a lot of code .

Read the Forum program can be very good to hold the overall layout. phpBB code is the Most excellent learning tool, and can be easily modified.

Look at the Discuz code and you'll understand that if you see the original version of Discuz (CTB), you'll be clearer. Almost exactly in accordance with the phpBB pattern ....

Of course to hold more skills can look at the code (PHPMYADMIN), although it is large, but he provides some good tricks. If you feel the need to improve security, you can find some open-source mall website Http://code.knowsky.com/ndown.asp?ntypeid=41 read. Well, after reading these three programs, half a year is over ...

Next you need to hold on to some extra technology. This includes, but is not limited to: Javascript,xml,html,http protocol, Ajax,mysql (safe operation, optimization, command line operation), Dom processing. Fortunately, learning these things will be much faster than learning PHP, But not 8-10 months is not easy to fully hold ...

In addition, the PHP program running on the Linux host and running on Windows on the computer is different. So it should be treated differently.

Well, write so much first. Learning any language can not impatient air ... Learning programming language requires a good foundation of English as a guarantee. My own English is very poor, I suffer from it.

Finally, the study schedule is listed below for reference only:
1, Basic Learning: Installation configuration and other basics: 3 months.
2, read and fully understand the code of others, familiar with object-oriented 12 months.
3, hold Other technologies: include: Javascript,xml,ajax,mysql,http protocol. LINUX. (These can also be learned in 1.2.) for 8 months.
This has to be two years, of course, there will be a newer technology, including PHP, including other technologies .... These also need to be studied carefully.
Learning is a gradual, you can not like a machine just to make not to think ....

Wen ER

First of all, PHP programmers should realize that this is something to be proud of. Because you have entered the field of free.
It's also a matter of pride to be a Java programmer from a technical point of view, but as an ASP. It is also a strong programmer to develop COM components well. It is not the language, but the people.
PHP is a low threshold, but how many people touched its ceiling?
It's important to learn basic PHP skills. It is best to have a data structure learning experience.
For 1, 2 years of novice. Must be fully mastered within 2 years
Smarty+pear+adodb+xml+ajax
The tool class must be proficient in the development of Zend Studio.
Database must be proficient in MySQL & SQL Server
The operating system must have a certain understanding of liunx. And can configure the environment.
For Apache, you should also buy this administrator's manual for a good look.
The above is within 2 years, must master the content
Third year, if not. NET or Java class development experience, please need to fill up. Because. NET and Java are much more mature than PHP, and learning SQL Server is also a way to improve the level of MySQL usage. The database is not simple to build a table query on it.
So when I build justice the third year, I added a lot of ideas and database content. But that does not mean that the first 2 years have not been seen. I mean, the third year is more about it. Because at this time, you have a lot of basic PHP parts of the chest, and then need a overall improvement, rather than a very one-sided promotion.
At this point, you'll have to think about architecture issues.
Year four, when you deploy a large project of whether or not. Load and file distribution and security, and so on deployment problems follow. This time you are going to try to understand what a file server cluster is, what is a Web server cluster, what is a database cluster, and so on. And then what are the requirements for your coding and so on.
Five years. Try to study C and C + + This time you will have a deeper understanding of stacks and pointers and memory.

Bunza

Gaulo (php primer, author of PHP)

Everyone's learning style is different, write this article for reference only, do not blindly use other people's learning methods, find their own useful learning methods
Often in some forums and QQ group to see some friends will ask "How to learn PHP, how to learn the language", but others answer the most is: from the most "simple" start.
This simple may be really not simple, hehe. Next I would like to share some of my own learning process.
First say some crap, language organization ability is poor, said a lot of crap, willing to see on the look, do not scold me on the line
In fact, learning a new language is not too difficult, it is important that you are ready to learn it well, the length of time and personal ability and determination. Hacker is also popular word is "no intrusion computer", this sentence probably means: if your technology than the maintenance of this computer administrator better, then you can take this computer can even take this administrator management of all the computer, if the skill is not as good as people, can only continue to learn more than the other side. I say these words means to prepare to learn unfamiliar language friends must be determined to learn, as long as you have made up your mind to learn, you will be able to learn, never give up halfway. (10,000 steps back, even if you do not learn, but you know more than others)
Learn what is the simplest:
1, the basic structure of the Web page is HTML code, so must be familiar with the basic elements such as Html/css/js
2, familiar with PHP syntax, understand how PHP and HTML run, learning to combine PHP and HTML to complete a simple page
PHP Manual is a good primer for teachers
.....
Several possible factors that affect learning progress and program strength:
1. Memory
Whether a language is powerful or not, it should look at its library of functions and code execution efficiency.
Each language has its own powerful library of functions, to learn it, you have to spend a lot of time to remember, good memory can make learning to achieve a multiplier effect.
2. Mathematics and Logical Thinking
This is certainly not an absolute influence, because look at the complexity of the development project.
Small projects do not require much mathematical and logical thinking, but it is important to develop projects that are similar to finance or large numbers of operations.
3. The basis of other languages
"Follow", the truth of this sentence is also indisputable. All say have C language foundation of person, learn PHP easier, I have not learned C language, so do not know this sentence effect
4, read more people write code
Learn the strengths of others, fill their own shortcomings, of course, not entirely for this
I always believe that a program written by an organized team is no worse than a personal one.
I get started with PHP from looking at the code to start, I like to see other people write code (Getting Started from disucz,phpwind and foreign phpbb look, there is the most popular open source blog program), I as far as possible to collect web PHP open source programs, so far, The PHP open source programs that I collect and download are 2GB in size, including bbs,blog,cms and so on. I download not to collect them, is to learn their programming and implementation methods, if they want to implement the function do not know how to achieve, I will learn their implementation, not plagiarism code, the end result is to learn, the technology into their own
ASP I also learn in the same way (easy and news program and other ASP Open source program)
5. Practice
Theory is important, but practice is essential. Your theoretical knowledge is good, if you do not practice, you can not see the results of the theory or effect, and can not make your memory deep, so can not talk about
6. Perseverance
Advertising is not a word to say: "The world's tallest mountain is itself", this sentence is believed that friends can understand
I'll do the rest.
7, find a useful way to learn
This article can be referred to 4, my entry is to see the code to start
A friend might ask, "Can you read the powerful code at the beginning?"
My way of learning is from "using" to find "learning function":P HP has too many functions, it is not possible to remember all the functions in a short time, because I believe that a large project will definitely use common and necessary functions, find these functions, will focus on learning these functions, Can you say that the function of the BBS is less than the function of writing a blog? Is it possible to write BBS and not write blog?
Finding the right way to learn is to go through a variety of learning ways to try, so this only own grasp, after all, everyone's learning style is not the same
8, as far as possible to find the video screen tutorial to see
Others say 10, not as good as an operation to see, this is believed that friends have to understand it
9, starting from the project
Be sure to "force" yourself to start writing the project.
Any master of "growth" is to go through a process, the process is step by step, hard-won
Many friends learn PHP's first work is almost "guestbook", because it is the simplest program
Will write the guest book, also does not completely represent you already the introduction, also does not represent will have PHP, I myself began to want to take a "network bookmark" as own first work, but wrote the basic function did not continue, the feeling did not have much meaning. Now write a completely correct CMS system for the enterprise, including some common functions for the enterprise, I want to use this as my first PHP entry
10. Learn and learn about PHP technology
The real master must learn the technology associated with PHP, to learn PHP, you have to learn the database, Php+mysql is considered "gold partner"
So you have to get in touch with MySQL or the database you think is better, start to design a more "reasonable" database, where the reasonable is more extensive, including database optimization and query optimization, etc.
The last to say is: "Do not rely on others" no one is willing to ignore a novice's question, because the novice questions in their eyes too simple, do not want to explain
Female friends are very popular word is "man live, Sow will tree" quote this sentence no other meaning, just let friends know the meaning of this sentence
Also want to say is: "Cherish the number of people answer" People's patience is limited, we must cherish this limit, do not ask questions, some problems themselves to spend some time to find the answer to ask, each ask, the patience of others minus once, and so you really need help, just when others are unwilling to answer you , you can imagine that you've lost too much.
Suggested is: "There is a problem?" believe that friends have noticed, you ask questions, in the search cited can find relevant questions, and have a detailed solution, you can use the search engine to find their own answers, why ask others?
At present the biggest Chinese search engine is baidu.com, the global Google, of course, there are other search engines, one can not find, more than a few, unless your question is the first question, then you are lucky, it may be your "looks" problem, hehe, joking, do not mind, But this is a very popular phrase.
I wish you are ready to get started PHP friends can find the right way to learn, early success!!

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.