Since I started asking others how to learn PHP, many people asked me how to learn PHP again. No matter it was a novice or an old bird, I always felt that I couldn’t find a clear path. However, since I learned PHP, I could more or less learn from it.
As I said, finally feel a sense of responsibility, also don’t know how much his experience can help the novice, but understand, now it’s time for a responsibility, I need to put their experience to all the people who want to learn PHP, only in this way can make China PHP constant progress, continuous development, in a place in the world.
Ok, cut to the chase:
(1) Familiar with HTML/CSS/JS and other basic elements of the web page, can make a complete web page at the completion stage, to be familiar with element attributes
(3) Learn how to combine PHP and HTML to complete simple dynamic pages
(5) Continuously consolidate, understand most common PHP functions, and understand OOP, MYSQL optimization, and templates
This line may I talk to many learning PHP enthusiasts, this is a gradual learning process, but beginners don’t see the generalization of the above thought learning pretty simple, here had to pour a little bit about the cold water for you, any things are not simple, even the refreshment room baked wheat cake, nor will immediately.
First of all, after understanding the concept of the website, it is not difficult to see that any website is composed of web pages, that is to say, to complete the website, we must learn to do web pages first, so we must master HTML, in order to lay the foundation for the future production of the website.
Any element of HTML to practice in person, only understand what elements will have what effect, you will remember, and blindly test, is not absolutely, the reason why I think most beginners think concept is difficult to learn, most of the “lazy” is a word, lazy is the biggest enemy, preventing progress so overcome lazy habits, can be faster to learn something.
OK, master static web page production technology is a prerequisite for learning to develop a website, this point is here, because this article is not a tutorial article, it will not be in-depth analysis of the technology.
So let’s begin to learn the concept of dynamic language, just a contact with dynamic language, may be a lot of people will be confused, how this mess of things, in the web page display is another thing? That’s not a mess. Isn’t your HTML code just a bunch of characters? After all, the code is not output directly, it is processed, and HTML goes through the HTML parser, and PHP goes through the PHP parser. Just like learning HTML, if you want any parser to do anything, you have to use their special syntax. So it’s not surprising that PHP looks strange.
Book through three times nature, this simple truth tells us that even if you don’t understand PHP, but it must first be to mix a familiar face, look, look, over and over again to see the both side of the figure, while according to the code it had to teach, even if you don’t know why the code is, but at least you should look for feeling.
In the meantime, you can have PHP tell you what one plus one is, and then output it in the browser. Don’t be naive. It’s like the Apollo moon landing, you’re typing a little piece of code, but for your programming path, But a big step! Excited? But I have to pour some cold water on you, you are still a rookie.
Dizzy, dizzy, dizzy. You can’t bite your tongue while you’re eating and never eat again, can you? We are here to conquer it, not be conquered by it. Cheer up, comrade.
Learned PHP and database of you, is undoubtedly the left hand holding MOTOLOLA right hand holding NOKIA, to much natural and unrestrained, have much natural and unrestrained, ha ha, finally learned, but may be this time, and someone casual patted shoulder to you say: brothers, don’t be happy too early, you are still a rookie, from the institute is still a big cut!
You might look like this:
Do you know PHP? Yes, I will write the operation of one plus one in the function, and then call!
So, what should you do next? I think, have a try, probably is ok, then give you a task, make a message book, this and HELLO WORLD have a comparison! ^_^, the first hurdle for the novice.
However, you may take a look at this forum, that CMS, and that CRM, when will I write one?
PHP+MYSQL WEB Development (3rd edition) is a bible, and it’s probably a good choice.
By this point, your messages should have registered and pagination, and if you’re better, the UI can be enhanced. Anyway, we wrote a dynamic website program, put it on their own website to play, let a good friend to see, hey, see how good I write, and then on the Internet propaganda.
You work hard, familiarize yourself with the security issues, and then design some programs, and you feel good about it.
Well, to learn! Now that you’ve learned that, you’ve learned how to generate static web pages, and now you should get your hands on XML, and XML, and AJAX, too? AJAX is finished… And then…
I think through my YY, you should be roughly familiar with some learning process, maybe my process and some of your way out, but no matter how it is the same path, I write so much, but also to give you a chance to learn, as for good or bad, can not guarantee ^0^
I…… I’m not, but I’m pretty sure you’ll be in the hospital in two minutes
But one thing I can guarantee you is that if you learn PHP, you’ll learn another language faster, and vice versa, if you’ve learned another language before, you’ll learn PHP faster.
Speak so much, is just want to say: not only to grasp learning PHP method, more is to pay a sweat, I don’t want to see people give up halfway, believe in yourself, believe your choice, more to believe in your ability, if you want to give up, violence, just smoke yourself a mouth, then roar loud: others can, why can’t I? (Is it a bit of the taste of Yama Coach? It is true that after watching too many movies, it will hurt to smoke your mouth, you actually understand this truth on the line)
How to learn PHP^_^