Some experience in learning PHP (1) _php tutorial

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 may not be silent, I believe that you choose a language, not to see its background and a long history, more important is to see its practicality, flashy language even if it is a glorious history, 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 to listen to the experience of others grew up, and therefore in the experience of the predecessors let silently walk a lot of detours, faster into the formal, in this to those I do not know the name of the predecessors of the voice thank you, in the silent eyes, help no size, as long as help, always let silently heart warm, I think, Seniors help me, not to get me a thank you, more is out of a sense of responsibility and the expectation of silence, 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 the time to fulfill the responsibility, I have to my own experience told all hope to learn PHP, only in this way can make China's PHP continuous progress, Continuous development, occupy a place in the world.

Learning PHP silently during this period, feel that the domestic PHP environment more and more mature, the norms are also gradually sound, the establishment of Phpchina, marked with the official directly linked to the PHP agency in China formally settled in, here to offer late applause!

OK, cut to the chase:
I want to tell my own way of learning before the people who expect to get useful information from my article to say the truth: Silent article will not be a substantive role in your study, you can succeed, but also rely on their own, adhere to, persist, and then adhere to, is to step into the success of the only way.

I first take my own study of the process of PHP to summarize: (1) familiar with the basic elements such as HTML/CSS/JS, the completion stage can be self-made complete Web pages, to the element properties of familiarity (2) Understanding 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) Contact MySQL, start designing database Programs (5) constantly consolidating, understanding most common PHP functions, and understand oop,mysql optimization, as well as templates (6) to 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 summary of the study is quite simple, silently have to you a little splash of cold water, anything is actually not simple, Even the snack bar of the sesame cake is not to be made in a sudden.

I'll explain my learning ideas first.

First of all, 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 Web pages, so must master the HTML, in order to create a site for the future to lay the foundation.

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 to practice, only to understand what the elements will play an effect, you will remember deep, and blindly gnawing 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 prevent progress, so overcome lazy habits, To learn the same thing faster.

Perhaps you in the study of PHP only want to develop a website as soon as possible, you will want me to do the site, why do you want to learn what webpage these pediatrics? It is not difficult to see, above his business novice, this idea is undoubtedly built 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 the site, 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 that you can now complete a static page, of course, do a good looking ugly is another said, silently the first page did not look where to go, but "children" again ugly, we do "parents" can not abandon it is not? 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.

The understanding of PHP is the most difficult for beginners to go through a threshold, but you should feel lucky that PHP has been the biggest limit for beginners to work hard, if you learn other languages, you may feel that PHP is quite simple, but if you have not learned anything before, then Amitabha, the bite to ponder it.

Book over three times natural ripe, this simple truth tells us, even if you do not understand PHP, but also must first with its face familiar, see, look over and over, look at the same time while pondering, while you follow the code it teaches, even if you do not know what the code is doing, but at least you should find the feeling.

After a struggle, smart you, obviously already gradually enlightened, slowly understand the concept of programming, then congratulate you, you have taken the first step of success.

To understand the concept of HTML and PHP, then PHP and HTML mixed programming should not be a problem, during this time, you can completely let PHP to calculate one plus one equals a few, and then in the browser output, do not feel naïve, this is really like the Apollo moon landing, you hit a small piece of code, but for your programming path , but a big step! Excited, huh? But I have to pour you some cold water, you are a rookie.

Happy for a while must continue to work hard, the next is to learn the database, MySQL is the golden partner of PHP, but, although the words are said, you may also want to kill MySQL, because this line of things just let yourself dizzy.

Dizziness to dizziness, dazzling dizzy, you can not eat when the bite of their own tongue will never eat it? Put down the fear, continue to work hard, we are to conquer it, rather than be conquered by it, cheer up comrades.

After a struggle, you finally understand the concept of the database, and what excites you is that you can finally connect to the database through PHP, how you learned during this period, we do not research, but it turns out that you have been able to.

1

http://www.bkjia.com/PHPjc/446743.html www.bkjia.com true http://www.bkjia.com/PHPjc/446743.html techarticle from silently to others ask how to learn PHP began, to a lot of people again to ask silently how to learn PHP, whether silently is novice, or veteran, it seems always feel not to touch a clear vein ...

  • Related Article

    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.