Sharing PHP Learning skills with you _php tutorial

Source: Internet
Author: User
Tags learn php php and mysql
We know that in learning

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

This set of PHP learning skills may be in line with a lot of learning PHP enthusiasts, this is a gradual learning process, but novice do not see the above summary that learning is quite simple, anything is actually not simple, even if the snack bar is not all of a sudden will be made of sesame.
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 learning HTML I want to learn while doing is the most effective way, of course, this way for PHP learning skills is also the most effective.
Any element in the HTML to do it yourself, only to understand what the elements will play an effect, you will remember deeply, and blindly chew the book, absolutely not.

Mastering the production technology of static Web pages is a prerequisite for learning to develop websites.

I assume that you are now ready to complete a static page. 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 Web page is displayed when the other matter? It's not a mess, but the HTML code you're writing is a bunch 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 learning skills is the most difficult to go through the threshold, but you should feel lucky that PHP has the biggest limit for the novice to work hard, if you learn other languages, you may feel that PHP is quite simple, even if you do not understand PHP, but you must first mix face familiar with it.

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 (^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 are ghosts in the house, maybe it's 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 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 crash this said, told you a PHP learning skills, but the lack of effort this link, 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, In fact, PHP learning skills is that you have to force yourself to achieve their goals, even if it may be very uncomfortable, but also insisted that perseverance is so exercise.


http://www.bkjia.com/PHPjc/446014.html www.bkjia.com true http://www.bkjia.com/PHPjc/446014.html techarticle we know, in the study of my own study of the process of PHP to summarize: (1) familiar with Html/css/js and other basic elements of the page, complete the stage can be self-made complete Web pages, the element attributes ...

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