Ways to learn PHP
Learn php methods , Learn things, never delusional to have a crash this said, told you a way, but the lack of effort in this link, it is useless. It is necessary to master a good learning method , and see how to Learn PHP php/ in this article [ reproduced ]
I believe that you choose a language, not to see its background and a long history, more important is to see its practicality, flashy language even if it is a glorious history, and will step to the decline, it is gratifying that PHP has withstood the test, and therefore, it is indeed a language worthy of learning.
I conclude that the process of learning PHP may need to go through the following stages:
(1) familiar with the basic elements of Html/css/js and other Web pages, complete the stage can be self-made complete Web pages;
(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, start the design database program;
(5) constantly consolidate, know most of the common functions of PHP, and can understand OOP,MYSQL optimization, as well as templates; (6) complete a full-featured dynamic site.
my This set of lines may be the same as many learning PHP enthusiasts, this is a gradual learning process, but novice do not see the above summary of the study is quite simple, silently have to you a little splash of cold water, anything is actually not simple, Even the snack bar of the sesame cake is not to be made in a sudden.
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 the learning of HTML I want to learn while doing is the most effective way, of course, this way for learning PHP is also the most effective.
any element in the HTML to practice, only to understand what the elements will play an effect, you will remember deeply, and blindly chew the book, absolutely not, I think most of the novice feel that the concept is difficult to learn, most of it is a word " Lazy " , lazy is the biggest enemy to stop progress, so overcome lazy habits, to learn one thing faster.
Perhaps you in the study of PHP only want to develop a website as soon as possible, also would like me to do the website, why do you want to learn what Web pages these pediatrics is not difficult to see, above his business novice a few, this thought is undoubtedly building castles in the castle, you do not build the foundation, where to the roof?
OK, mastering the production of static Web pages is a prerequisite for learning to develop the site, this is the point here, because this article is not a tutorial article, but also do not have a deep analysis of technology.
I suppose you can now complete a static page, of course, do good looking ugly is another said, silently the first page is not good to go, but " children " again ugly, we do " parents " can not abandon it? This is the result of our work after all.
then we begin to learn the concept of dynamic language, just a contact with dynamic language, it may be a lot of people will be blindfolded, how this mess, the page is displayed when the other matter? In fact, this is not a mess, you write the HTML code is not the same as a heap of characters? After all, the code is not the direct output, but is processed, in plain,HTML is through the HTML parser, and PHP is of course through php parser, with the same reason to learn HTML , want to let any parser to complete the operation, you must use their dedicated syntax structure, so PHP It 's no surprise that looks strange.
The understanding of PHP is the most difficult for beginners to go through a threshold, but you should feel lucky that PHP has been the biggest limit for beginners to work hard, if you learn other languages, may feel PHP It 's pretty simple, but if you've never learned anything before, Amitabha . ; Buddha, Bite the bullet and ponder.
book after three times natural ripe, this simple truth tells us, even if you do not understand PHP, but also must first with it familiar, see, a look around, look at the same time while pondering, while you follow the code it teaches, even if you don't know what the code is doing, but at least you should find the feeling.
after a struggle, smart you, obviously already gradually enlightened, slowly understand the concept of programming, then congratulate you, you have taken the first step of success.
Understanding the concept of HTML and php , then php and HTML mixed programming should not be a problem, During this period, you can completely let PHP calculate one plus one equals a few, and then in the browser output, do not feel naïve, this is indeed the same as the Apollo moon landing, you hit a small piece of code, but for your programming path, but a big step ah! Excited, huh? But I have to pour you some cold water, you are a rookie.
happy for a while must continue to work, the next is to learn the database,MYSQL is the golden partner of PHP , but, although the words are said, you may also wish to MYSQL was eaten alive, because this line of stuff just makes you dizzy.
dizziness to dizziness, dazzling dizzy, you can not eat when the bite of their own tongue will never eat it? Put down the fear, continue to work hard, we are to conquer it, rather than 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, and will be inadvertently patted the shoulder to you said: "Dude, don't be happy too early, you still rookie, 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.
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.