Talk about how beginners learn php ^_^
The beginning of the article enumerated so many contact methods, it will inevitably make everyone feel a bit of the meaning of the ad, but there is no doubt that there are so little ^_^ of performance, although sometimes too meticulous will be said mother, but fortunately this careful for programming, it's pretty good.！
From silently to others ask how to learn PHP start, to later many people again to ask silently how to learn PHP, whether silently is a novice, or veteran, it seems that always feel a clear thread to come, but, silently since learned PHP, then I walk this road more or less have some reference.
PHP background I am afraid not to mention, I believe that we choose a language, not to see its background and a long history, more importantly, look at its practicality, flashy language even a glorious history, but also the decline of the step, it is gratifying that PHP withstood the test, and therefore, it is indeed a Worth LearningThe language.
Silently has been to listen to other people's experience grew up, and therefore in the experience of the predecessors so that silently less walk a lot of detours, faster into the formal, in this to those I do not know the name of their predecessors to say thank you, in the eyes of silence, help no size, as long as it is help, always let silently heart warm, I think, Predecessors to help me, not to get a thank you, more is out of a sense of responsibility and the expectation of silence, so I think, only learn PHP, can be worthy of the sweat of predecessors.
As I said, silently also finally feel a sense of responsibility, silently do not know their experience in the end can help beginners how much, but silently understand, now to fulfill the responsibility of the time, I have to tell their own experience to all want to learn PHP, the only way to let China's PHP continuous progress, Continuous development, occupy a place in the world.
Silently learn PHP This period of time, feel the domestic PHP environment is more and more mature, the norms are gradually sound, the establishment of Phpchina, marked with the official directly linked to the PHP agency in China officially settled in this offer of late applause!
Okay, cut to the chase:
I want to say something to someone who expects to get useful information from my article before I tell you about My 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, is to enter the success of the begotten.
I first put my own learning PHP process to do a summary:
(1) familiar with html/Css/js, such as the basic elements of Web pages, complete the stage can make their own complete Web pages, the element to achieve familiarity with the attributes
(2) Understand the concept of dynamic language, transport 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 the database program
(5) Continue to consolidate, understand most PHP commonly used functions, and understanding Oop,mysql optimization, as well as template
(6) Complete a full-featured dynamic site
My line probably coincides with a lot of learning PHP enthusiasts, which is a step-by-step learning process, but the novice do not see the above summary thought that learning is quite simple, silently here have to you a little splash of cold water, Anything is really not easy., even the snack of the sesame cake is not a sudden will be made.
Let me explain my idea of study first.
First of all, understanding the concept of the site is not difficult to see that any site is made up of web pages, that is to say to complete the site, you must first learn to do Web pages, so you have to master the HTML in order to lay the foundation for future production of Web sites.
In learning HTML, I want to learning and doing is the most effective way, of course, this approach is also the most effective for learning PHP.
any element in HTML should be practiced personally.Only understand what the element will do.After that, you will remember deeply, and blindly bite the book, absolutely not, I think most of the novice think the concept is difficult to learn, most of it is a word "lazy", Lazy is the biggest enemy to prevent progress, so overcome the habit of laziness, can learn the same thing faster。
Maybe when you're learning PHP, you just want to do it ASAP. DevelopmentA website, also will want me to do the website, why want to learn what webpage these pediatrics? It is not difficult to see thatYangaoshoudi is a novice., it is no doubt that the idea of building castles in the castle, you do not build the foundation, where the roof?
OkMastering the production of static Web pages is a prerequisite for learning to develop Web sites, this is the point, because this article is notTutorialArticle, it is not the technology for in-depth analysis of the plane.
I assume that you can now complete a static page, of course, do a good look ugly is another said, silently the first page is not good-looking where to go, but the "child" again ugly, we do "parents" can not abandon it? After all, this is our result.
So we began to learn the concept of dynamic language, just a touch of dynamic language, may be a lot of people will be blindfolded, how this messy things, in the Web page when the show is another thing? In fact that's not a mess you write HTMLCodeNo, it's a bunch of piles.CharacterDo you? After all, the code is not as directOutput, but after processing, plainly, HTML is through the HTML parser, and PHP, of course, through the PHP parser, and learn the same truth as HTML, want any parser to complete the operation,must use their proprietary syntax structure, so it's no surprise that PHP looks strange.
Understanding PHP is one of the most difficult hurdles for beginners, but you should feel lucky that PHP has done its best to be a novice., if you have studied other languages, you may think PHP is quite simple, but if you have not learned anything before, then Amitabha, bite the bullet.
The book is three times naturally ripe., this simple truth tells us that even if you can't understand PHP, but also must first with it face ripe, see, over and over again look, look at the same time while pondering, while according to it taught to play code, even if you do not know what the code is, but at least you should find the feeling.
After a struggle, the smart you, obviously gradually enlightened, slowly understand the concept of programming, then congratulate you, you have taken the first step of success.
To understand the concepts of HTML and PHP, then PHP and HTML mixed programming should notProblem, in this period, you can get PHP to calculate one plus one equals a few, and then output in the browser, do not feel naïve, this is indeed the same as the Apollo landing, you hit a small piece of code, but for your programming path, but a big step ah! Are you excited? But I have to pour some cold water on you, you are still a rookie.
Be happy for a whileTimeYou have to keep working on it, and then it's learning.DataLibrary, MySQL can be counted as the golden partner of PHP, but, although this is said, you may wish to take the MySQL to the flesh, because this line of the dongdong simply let oneself dizzy.
dizziness, dizziness, dizzy, you can not eat when you bite your tongue will never eat it? Put down the fear, keep on trying,we are here to conquer it, not to be conquered by it ., cheer up, comrade.
After a struggle, you finally understand the concept of the database, and let you excited is that you can finally connect to the database through PHP, this period how you learned, we do not go to textual research, but it turns out, you already can.
Learned PHP and database of you, is undoubtedly left hand holding motolola right hand holding Nokia, to be more natural, how natural, haha, finally learned, but perhaps this time, someone inadvertently patted the shoulder to you said: "Dude, don't be happy too early, you are still rookie, away from the learning still a big cut it!"
Wait until you work hard to learn the successful insertion of PHP, delete, update data, obviously, you have been close to success.
This time you may be in this state:
Do you know how to HTML? Yes, I can make up a few big table layout pages!
Do you know how to do php? Yes, I'll write one plus one in the function, and then call!
Do you know how to MySQL? Yes, I'll insert my information in the database and delete it.
So, what are you going to do next? I think, small try skill, probably is no problem, then give you a task, make a message this, this and hello world have a ratio ah! ^_^, same is the first pass that the novice faces.
It took a while for you to finally learn Insert the form's data into the database and then display it. , it should be said that the embryonic form of a program has been born.
But, you may look east, see West, people this seriesForum, that CMS, and that what CRM, when I write a?
Do not worry, you can say that your stance has been tied almost, and then start practicing 把势, if there is a condition, with a pen or print a simple PHP manual on the body, from time to time to see, remember, to WC also can not let go (^2^).
If you have any more conditions, buy a book. "Php+mysql Web Development (third edition)" known as The Bible class, (perhaps a good choice (statement: The author did not give me any wouldn't, I am not a book, across the way, I even his brother's face have not seen the said-_-)
Consolidate their knowledge, familiar with the PHP and MySQL development essentials, and then look back at the message you wrote, you may wonder if it is really you wrote it? Of course, if there's a ghost in the house, maybe it's 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, we have written a dynamic website program, put on their own site to play it, let good friends to see, hey, see how good I write, and then online publicity.
A few days later you open the message book, eh? Wow, a bit more N-page pop-up! Obviously, your message wasn't there.do a good job of safety precautions, was a small fool with the JS code a bit, I sympathize with your feelings this time, but there is no other way, continue to work hard!
You work hard, familiar with the security aspects of the problem, and then designed a number of programs, it feels good.
So, what, then, does that even learn? No,no,no, it's still early, you haven't touched OOP or anything like that? What about the template?
Yes, learn! Learn and learn, learn these, and then you learn to generate static Web pages, now you should touch XML, well, XML also understand, thenAjaxYou have to contact, too? Ajax is over .... And then...
In a word, you will never find that you have all learned, some real strongman will always make new things to throw to you, you do not learn to fall behind, but also confirmed the experience of the predecessors, is indeedLife-long LearningAh!
I would like to pass my yy, you should be familiar with some of the learning process, perhaps my process and some of your way out, but no matter how the same, I write so much, but also to give you a reference to the opportunity, as for good and bad, silently dare not pack the ticket ^0^
After reading you find, wordy so much, to me a little use no ah, I know how to learn, but I think how to learn faster, a week crash, ah no, 24-hour crash kind, silently you have?
I....... I didn't, but I got you in the hospital in 2 minutes, I'm sure-_-.
learn something, never imagine a crash ., told you a way, but lack of effort in this aspect, it is in vain.
But one thing I can guarantee you is that you learn PHP, then learn other languages, certainly quick, and vice versa, if you have learned other languages before, then learn PHP must be fast.
But grammar is studious, but how to use grammar to realize that everyone has a way of everyone, is almost the same. Howeverlearn from others successful code, is absolutely beneficial harmless, so it's best to look at the classic code that's been tempered and condensed.
Speaking so much, nothing more than to say:learn PHP not only to master the method, more is to pay the sweat, I do not want to see the people who give up halfway, believe in themselves, believe in their own choice, but also believe that their ability, if they want to give up, a little bit of violence, they smoke their own mouth, and then roar: "Others can, why can I not?" (is not a bit hell the taste of the coach, silent indeed is a film to see more, smoking mouth is painful, you actually understand this reason on the line)
In addition, I would like to warn you thatResist temptation, asp/php/jsp/. NET comparison may leave you at a loss, you might have learned half of PHP and started playing C # again, or someone saidJavaVery strong, this time you absolutely can not waver, even if you really want to learn, also have to learn PHP. And then learn,The most undesirable is the inconstant, the bear-snapping corn is the truth, if you often give up halfway, can only be nothing, but also wasted more than n time and experience, the most important thing is that you will be looked down upon, no one will like to make friends with the inconstant, because such people are too restless, too unreliable, therefore, You have to force yourself to accomplish your goals, even if it can be tough, and you have to stick to it.
| > So much, maybe I'm tired of it. But silently belongs to the kind of usual very silent, once entered the state after the change is very excited, I want to as far as possible to the expression of what I think, but unfortunately their writing skills limited, the effect may not be satisfactory, but I feel, to share their experience after feeling very relaxed, a sense of relief.
Finally, I would like to say that a lot of people are not confident, said such as what language to China on the sour, what the Chinese do not unite, no team spirit, and so on, I think those who are short-sighted, sad, regrettable, those people , but pessimistic sigh, only hope that those people wake up early, only everyone efforts to progress, and inferiority self sigh, will only get worse.
In fact, whether it is PHP or anything else, we , a person's strength may be insignificant, but everyone efforts, work together, What can't the Chinese have? We should not only catch up, but also go beyond, so that the world will use the "Chinese standard", perhaps I say so some people say I am wishful thinking, also some people say I only shout slogans, this does not matter, but the important thing is, I finally said the heart words out, plainly, we Chinese people do not lack the strength, on the lack of ambition, ambition is not derogatory, Here refers to the ambition, it is the .
said so much, and digress ^_^, in fact, is to encourage us to learn PHP novice, efforts, China's development depends on us! (the words are big, everybody reader don't take offense!) Boldly speaking ^_^)