5 ways to make you a master of PHP development

Source: Internet
Author: User
Tags learn php php framework

5 ways to make you a master of PHP development


Foreign well-known Webmaster blog developer Guide Developertutorials.com published a "5 ways to make you a master of PHP development," the author of a simple translation, there are errors please criticize the advice. Original Address http://www.developertutorials.com/blog/web/5-ways-to-be-a-better-php-developer-36/
We often encounter PHP beginners in chat rooms or forums asking a variety of questions about PHP, if the problem is too simple, people often reply to "read the manual", "Learn PHP First", "We can not teach you hand" or a "you should learn almost again to ask." How can you learn the same? This post will teach beginners 5 kinds of PHP learning methods that can improve efficiency, write less code, and better network applications. Using PHP to develop programs is always learning: new functions, new frameworks, new design surfaces, new code document styles. Here are some of the best PHP advanced methods.

1. Read the Handbook
I really don't pay much attention to this because there are so many things in the manual. In particular, string, array functions. Manuals are easy to use, and when you read the manual you often find that some of the core functions can be a lot less diligent than previous programs. The handbook is your good companion.
2, browse the code
PHP has a lot of open code resources, why not use it? Download a shared PHP application and read the code. The bigger the project, the better it is, because it has a more complete system and structure, as well as a complete document for reference. If you don't have a start you may wish to view www.sourceforge.net this site.
3. Learning a new framework
PHP frameworks are numerous, many of which are open source and are available on most Web sites. You can start with the most comprehensive website www.phpframeworks.com, which has a good list of PHP frames. With a lot of application to the PHP framework, your next program may need a new framework, and you will certainly find that it is widely used in engineering.
4. Research
You've heard a lot of PHP terminology, from OOP to MVC, kiss to dry, yaml to INI, rest to XML-RPC, there are hundreds of technology concepts that are relevant to your work. You may have a basic understanding of them, but do you really know what they are or what they mean to you? Take the time to study that Wikipedia is a good place to start, and it will certainly help you learn something new.
5. Learn OOP
Maybe the next methods are slightly different from the previous, but OOP is really more important than you might think. Do you know PHP5 's oop? For example, abstract classes, keywords, static and attributes, "protected" interface modifications? Even experienced PHP programmers may not understand this. You can save a lot of development time if you can apply OOP.
This is the 5 easy to understand but meaningful way to become a good PHP developer.

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.