How to learn PHP

Source: Internet
Author: User
Tags learn php

From silently to others ask how to learn PHP began, to a lot of people again to ask silently how to learn PHP, regardless of silently is novice, or veteran, it seems always feel can not touch a clear vein, however, since learned the PHP, then I go this road more or less has a certain reference.

        PHP Background I'm afraid not to be silent, I believe that you choose a language, not to see its background and long history, more important is to see its practicality, Flashy language even if it is a glorious history, but also will step to the decline, it is gratifying that PHP has withstood the test, and therefore, it is really a language worth learning.

        silently has been listening to the experience of others grew up, and therefore in the experience of the predecessors let silently less go a lot of detours, faster into the formal, In this to those I do not know the name of the predecessors say thank you, in the eyes of silence, help no matter the size, as long as it is help, always let silent heart warm, I think, seniors help me, not to get my a thank you, more is out of a sense of responsibility and silent expectations, so I think, Only learn PHP, can be worthy of the sweat of their predecessors.

        as I said, silently also finally feel a sense of responsibility, silently do not know their experience in the end can help novice how much, but silently understand, now to fulfill the responsibility of the time, I need to tell my experience to all those who wish to learn PHP well, only in this way can China's PHP continuous progress, continuous development, occupy a place in the world.

        silently learn php This period, feel the domestic PHP environment more and more mature, norms are gradually sound, phpchina the establishment, It marks the formal establishment of the PHP agency directly linked to the official in China, here to offer late applause!

        OK, cut to the chase:

        I want to talk about My learning style, to those who expect to get useful information from my article to say the truth:

        Silent article will not play a substantial role in your study, you can succeed, but also rely on their own, adhere to, persist, and then adhere to the success of the only way .

I'm going to summarize my own process of learning PHP:

  1. Familiar with the basic elements such as HTML/CSS/JS, the completion stage can be self-made complete Web pages, the element attributes to reach the level of familiarity

  2. Understand the concept of dynamic language, operation mechanism, familiar with PHP syntax

  3. Learn how to combine PHP with HTML to complete a simple dynamic page.

  4. Get in touch with MySQL and start designing database programs

  5. Constantly consolidate, understand most of the PHP common functions, and understanding Oop,mysql optimization, as well as templates

  6. complete a full-featured dynamic site

        my This set of lines may be the same as many learning PHP enthusiasts, this is a gradual learning process, but novice do not see the above generalizations that learning is quite simple, Silently in this have to you a little splash of cold water, anything is actually not simple, even the snack bar of the sesame cake is not all of a sudden will be made.

        I will explain my learning ideas first.

        First, understand the concept of the site is not difficult to see, any site is composed of Web pages, that is, to complete the site, must first learn to do the Web page, so must master the HTML, In order to lay the foundation for future production of Web sites.

In the learning of HTML I want to learn while doing is the most effective way, of course, this way for learning PHP is also the most effective.

any element in the HTML should be practiced in person, only understand what elements will play an effect, you will remember deeply, and blindly chew the book, absolutely not, I think most of the novice feel that the concept is difficult to learn, most of it is a word "lazy",Lazy is the biggest enemy to stop progress, so overcome lazy habits, to learn one thing faster

        Maybe when you learn PHP only want to develop a website as soon as possible, also will want me to do the website, why do you want to learn what webpage these pediatrics? It is not difficult to see, above his business a few novice , this idea is undoubtedly built in castles in the castle, you do not build the foundation, where the roof?

        ok, Mastering the production of static Web pages is a prerequisite for learning to develop a website , this is the point here, because this article is not a tutorial article, but also do not have a deep analysis of technology.

        I assume you can now complete a static page, of course, do good looking ugly is another said, silently the first page is not good to go, but "children" again ugly, we do "parents" Can not abandon it? This is the result of our work after all.

Then we begin to learn the concept of dynamic language, just a contact with dynamic language, it may be a lot of people will be blindfolded, how this mess, the page is displayed when the other matter? In fact, this is not a mess, you write the HTML code is not the same as a heap of characters? After all, the code is not as direct output, but is processed, plainly, HTML is through the HTML parser, and PHP, of course, through the PHP parser, with the same reason to learn HTML, want any parser to complete the operation, you must use their dedicated syntax structure , so it's no surprise that PHP looks strange.

How to learn PHP

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.