Let's talk about how new users learn PHP & nbsp; I will first summarize the process of learning PHP myself: & nbsp; (1) familiar with HTML, CSS, JS, and other basic webpage elements, in the completion phase, you can create a complete webpage by yourself to familiarize yourself with the element attributes & nbsp; (2) understanding how new users learn PHP
First, I will summarize the PHP learning process:
(1) familiar with HTML, CSS, JS, and other basic web page elements. you can create a complete web page at the completion stage to familiarize yourself with the element attributes.
(2) understand the concept of dynamic language, operating mechanism, and familiarity with PHP syntax
(3) learning 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 fully functional Dynamic Site
This line may coincide with many PHP enthusiasts. it is also a step-by-step learning process. However, it is quite simple for new users not to see the above summary, I have to pour cold water on you, but nothing is simple. even the bread in the snack area is not made at once.
Let me explain my learning ideas first.
First of all, it is not difficult to understand the concept of a website. any website is composed of webpages. that is to say, to complete a website, you must first learn how to create a webpage. Therefore, you must master HTML, in order to lay the foundation for future website production.
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. only after you understand the effect of any element can you remember it deeply. However, it is absolutely impossible to read a book blindly, I think most new users think that concepts are hard to learn. most of them are "lazy". lazy is the biggest enemy to prevent progress. so they can learn one thing faster by overcoming lazy habits.
Maybe you only want to develop a website as soon as possible when learning PHP, and you will also want me to do the website. why should you learn what web pages such as pediatrics? 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 is not a tutorial article, it will not conduct in-depth analysis on the technology.
I assume that you can now complete a static page. of course, the nice looking and ugly look is another one. The first page is not good to see, but the child is ugly, we can't give up on what we do, right? 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 thing displayed on the webpage another thing? In fact, this is not a mess. isn't the HTML code you write a bunch of characters? After all, the code is not directly output, but processed. to put it bluntly, HTML is through the HTML parser, and PHP is also through the PHP parser, just like learning HTML, if you want any parser to complete the operation, you must use their special syntax structure. it is not surprising that PHP looks strange.
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, PHP may be quite simple, but if you haven't learned anything before, you can think about it.
The simple principle tells us that even if you cannot understand PHP, you must first get familiar with it and read it over and over again, at the same time, you can think about code as it teaches. even if you don't know what the code is, you should at least look for it.
After a struggle, you are smart, obviously enlightened, and gradually understood the concept of programming. Congratulations, you have taken the first step of success.
After figuring out the concept of HTML and PHP, PHP and HTML mixed programming should not be a problem. during this period, you can let PHP calculate the sum of one and one equals to a few, and then output them in the browser, don't be naive. this is indeed the same as Apollo's moon landing. you are playing a short piece of code, but you have taken a big step in programming! Excited? But I have to drop you some cold water. you are a Cainiao.
Happy for a while, we must continue to work hard. The next step is to study the database. MYSQL can be regarded as the Golden partner of PHP. However, even though this is the case, you may also wish to swallow MYSQL, because this line of stuff is just dizzy.
Dizzy to dizzy, dizzy to dizzy, you can't eat when you bite your tongue, don't you? Let go of fear and continue to work hard. let's conquer it, rather than be conquered by it. let's cheer up, comrade.
After some battles, you finally understood the concept of a database, and you are excited that you can finally connect to the database through PHP. How did you learn this during this period, we won't go into the research, but it turns out that you can.
If you have learned PHP and database, there is no doubt that you are holding MOTOLOLA in your left hand and NOKIA in your right hand. how cool and cool you are, haha, and finally learned, but maybe at this time, someone may casually pat the shoulder and say to you: Dude, don't be so happy too early. you're a newbie. it's a big difference from learning!
When you have worked hard to use PHP to successfully insert, delete, and update data, it is clear that you are just waiting for a while.
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. let's give you a task and make a message book. it's 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 been 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 is almost tied up, and it's time to start practicing the trend. if you have the conditions, use a pen or print a simple PHP manual on your body, from time to time, you can see it. Remember, you cannot leave WC alone (^ 2 ^ ).
If you have other requirements, please take a look at this book. "PHP + mysql web development (the third edition)" is called a Bible-level (it may be a good choice (Statement: The author did not give me any benefit, I am not a book holder either. I have never even met his old man and said -_-)
After consolidating your knowledge and familiarizing yourself with the essentials of PHP and MYSQL development, you may doubt that it was actually written by you? 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. after the completion, do you feel a sense of accomplishment? In any case, I wrote a dynamic website program and put it on my own website to play games. let's look at it with good friends. Hey, look at how good I wrote, and then publicize it on the Internet.
A few days later, you can open the message book again. why? Wow, more than N pages are displayed! Obviously, your message book has not been well protected. it has been played by JavaScript code. 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 be familiar with XML. well, XML is also known, so you have to contact AJAX? AJAX is finished... then...
All in all, you will never find that you have learned it all. some really strong people will always make new things to lose to you. if you don't learn it, you will lag behind. It also confirms the experience of our predecessors. it is really endless learning!
I want to use my YY to get familiar with some learning processes. maybe my process is the same as some of your ways, but I write so much about it, it is just a reference opportunity for everyone. As for the advantages and disadvantages, we do not dare to pack tickets ^ 0 ^
After reading this, you will find that Luo Wei is so much and is of no use to me. I know how to learn it, but I want to learn how to learn faster. it will take a week to complete quickly, what is the speed of 24 hours, do you have?
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. in turn, if you have learned other languages before, so learning PHP is certainly faster.
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' successful code is definitely beneficial and harmless. Therefore, it is the best way to look at the Classic code that has been refined.
After talking so much about PHP, I just want to say that I should not only master methods, but also work hard. I don't want to see people who give up halfway, believe in themselves, believe in your choice, and trust in your abilities. if you want to give up and be violent, you can leave your mouth open and yell at others. Why can't I do it? (Isn't it a bit difficult for coach Luo? it's true that there are too many movies in silence, and it hurts to blow your mouth. you can understand this truth)
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.