Talk about how beginners learn PHP

Source: Internet
Author: User
Tags learn php php and mysql
I want to say something to those who expect to get useful information from my article before telling them about their learning style:
Silent article will not play a substantial role in your study, you can succeed, but also rely on their own, adhere to, adhere to, 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 of Html/css/js and other Web pages, complete the stage can be self-made complete Web page, 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) Contact MySQL to start designing database programs
(5) Constantly consolidate, know most common functions of PHP, and can understand Oop,mysql optimization, as well as template
(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.
Let me explain my study 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.
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 have HTML? Yes, I can make up a few big forms of the Web page of the row board!
Do you know PHP? Yes, I'm going to write one plus one in the function, and then call it!
Do you have MySQL? Yes, I'll insert my information into the database and delete it.
So, what do you do next? I think, small try the skill, probably is no problem, then give you a task, do a message book, this and Hello world have a ratio ah! ^_^, the same is the first way for novices to face off.
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 (^2^).
Again, buy a book to see, "Php+mysql Web Development (third edition)" is known as the biblical level, (perhaps a good choice (statement: The author did not give me what facilitation payments, I am not a book, across the way, I even his brother's face 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 was a ghost in the house, it might have been written-_-
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 was writing a dynamic website program, put on their own website to play, let good friends to see, hey, see how great we write, and then on the Internet publicity.
A few days later you open the message book, eh? Wow, pop up n multiple pages! Obviously, your message is not a good security guard, was a small fool with JS code, I sympathize with your feelings this time, 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, you've never touched oop or something? What about templates?
Yes, learn! Stepping up learning and learning, after learning these, you learned 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 pack tickets ^0^
After reading you found, wordy so much, for me a little use no ah, I know how to learn, but I think how to learn faster, a week crash, ah no, 24 hours of the crash, silently you have?
I....... I'm not, but I'm sure I'll get you in the hospital in 2 minutes.-_-
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? (is not a bit of Yama coach's taste, silent indeed is the film to see more, pumping mouth is painful, you actually understand this reason is OK)
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.

The above describes the novice how to learn PHP, including the aspects of the content, I hope that the PHP tutorial interested in a friend helpful.

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