Good news: how to get started with PHP

Source: Internet
Author: User
Everyone has different ways of learning. the purpose of this article is to share their learning processes for reference only. do not blindly use others' learning methods, find useful learning methods for yourself. I often see some friends in some forums and QQ groups asking & ldquo; how can I learn PHP well and how can I learn SyntaxHighlighter. all ();

Everyone has different ways of learning. the purpose of this article is to share their learning process for reference only. do not blindly use others' learning methods to find useful learning methods for yourself.

I often see some friends in some forums and QQ groups asking "how to learn PHP well and how to learn *** language well", but what others answer most is: start with the simplest one.

This is not simple, maybe. Next I want to share some of my learning processes.
Let's talk a little bit about it. The Language organization capability is poor. if you're willing to read it, you just need to scold me.

In fact, it is not too difficult to learn a new language. the important thing is whether you are ready to learn it well. the length of time is related to your abilities and determination. The hacker community is also popular with the saying "no computers can intrude into." It probably means that if your technology is better than the administrator who maintains this computer, you can win the computer and even all the computers managed by the administrator. if you are not skilled, you can only continue to learn more than the other computer. What I mean by these words is that you must make up your mind to learn a new language. if you make up your mind to learn it, you will be able to learn it well and never give up halfway. (In step 5, even if you fail to learn well, you know more than others)

Understand what is the simplest:

1. the basic structure of a webpage is html code. Therefore, you must be familiar with basic elements such as HTML, CSS, and JS.
2. familiar with PHP syntax, understanding how PHP and HTML run, and learning to combine PHP and HTML to complete simple pages

PHP Manual is a good beginner
.....

Several possible factors that affect learning progress and program strength:
1. memory
Whether a language is powerful depends on its function library and code execution efficiency.
Every language has its own powerful function library. to learn it well, you must spend a lot of time memorizing it. a good memory can make learning more effective with half the effort.

2. mathematical and logical thinking
This is certainly not an absolute influence, because it depends on the complexity of the development project.
Small projects do not require much mathematical and logical thinking capabilities, but it is very important to develop projects similar to finance or a large number of computing-related projects.

3. Other Language Basics
There is no doubt about this sentence. It is easier for people who have basic C language to learn PHP. I have never learned C language, so I don't know the effect of this sentence.

4. read the code written by others
Learn the strengths of others and make up your own shortcomings.
I always believe that a program written by an organized team is no worse than a person.
My PHP entry begins with code reading. I like to read the code written by others. (the entry is started with disucz, PHPWind, and phpbb outside China, there is also the most popular open-source BLOG program). I try my best to collect open-source PHP programs on the network. so far, the PHP open-source programs I have collected and downloaded are 2 GB in size, including BBS, BLOG, and CMS. I did not download them to favorites, but to learn their programming methods and implementation methods. if I do not know how to implement the functions I want to implement, I will learn their implementation methods, it is not a copy of the code. The final result is to turn technology into your own.
Asp I also learned in the same way (mobile and messaging programs and other ASP open-source programs)

5. practice
Theory is important, but practice is essential. Your theoretical knowledge is good. if you do not practice it, you will not be able to see the results or effects of the theory, and you will not be able to remember deeply. Therefore, you cannot talk about it on paper.

6. perseverance
Isn't there a saying like this: "The highest mountain in the world is yourself." I believe all my friends can understand this.
It's easy for others.


7. find a learning method that is useful to you
For details about this article, refer to 4. my entry is to start by reading the code.
Some may ask, "Do you understand the powerful code at first ?"
My learning method is to find "learning functions" from "use": there are too many PHP functions, so it is impossible to remember the functions that can be stored in a short time, because I believe that, A large project will certainly use common and necessary functions. finding these functions will focus on learning these functions, can you say that writing BBS functions is less than writing BLOG functions? Can I write a BBS without writing a BLOG?
Finding the correct learning method requires a variety of learning methods, so you have to be sure of it. after all, everyone has different learning methods.


8. try to find a video tutorial.
If you say ten sentences, it's better to understand one operation. I believe all my friends can understand it.

9. start from the project
Be sure to "force" yourself from writing projects.
Any "growth" of a master must go through a process. this process has come step by step and is hard to come.
Many of my friends studied PHP's first work, almost all of which were "message Books", because it was the simplest program.
Writing a message book does not completely mean that you are getting started, nor that PHP is ready. I started to think of a "Web bookmark" as my first file, however, I did not continue after I wrote the basic functions, and I felt very boring. Now I want to write a CMS system that is completely correct for the enterprise, including some common functions for the enterprise. I want to use this as my first entry to PHP.

10. understand and learn PHP-related technologies
Real experts must learn the technology associated with PHP. to learn PHP well, they must learn the database. PHP + MYSQL is considered as a "golden partner ", therefore, you must contact MYSQL or databases that you think are better at, and start to design "rational" databases. the rationality here is more extensive, including database optimization and query optimization.

The last thing I want to talk about is: "Don't rely on others." Nobody wants to pay attention to a newbie's question, because it is too simple for them to ask questions, I don't want to explain what a popular saying for a female friend is: "A man depends on a sow, and a sow gets a tree." It doesn't mean anything, just let friends know what this sentence means.

I would also like to say that the patience of people who cherish the number of answers answered by others is limited. they must cherish this limit and do not ask any questions, some questions can be asked if you can find the answer by yourself. every time you ask a question, the patience of others will be reduced. when you really need help, when others don't want to answer you, imagine that you have lost too much.

The suggestion is: "Is there a problem? Baidu: "I believe all my friends have noticed that you can find related questions in search engines and have detailed solutions, you can use search engines to find your answers.
Currently, the largest Chinese search engine is baidu.com, the world's google, and of course there are other search engines. if you cannot find one, try a few more unless your question is the first one, so you are lucky, or you may have the question of "looks". well, you can say that you are a joke. don't mind, but this sentence is quite popular.

I wish my PHP friends who are preparing to get started can find a learning method suitable for themselves and get started soon !!


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.