Basic steps to get started with PHP in a week

Source: Internet
Author: User
Tags getting started with php
Basic steps for getting started with PHP in a week

A week's time to get started!
Yes, for already have Java-based,. NET, such as the target language, web development work experience, PHP has enough time to get started in a week, up to no more than two weeks.
Here, the author is definitely not in the grandstanding, but personal experience and colleagues around the experience.

See someone posting said not PHP, but was hired to develop PHP , personally feel that it is quite normal.
For people with development experience how to quickly get started PHP, the following is my personal summary of some of the experience for everyone to refer to.

    • Premise:

?? 1. Understanding HTTP Communication Protocols
????? This is important because, regardless of how the technology is refurbished, the underlying content will not change. For example, HTTP communication protocol, which is the premise of developing web programs, so is PHP.
?? 2. Understanding the Fundamentals of program language
????? No matter what language, grammar is not the same but the compiler principle, algorithm and other knowledge are the same.
?? 3. Understanding the fundamentals of the program + database
?? 4. Understanding the programming idea of goal-oriented
????? While not all PHP programs are MVC, the trend is that PHP is becoming more and more like Servlets, even including program compilation and garbage management mechanisms.
?? 5. Understanding the basic ideas of the three-tier architecture
?? 6. If possible, understand some common sense of Linux/unix
????? Although PHP is mainly used to develop the language of the Web program, but it was born in Linux/unic, so far many of the functions of the use of the habit is still used from the C language ideas.

    • Steps:

????? The following are the specific learning steps.

?? 1. Configure your learning environment according to the company's operating system environment. For example, the Linux version, the PHP version, and so on.
????? Because many commercial servers are more demanding on the environment, it is very rare to install Server software with RPM packages. Especially at such times, it becomes very important to build the same environment as the company. And, for those unfamiliar with Linux/unix, this is also an opportunity to familiarize themselves with the Linux/unix operating system. Experience the compilation, installation process, once the system problems will not confused, do not know where to start.
?? 2. Choose a better development tool. A personal recommendation for Eclipse's PDT can be downloaded from the official to All-in-one.
?? 3. Understand the official documentation of the method of access.
????? Write the PHP program root write Java program is the same, no development manual is not able to develop. Even basic grammatical knowledge can be consulted in the manual.
????? Unfortunately, the latest version of the PHP manual has not been published in Chinese, if it is not self-confidence in E, can be downloaded from here for a temporary need (support PHP4/5).
?? 4. Write a small program yourself, such as BBS. Note that according to the internal habits of the company programming, completely can divert.
????? After writing, the syntax for PHP is almost understandable.
?? 5. Read the engineering code. Try to understand each step as much as possible. This is hard to do for big projects, but be sure to understand the steps of the framework and know what part of XX is doing.

Oh, the above is my personal experience, please correct me.

?

Transferred from: http://blog.csdn.net/froole/article/details/3521843

?

  • 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.