Stick to learning PHP

Source: Internet
Author: User
Tags php and mysql

I believe that if you choose a language, you do not have to look at its background and long history, but more importantly, its practicality.

It is a brilliant history, and we will continue to fall. Fortunately, php has stood the test. Therefore, it is indeed a language worth learning.

.
The process of learning php may need to go through the following stages:
(1) familiar with HTML, CSS, JS, and other basic webpage elements. You can create a complete webpage at the completion stage;
(2) understand the concept of Dynamic Language, operating mechanism, and be familiar with PHP syntax;
(3) learn how to combine PHP and HTML to complete simple dynamic pages;
(4) Contact MYSQL and start designing database programs;
(5) continue to consolidate and understand most common PHP functions, and understand OOP, MYSQL optimization, and templates;
(6) complete a dynamic site with complete functions.
This line may coincide with many PHP enthusiasts. It is also a step-by-step learning process, but it is new to me.

Don't look at the summary above and think that learning is quite simple. I have to drop a bit of cold water on you, but nothing is actually simple.

Even the biscuits in the snack bar are not made at once.
Let me explain my learning ideas first.
First, after understanding the concept of a website, it is not difficult to see that any website is composed of webpages. That is to say, to complete a website, you must first

To learn how to make webpages, you must master HTML to lay the foundation for website production in the future.
In learning HTML, I think it is the most effective way to learn and do it. Of course, this method is also the most effective way to learn php.
Any element in HTML must be put into practice in person. You can only remember what elements will have any effect.

I think most beginners find it hard to learn concepts. Most of them are "lazy" and lazy is to prevent progress.

So as to overcome the Lazy habit, you can learn something faster.
Maybe you only want to develop a website as soon as possible when learning PHP, and you will also want me to be a website. Why do you want to learn what web pages?

Ke? It is not hard to see that there are not a few novice users with low eyes. This idea is undoubtedly used to build a castle in the air. If you do not have a foundation, how can you build a roof?
OK. Mastering the production technology of static Web pages is a prerequisite for learning to develop websites. This is mentioned here, because this article does not teach

This article will not conduct in-depth analysis on the technology.
I assume that you can now complete a static page. Of course, it's easy to see what you do.

I don't know where to go, but the "child" is ugly. We can't leave it alone when we are "Daddy? After all, this is our result.
So let's start to learn about the concept of dynamic language. When we first got into touch with Dynamic Language, many people may be confused. Why is this messy?

Things are another thing displayed on a webpage? In fact, this is not a mess, and the HTML code you write is a bunch of different.

Heap characters? After all, the Code is not directly output, but processed. To put it bluntly, HTML is passed through the HTML Parser, and

Of course, PHP will also use the PHP parser. Just like learning HTML, you must use them if you want any parser to complete the operation.

It is not surprising that PHP looks strange because of the syntax structure used.
Understanding PHP is the most difficult threshold for new users, but you should feel lucky that PHP has reached the maximum limit for new users.

If you have learned other languages, you may think that PHP is indeed quite simple. But if you have never learned anything before

Amitabha, stick your head to it.
The simple principle tells us that even if you cannot understand PHP, you must first get familiar with it and read it.

Read it over and over again, while thinking about it, and Typing Code according to what it teaches, even if you don't know what the code is,

But at least you should look for it.
After a struggle, you are smart and have gradually realized the concept of programming. Congratulations!

The first step of success was taken.
To understand the concept of HTML and PHP, PHP and HTML hybrid programming should not be a problem. During this period, you can let PHP give you

One plus one equals to a few, and then outputs in the browser. Don't be naive. It's indeed just like the Apollo moon landing.

Code, but you have taken a big step in programming! Excited? But I have to drop you some cold water. You are a newbie.

One.
Happy for a while, we must continue to work hard. The next step is to study the database. MySQL can be regarded as a golden partner of PHP. However,

Even so, you may wish to swallow MySQL, because this line of stuff makes you dizzy.
Dizzy to dizzy, dizzy to dizzy, you can't eat when you bite your tongue, don't you? Let go of fear,

Continue to work hard. Let's conquer it, not by it. Cheer up, comrade.
After a fight, you finally understood the concept of the database, and you are excited that you can finally use PHP for connections.

I learned how you learned it during this period. We will not study it, but it turns out that you can.
If you have learned PHP and database, you will undoubtedly be holding motolola in your left hand and Nokia in your right hand. How cool, how cool, haha, and finally

I learned, but at this time, some people may casually pat the shoulder and say to you: Dude, don't be so happy too early. You are still a cainiao,

It's a lot worse than learning!
When you have worked hard to use PHP to successfully insert, delete, and update data, it is clear that you are just a few days away from success.

Wait.
You may be in this status at this time:
Do you know HTML? Yes. I can compile several webpages with large table la s!
Do you know PHP? Yes. I will write the One-plus-one operation in the function and call it!
Do you know MYSQL? Yes. I will insert and delete my information in the database.
So what do you do next? I think it's okay to test your skills, so I'll give you a task and make a message book.

This is a comparison with hello world! ^ _ ^ Is the first level for beginners.
After a while, you finally learned to insert the form data into the database and then display it. It should be said that the prototype of a program has

Born.
However, you may have a look at the east, look at the west, People's Forum, the CMS, and the CRM. When should I write one?
Don't worry. It can be said that your horse step is almost tied up, and it's time to start to exercise the trend. If you have the conditions, use

Pen or print a simple PHP manual on your body. You can touch it from time to time and remember to leave WC alone (^ 2 ^ ).
If you have other requirements, buy a book and check it out. "PHP + mysql web development (the third edition)" is called a Bible-level (maybe a good choice ).

(Statement: The author didn't give me any benefit, and I am not a book holder. I have never even met his old man by saying -_-)
After consolidating your knowledge and familiarizing yourself with the essentials of PHP and MYSQL development, you may doubt the message book you wrote.

Is that what you wrote? Of course, if there is a ghost in the house, it may be written -_-
At this time, your message book should be added to the registration and paging functions. If you are more powerful, the UI (User Interface) can also be enhanced.

Is it a sense of accomplishment? Anyway, I wrote a dynamic website program and put it on my own network.

Let's play tricks on the website. Let's have a good friend look at it. Hey, let's see how good it is, and then publicize it online.
A few days later, you can open the message book again. Why? Wow, more than N pages are displayed! Obviously, your message book is not well protected,

The javascript code has been used for a little fun. I am very sorry for your feelings at this time, but there is no other way. Continue to work hard!
You have worked hard to get familiar with security issues, and then designed some programs. It feels good.
So next, I will learn it? No, no, no. It's still early. Have you ever touched OOP or something? What about the template?
Well, learn! After learning this, you have learned how to generate static Web pages. Now you should get in touch with XML.

XML, too. Do you have to contact Ajax? Ajax is finished .... Then...
All in all, you will never find that you have learned everything. some really strong people will always make new things to lose to you.

After that, it also proved the experience of our predecessors, and there was no end to learning!
I want to use some of my YY to get familiar with some learning processes. Maybe my processes and some of your ways out, but no matter how

I write so much about it and I just want to give you a chance to learn from it. As for the advantages and disadvantages, I am not afraid to pack tickets ^ 0 ^
After reading this article, you will find that Luo Wei is so much useless to me. I know how to learn it, but I want to learn more quickly.

A week is faster than a week. No, 24 hours is faster than that. Are you sure you want?
I ....... I don't know, but if I flat you into the hospital within 2 minutes, I'm sure -_-
Never think about quick start. It tells you a way, but it is useless if you lack the effort.
But one thing I can assure you is that if you have learned PHP, you must be able to learn other languages quickly,

If you have learned other languages before, you must have learned PHP quickly.
But the syntax is easy to learn, but how to use the syntax to achieve everyone has their own way, almost each has its own merits. However, learning from others

Valuable code is definitely beneficial and harmless. Therefore, it is the best advanced method to read the classic code that has been refined.
After talking so much, I just want to say: Learning php requires not only mastering methods, but also making a lot of effort. I don't want to give up halfway.

People, believe in themselves, believe in their choices, and trust in their own capabilities. If they want to give up and be violent, they will smoke themselves.

One mouth, and then yell: others can, why can't I? (Is it a bit difficult for Coach Luo? It's a movie.

If you have read more, it will hurt your mouth. You can understand this truth)
In addition, we want to tell you that the comparison between ASP, PHP, JSP, And. NET may make you feel at a loss, and you may have learned half of it.

PHP, start to develop the idea of C # again, or some people say that JAVA is very strong. At this time, you will never waver, even if you really want to learn, you have to learn

PHP. Then I will learn it again. This is the most undesirable thing to think about. If you give up on a regular basis, you can only

N times of Time and experience are wasted. The loss is worth the candle. The most important thing is that you will be looked down upon by others, and no one will like and disagree.

The migration personnel make friends because they are too restless and unreliable. Therefore, you must force yourself to fulfill your goals, even if it is possible

It's hard to feel and persevere. Perseverance is just like this.

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.