Beginners How to start learning php_php tutorials

Source: Internet
Author: User
Tags learn php php and mysql
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.

The general 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 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.

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.

Xu you in the study of PHP only want to develop a website as soon as possible, also would like me to do the website, why do you want to learn what Web pages 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.

Then we begin to learn the concept of dynamic language, just a contact with dynamic language, may be a lot of people will be blindfolded, how this mess, in the page is displayed when the other matter? It's not a mess, but the HTML code you're writing is a bunch of characters. 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 special 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 it's a big step! Are you excited? 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 you bite yourself tongue will not eat it? Put down the fear, continue to work hard, we are to conquer it, and not 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.

Learn PHP and database of you, is undoubtedly holding motolola right hand holding Nokia, to more chic, how dashing, haha, finally learned, but perhaps this time, will be someone inadvertently pat shoulder to you said: "Dude, don't be happy too early, you still rookie, away from the learning is still a big cut!"

Until you work hard to learn to use PHP successfully inserted, delete, update the data when, obviously, you have been distance success is just about.

This time you may be in this state:

Do you know how to do html? Yes, I can make up a few big sheets of Web pages!

Do you know how to do php? Yes, I'll write one plus one in the function, and then call it!

Will you be MySQL? Yes, I'll insert my information into the database and delete it.

So, what are you going to do next? I think, small try the skill, probably is no problem, then give you a task, do a message this, and Hello World has a ratio ah! ^_^, the same is the first way for novices to face.

It took a while, you finally learned to insert the form data into the database, and then show it, it should be said that a program of the prototype has been born.

But, you may see East, look at the west, people this forum, the CMS, and then what CRM, when I write a?

Do not hurry, you can say that your horse has been tied almost, the next is to start practicing 把势 time, if there are conditions, with a pen or print a simple PHP manual on the body, from time to time to feel out to see, remember, to WC also can not let go.

Again, buy a book to see, "Php+mysql Web Development (third edition)" is known as the biblical level, (may be a good choice (statement: The author did not give me what facilitation payments, I am not a book, across the way, I even the face of his brother have not seen the said)

Consolidate your knowledge, familiar with the essentials of PHP and MySQL development, and then look back at the message you wrote, you may suspect that it is really you write it? Of course, if there are ghosts in the house, it may be written.

At this time, your message should be added to the registration and paging function, and if you are stronger, the UI (user interface) can also be enhanced, after the completion of the feeling is not a unique sense of accomplishment? Anyway, I have written a dynamic website program, put on their website to play, let good friends to see, Hey, Look how great we write and then advertise on the Internet.

A few days later you open the message book, eh? Wow, pop n multiple pages! It is obvious that your message is not a good security guard, was someone with JS code a little trick, I sympathize with you this time feeling, but there is no other way, continue to work!

You work hard, familiar with security issues, and then design a number of programs, feel good.

So then, what if it's learned? No,no,no, it's early, and you haven't touched OOP or anything? What about templates?

Yes, learn! To learn and learn, and then you learn to generate static Web pages, now you should touch the XML, well, XML also understand, then Ajax you have to contact with it? Ajax is finished .... And then...

In a word, you will never find that you have all learned, some real strongman will always make a new thing to throw to you, you do not learn to lag behind, also confirms the experience of predecessors, sure enough is learning ah!

I think through my some yy, you should also be familiar with some of the learning process, maybe my process and some of your way out, but no matter how it is the same, I write so much, but also just give you a reference to the opportunity, as for good and bad, silently dare not package the ticket

Learn something, never want to have a quick talk, tell you a way, but the lack of effort in this part, it is useless.

But one thing I can assure you is that you learn PHP, then learn other languages, definitely crash, and vice versa, if you've learned other languages before, then PHP must be fast.

But the grammar is studious, but how to use grammar to achieve everyone's way, almost the same. However, it is absolutely beneficial to draw on the code of others ' success, so it is the best way to look at the classic code that passes through thoroughly tempered.

Talk so much, nothing is to say: learn PHP not only to master the method, more is to pay sweat, I do not want to see halfway give up people, believe in themselves, believe in their own choice, but also to believe in their ability, if they want to give up, violence a little words, they smoke their own mouth, and then roar: others can, Why can't I do it?

In addition, you must be told that the temptation to resist, asp/php/jsp/. NET comparison may make you at a loss, you may have learned half of PHP, and began to play C # idea, or some people say that Java is strong, this time you can absolutely not waver, even if you really want to learn, you have to learn PHP. Then learn, inconstant is the most undesirable, bear the corn is the reason, if often give up halfway, can only be nothing, but also waste more than n time and experience, the most important thing is that you will be looked down on, no one will like and inconstant people make friends, because such people too restless, too unreliable, Therefore, you have to force yourself to achieve your goals, even if it may be very uncomfortable, you have to insist, perseverance is so exercise.

Finally, I would like to say that there are a lot of people are not self-confidence, said such as what language to China on the stale, what Chinese people do not unite, no team spirit and so on, but I think those who sighted, sad, alas, those who always put all the responsibility of all the full, but not from their own, to the body, To change this situation, instead of a pessimistic sigh, only hope that those who wake up early, only the efforts of everyone, to progress, and self-esteem from sigh, will only make the worse.

In fact, whether it is PHP or anything else, we do not learn to have, learn to make a thing, a person's strength may be insignificant, but we all strive to work together, the Chinese have what can not? We must not only catch up, but also go beyond, to let the world use the "Chinese standard", Perhaps I say that some people say I am wishful thinking, but also some people say I will only shout slogans, it does not matter, but the important thing is that I finally put the words out, plainly, we Chinese people do not lack the strength, lack of ambition, ambition is not derogatory, here refers to the ambition, is the Chinese dare to fight the world's first ambition. PHP has a wide range of applications in the country, such as the widely used Discuz forum.

http://www.bkjia.com/PHPjc/752475.html www.bkjia.com true http://www.bkjia.com/PHPjc/752475.html techarticle PHP background may not 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 ...

  • 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.