How to Learn PHP network programming page 1/2

Source: Internet
Author: User

Article There are so many contact methods listed at the beginning that it will inevitably make everyone feel a bit ad-like, but it cannot be questioned that there is indeed a ding point in silence ^ _ ^, although sometimes too detailed will be said to the mother-in-law, but fortunately this kind of meticulous for programming, it is quite helpful!

I started to ask others how to learn PHP, and many people asked me how to learn PHP silently, whether it's a beginner or an old bird, it seems that I can't find a clear context. However, since I learned PHP silently, I have taken this path more or less for authentication.

I am afraid you will not have to go into details about the background of PHP. I believe that choosing a language is not based on its background and long history. More importantly, it depends on its practicality, the flashy language, even if it is a brilliant history, will also fall. Fortunately, PHP has stood the test. Therefore, it is indeed a language worth learning.

I grew up quietly following others' experiences, and therefore, in the experience of the predecessors, I had fewer detours and stepped into the formal stage faster, here, I would like to say thank you to the elders who did not know their names. In the silent eyes, there is no small help. As long as it is a help, it will always warm up in the silence. I think, the elders helped me not to get my thanks, but also out of a sense of responsibility and expectations for silence, so I thought, only to learn PHP well, to be able to withstand the sweat of our predecessors.

As I said, I have finally felt a sense of responsibility. I do not know how much my experience can help new users, but I understand that it is time to fulfill my responsibilities, it is necessary for me to tell my experience to all people who want to learn PHP well. Only in this way can we make continuous progress and development of PHP in China and have a place in the world.

During this period, I felt that the domestic PHP environment was becoming more and more mature and the specifications were gradually improved. phpchina was founded, it marks the official establishment of the PHP institution directly linked to the official website in China, and a late round of applause!

Okay. Let's get started with the question:

Before talking about my learning methods, I want to say something to those who want to get useful information from my articles:

Silent articles will not play a substantial role in your learning. If you can succeed, you have to rely on your own, persistence, persistence, and then persistence, that is, to step into success.

First, I will summarize the PHP learning process:

Familiar with HTML, CSS, JS, and other basic webpage elements. You can create a complete webpage at the completion stage to familiarize yourself with the element attributes.
Understand the concept of Dynamic Language, operating mechanism, and familiarity with PHP syntax
Learn how to combine PHP with HTML to complete simple dynamic pages
Contact MySQL and start designing DatabasesProgram
Continue to consolidate, find out most common PHP functions, and understand Oop, MySQL optimization, and templates.
Complete a full-featured dynamic site
This line may coincide with many PHP enthusiasts. It is also a step-by-step learning process. However, it is quite simple for new users not to see the above summary, I have to pour cold water on you, but nothing is simple. Even the bread in the snack area is not made at once.

Let me explain my learning ideas first.

First of all, it is not difficult to understand the concept of a website. Any website is composed of webpages. That is to say, to complete a website, you must first learn how to create a webpage. Therefore, you must master HTML, in order to lay the foundation for future website production.

In learning html, I think it is the most effective way to learn and do it. Of course, this method is also the most effective way to learn PHP.

Any element in HTML must be put into practice in person. Only after you understand the effect of any element can you remember it deeply. However, it is absolutely impossible to read a book blindly, I think most new users think that concepts are hard to learn. Most of them are "lazy". Lazy is the biggest enemy to prevent progress. So they can learn one thing faster by overcoming lazy habits.

Maybe you only want to develop a website as soon as possible when learning PHP, and you will also want me to do the website. Why should you learn what web pages such as pediatrics? It is not hard to see that there are not a few novice users with low eyes. This idea is undoubtedly used to build a castle in the air. If you do not have a foundation, how can you build a roof?

OK. Mastering the production technology of static Web pages is a prerequisite for learning to develop websites. This is mentioned here, because this article is not a tutorial article, it will not conduct in-depth analysis on the technology.

I assume that you can now complete a static page. Of course, the nice looking and ugly look is another one. The first page is not good to see, but the child is ugly, we can't give up on what we do, right? After all, this is our result.

So let's start to learn about the concept of dynamic language. When we first got into touch with Dynamic Language, many people may be confused. Why is this messy thing displayed on the webpage another thing? In fact, this is not a mess. The HTML you wroteCodeIs it a pile of characters? After all, the Code is not directly output, but processed. To put it bluntly, HTML is through the HTML Parser, and PHP is also through the PHP parser, just like learning html, if you want any parser to complete the operation, you must use their special syntax structure. It is not surprising that PHP looks strange.

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.