Basic Steps for getting 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

Author: Hao Chunli

You can get started in one week!
Yes, for those who already have target languages based on Java,. net, and web development experience, it takes up to two weeks to get started with PHP.
Here, the author is definitely not playing a favor, but a personal experience and the experience of my colleagues.

I personally think this is normal when I see someone posting that I cannot use PHP, but I am hired to develop PHP.
The following is my personal experience on how to get started with PHP with development experience for your reference.

Prerequisites:
1. Understand the HTTP Communication Protocol
This is very important because the basic content will not change no matter how the technology is updated. For example, HTTP communication protocol, which is developed by WebProgramSo does PHP.
2. Understand the basic knowledge of the program language
No matter what language, the syntax is different, but the compilation principle,AlgorithmAnd so on.
3. Understand the basic principles of programs and databases
4. Understand the programming ideology of the target
Although not all PHP programs are MVC, the development trend is that PHP is more and more like servlet, and even includes program compilation and garbage management mechanisms.
5. Understand the basic idea of the three-tier architecture
6. If possible, understand some common knowledge about Linux/Unix
Although PHP is mainly used to develop Web programming languages, it was born in Linux/UNIC. So far, many function usage habits still follow the idea of C language.

Steps:
Follow these steps.

1. Configure your learning environment based on the company's operating system environment. For example, Linux and PHP versions.
Because many commercial servers have strict environmental requirements, they seldom use RPM packages to install server software. In this case, it is important to build the same environment as the company. Moreover, for those who are not familiar with Linux/Unix, this is also an opportunity to be familiar with Linux/Unix. Experience the compilation and installation process by yourself. Once a system problem occurs, you will not be confused and do not know where to start.
2. select a good development tool. I personally recommend eclipse PDT, which can be downloaded from the official website to all-in-one.
3. Understand how to check official documents.
It is the same to write a PHP program root to write a Java program. development cannot be performed without a development manual. You can refer to the Manual for basic syntax knowledge.
Unfortunately, the latest PHP manual has not yet published Chinese. If you are not confident in E, you can download it from here for your temporary needs (PhP4/5 is supported ).
4. Write a small program, such as BBS. Pay attention to programming according to the company's internal habits.
After writing, the PHP syntax is almost understood.
5. Read the projectCode. Try to understand every step. This is difficult for big projects, but you must understand the running steps of the framework and what XX is doing.

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

This article from the csdn blog, reproduced please indicate the source: http://blog.csdn.net/froole/archive/2008/12/15/3521843.aspx

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.