In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article introduces the relevant knowledge of "summarizing the introduction experience and learning process of PHP". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Often in some forums and QQ groups, some friends will ask "how to learn PHP well, how to learn the language", but the most common answer is: start from the most "simple".
This simplicity may not be simple really, hehe. Now I would like to share some of my learning process. First say some expensive words, language organization ability is poor, said a lot of expensive words, want to see, do not scold me on the line.
In fact, learning a new language is not too difficult, the important thing is whether you are ready to learn it well, the length of time is related to personal ability and determination. There is also a popular saying in the hacker world, "there is no computer that cannot be hacked into." this sentence probably means: if your technology is better than the administrator who maintains this computer, then you can take this computer and even all the computers managed by this administrator. If you are not as skilled as others, you can only continue to learn to surpass each other. What I mean by these words is to make friends who are ready to learn a strange language make up their mind to learn it. As long as you make up your mind to learn it, you will be able to learn it well and never give up halfway. (to say the least, even if you don't learn well, you must know more than others.)
Understand what is the easiest:
1. The basic composition of a web page is html code, so you must be familiar with basic elements such as HTML/CSS/JS.
2. Be familiar with PHP syntax, understand the operation of PHP and HTML, and learn to combine PHP and HTML to complete simple pages.
The PHP manual is a good beginner.
Several possible factors that affect the progress of learning and the strength of the program:
1. Memory
Whether a language is powerful or not depends on its function library and code execution efficiency.
Every language has its own powerful function library. If you want to learn it well, you must spend a lot of time to memorize it. Good memory can make learning get twice the result with half the effort.
2. Mathematics and logical thinking
This is certainly not an absolute impact, because it depends on the complexity of the development project. Small projects do not require much math and logical thinking, but this is important if you are developing projects similar to finance or a large number of operations.
3. Have the foundation of other languages
The truth of this sentence is also indisputable. It is said that people who have a basic knowledge of C language are easier to learn PHP. I have never learned C language, so I don't know the effect of this sentence.
4. Look more at the code written by others
Of course, it is not entirely for this reason to learn from the strengths of others and make up for your own shortcomings. I always believe that a program written by an organized team is no worse than an individual.
My introduction to PHP starts from looking at the code. I like to look at the code written by others (the introduction is from disucz,PHPWind and foreign phpbb, as well as the most popular open source BLOG programs). I collect PHP open source programs on the network as much as possible. so far, I collect and download PHP open source programs the size of 2GB, including BBS,BLOG,CMS and so on. I download not to collect them, but to learn their programming and implementation methods. If I do not know how to implement the functions I want to achieve, I will learn their implementation methods, not plagiarizing the code. The end result is to learn to make the technology your own. I also learned ASP in the same way (dynamic and easy News programs and other ASP open source programs)
5. Practice
Theory is important, but practice is essential. No matter how good your theoretical knowledge is, if you don't put it into practice, you won't be able to see the results or effects produced by the theory, and it won't make your memory deep, so you can't talk on paper.
6. perseverance
Isn't there a saying in the advertisement: "the highest mountain in the world is yourself?" this sentence believes that friends can understand themselves, and everything else is easy to deal with.
7. Find a useful way of learning for yourself
You can refer to 4 for this one. My introduction starts with looking at the code.
Some friends may ask: "at first look at those powerful code, can you understand?"
My way of learning is to "use" to find "functions": PHP has too many functions, it is impossible to remember all the functions in a short time, because I believe that a large project will definitely use common and necessary functions to find these functions in order to focus on learning these functions, can you say that there are fewer functions used to write BBS than to write BLOG? Can you write BBS but not BLOG?
To find the right way of learning is to go through a variety of ways of learning, so this is only your own grasp, after all, everyone's way of learning is different.
8. Look for video tutorials as much as possible
When others say ten words, it is not as clear as an operation. I believe friends will have the experience.
9. Start with the project
Be sure to "force" yourself to start by writing a project.
The "growth" of any master has to go through a process, which comes step by step and is not easy to come by.
Many friends learn that the first work of PHP is almost always "guestbook", because it is the simplest program.
Being able to write a guestbook does not fully mean that you have started, nor does it mean that you know PHP. I began to think of an "online bookmark" as my first work, but I didn't continue after writing basic functions. Now I want to write a completely correct CMS system for enterprises, including some common functions for enterprises. I want to use this as my first work to get started with PHP.
10. Understand and learn the technologies related to PHP
A real master must learn the technology associated with PHP, and if he wants to learn PHP well, he must learn the database. PHP+MYSQL is considered to be a "golden partner". So you have to contact MYSQL or the database you think is better, and start designing a more "reasonable" database, which is more extensive here, including database optimization and query optimization, and so on.
The last thing I want to say is: "Don't rely on others." No one is willing to listen to a novice's question, because the novice's question is too simple in their eyes to explain. Female friends are very popular with the saying, "Men can rely on, sows will go up the tree." to quote this sentence has no other meaning, just let friends know the meaning of this sentence.
What I also want to say is that there is a limit to the patience of people who "cherish the number of answers from others." you must cherish this limit and don't ask all the questions. Ask some questions that you can take the time to find the answer. Every time you ask, the patience of others will be subtracted. When you really need help, just when others are unwilling to answer you, you can imagine that you have lost too much.
The suggestion is: "is there a problem? baidu it." I believe friends have noticed that the questions you ask can be found in search engines, and there are detailed solutions. You can use search engines to find your own answers, so why ask others?
At present, the largest Chinese search engine is baidu.com, the global google, of course, there are other search engines, one can not be found, try several more, unless your question is the first question, then you are lucky, may also be your "appearance" question, ha ha, joking, do not mind, but this sentence is very popular
This is the end of the content of "summarizing the introduction experience and learning process of PHP". Thank you for your reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.