Home  >  Article  >  Backend Development  >  Talk about how novices learn PHP network programming Page 1/2_PHP Tutorial

Talk about how novices learn PHP network programming Page 1/2_PHP Tutorial

WBOY
WBOYOriginal
2016-07-21 15:52:05701browse

There are so many contact information listed at the beginning of the article, which will inevitably make everyone feel a bit like AD, but there is no doubt that Momo does have a little desire for expression^_^, although sometimes people will call her mother-in-law if she is too detailed. But fortunately, this kind of meticulousness is quite beneficial to programming!

Momo Mo started asking others how to learn PHP. Later, many people came to ask Mo Mo how to learn PHP. No matter Mo Mo is a novice or an experienced player, he always seems to be unable to figure out a clear path. Come on, but now that I have learned PHP silently, the path I took is more or less useful for reference.

I don’t need to go into details about the background of PHP. I believe that when everyone chooses a language, it is not based on its background and long history, but more importantly on its practicality. Even a flashy language is The glorious history will eventually decline. Fortunately, PHP has withstood the test, and therefore, it is indeed a language worth learning.

Momo has always grown up listening to the experiences of others. Therefore, based on the experience of his predecessors, Mo Mo has taken many detours and stepped into the right track faster. Here I would like to express my sincere gratitude to those who I will never forget. The seniors who know his name say thank you. In Momo’s eyes, help no matter how big or small, as long as it is help, it will always make Momo’s heart warm. I think the seniors did not help me just to get a thank you from me. , more out of a sense of responsibility and an expectation of silence, so I think that only by learning PHP well can we be worthy of the sweat of our predecessors.

As I said, Mo Mo finally feels a sense of responsibility. Mo Mo doesn’t know how much his experience can help novices, but Mo Mo understands that now is the time to fulfill his responsibilities. It is necessary for me to put myself This experience tells everyone who wants to learn PHP well that only in this way can China's PHP continue to progress and develop and occupy a place in the world.

During this period of silently learning PHP, I feel that the domestic PHP environment is becoming more and more mature, and the standards are gradually improving. The establishment of PHPCHINA marks the formal settlement of a PHP organization directly linked to the official in China. Here’s a belated round of applause!

Okay, let’s get to the point:

Before I talk about my own learning style, I would like to say something from my heart to those who hope to get useful information from my article:

Silent articles will not play a substantial role in your study. Whether you can succeed or not depends on yourself. Perseverance, persistence, and persistence are the only way to success.

Let me first summarize my own process of learning PHP:

Be familiar with basic elements of web pages such as HTML/CSS/JS. At the completion stage, you can create a complete web page by yourself and be familiar with element attributes. Level
Understand the concept and operating mechanism of dynamic languages, and be familiar with PHP syntax
Learn how to combine PHP and HTML to complete simple dynamic pages
Get in touch with MYSQL and start designing database programs
Continuously consolidate and understand Most of the commonly used functions in PHP, and can understand OOP, MYSQL optimization, and templates
Complete a fully functional dynamic site
My route may coincide with many enthusiasts who learn PHP, which can be regarded as A step-by-step learning process, but novices should not think that learning is quite simple after seeing the summary above. Momo Mo has to pour cold water on you here. Nothing is actually simple, even the sesame cakes in the snack bar are not easy to learn at once. It will be done.

Let me first explain my learning ideas.

First of all, after understanding the concept of website, it is not difficult to see that any website is composed of web pages. In other words, if you want to complete a website, you must first learn to make web pages. Therefore, you must master HTML in order to prepare for the future. Lay the foundation for making a website.

I think learning while doing is the most effective way to learn HTML. Of course, this method is also the most effective way to learn PHP.

Any element in HTML must be practiced personally. Only after you understand what element will have what effect, you will remember it deeply. Blindly reading books will definitely not work. I think most novices The reason why concepts are difficult to learn is mostly due to the word "lazy". Laziness is the biggest enemy that hinders progress. Therefore, only by overcoming the habit of laziness can you learn something faster.

Perhaps when you are learning PHP, you just want to develop a website as soon as possible, and you will also think about me making a website. Why do you need to learn such trivial things as web pages? It is not difficult to see that there are many novices who have high ambitions but low ambitions. This kind of thinking is undoubtedly building a castle in the air. If you don't build a foundation, how can you get a roof?

OK, mastering the production technology of static web pages is a prerequisite for learning to develop websites. This point will stop here. Because this article is not a tutorial article, it will not provide an in-depth analysis of the technology.

I assume that you can now complete a static page. Of course, whether it is good-looking or ugly is another matter. The silent first webpage is not that good, but no matter how ugly the "child" is, we You can't dislike being a "parent", right? After all, this is our achievement.

Then let’s start learning the concept of dynamic language. Many people may be confused when they first come into contact with dynamic language. Why is this messy thing different when it is displayed on the web page? In fact, this is not a mess. Isn’t the HTML code you write also a bunch of characters? After all, the code is not output directly, but processed. To put it bluntly, HTML passes through the HTML parser, and PHP of course passes through the PHP parser. It is the same as learning HTML. If you want any parser to To accomplish operations, you must use their specialized syntax constructs, so it's no wonder that PHP looks strange.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/318997.htmlTechArticleThere are so many contact information listed at the beginning of the article, which will inevitably make everyone feel a bit like AD, but there is no doubt about it. Yes, Momo does have a little bit of desire for expression^_^, although sometimes it’s too...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn