PHP Project tips and summaries

Source: Internet
Author: User
Tags learn php

After a semester of PHP course learning, for PHP functions and some syntax, more understanding. This project mainly uses the process-oriented development method, in the development process familiar with PHP some common functions and the use of PHP arrays and file upload function.

Learn something, never want to have a quick talk, tell you a way, but the lack of effort in this part, it is useless. It is necessary to master a good learning method, and see how to learn PHP php/.

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) Continue to consolidate, understand most of the common functions of PHP, and the understanding of 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 deep, and blindly gnawing 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 prevent progress, so overcome lazy habits, To learn the same 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 assume that you can now complete a static page, of course, do a good looking ugly is another said, silently the first page did not look where to go, but "children" again ugly, we do "parents" can not abandon it is not? 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 as direct output, but is processed, plainly, HTML is through the HTML parser, and PHP, of course, through the PHP parser, with the same reason to learn HTML, want to make any {article Source: PHP Recruitment network () http:///news/ news-show.php?id=872} 's parser to complete the operation, you must use their own syntax structure, so PHP looks strange is not surprising.

The understanding of PHP is the most difficult for beginners to go through a threshold, but you should feel lucky that PHP has the biggest limit for the novice to work hard, if you learn other languages, you may feel that PHP is quite simple,

But if you have not learned anything before, then Amitabha, Buddha, Bite the bullet.

Book over three times natural ripe, this simple truth tells us, even if you do not understand PHP, but also must first with its face familiar, see, look over and over, look at the same time while pondering, while you follow the code it teaches, even if you do not 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.

To understand the concept of HTML and PHP, then PHP and HTML mixed programming should not be a problem, during this time, you can completely let PHP to calculate one plus one equals a few, and then in the browser output, do not feel naïve, this is really like the Apollo moon landing, you hit a small piece of code, but for your programming path , but a big step! Excited, huh? But I have to pour you some cold water, you are a rookie.

Happy for a while must continue to work hard, the next is to learn the database, MySQL is the golden partner of PHP, but, although the words are said, you may also want to kill MySQL, because this line of things just let yourself 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, will be someone inadvertently pat shoulder to you said: "Dude, don't be happy too early, you still rookie, away 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.

PHP Project tips and summaries

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.