What it takes to learn PHP

Source: Internet
Author: User
Tags file handling learn php
This article introduces the basic knowledge that needs to be mastered before you learn PHP. Many people think that PHP can start from the zero-based learning, that is, without learning anything else can be directly to learn PHP. It is true that PHP is easy to get started with and not tied to other knowledge, and can be zero-based and requires no other knowledge. But in my opinion, before learning PHP, I still have to master some of the basic knowledge about web-making. Before you learn PHP, your personal recommendation is: PHP, HMTL, CSS, JavaScript----MySQL (also SQL statement).

Html,css,javascript is mainly used to do the front page, some people will ask, since I am learning PHP, do is the background program, why should learn the foreground production? Besides, the big company for the front desk, backstage, art, etc. do not have a clear division of labor, but also with me to write? Yes, but it's a big company, and for a small company it's all done by one person. From the page design, page layout, art, and then to the background processing is a person or several people to complete, no clear division of labor. Must be the front desk, backstage will. In large companies, although there is a clear division of labor, the front desk of these things although not required you to write, but you have to see understand.

MySQL to master is the SQL statement, is nothing more than to increase, delete, the, check, and database optimization, these are relatively simple, learn faster, but also must be mastered knowledge.

As for ajax,jquery this knowledge, when your PHP learning to a certain extent, you can consider to learn these, because in many large projects have to use Ajax, especially chat rooms.

Here are a list of what you need to do to learn PHP:

1, ensure that you can read the PHP code with the help of the manual.
2, you can make basic use of MySQL, common queries, including joint queries will be. MySQL installation and user rights configuration will be.
3, make sure you use table skillfully, understand the data organization and display logic of HTML.
4, ensure that you understand the CSS and can be div+css layout, master DIV, UL, DL, SPAN, P and other common marks. (if it is a professional, also learn to float, positioning, lightbox, etc.).
5, make sure you can write common JavaScript code and start learning JavaScript libraries, such as jquery. Learn JS library remember not to look at the source code, first read the manual and then learn from the example, learn to call on it. (Professional front desk to study library files).

After the completion of the treatment, you have mastered the basic skills, and have a single file handling problems. This is the time to start learning business logic. What is the business logic, that is, through the code of the Organization to make a use of the function. The most basic is the message book. This part of the most important is to understand, site display habits, settings habits, management habits, user release habits.
6, proficient in writing the message book. You can skillfully use several PHP files to achieve small functionality. For example, those files are used to show which files are used to manage and which files are used to publish content. And a cursory understanding of the membership features. (Can download the message This program study studies).
7, start to contact the big point of the project. Understand the Web page flow of the website first. Develop process ideas. At this time, you can install a few more open source PHP products (including domestic and foreign), such as Discuz,dedecms,drupal and so on. Don't look at the core code of these products first. See the configuration, installation, application and interface of the template.
8, start to understand the website business structure, including foreground, backstage, member, data stream (user to database, database to user). Master process design, such as adding an image upload function, need several files.
9, to find a job to practice, don't be too picky at first, but be sure to find a company that lets you play, start contacting customer needs, how to organize documents, solve bugs.
10, in the work six months to a year or so, began to summarize, according to the choice of the company and your application, began to summarize the development model, template engine, database design, and so on.

Related Article

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.