The whole design idea of PHP program

Source: Internet
Author: User
Keywords PHP

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

Today to share with you under the overall design of PHP program ideas, PHP is a very simple, with a very good performance of the web development language, that is not so you can do as much as the large web site, of course not, did a period of time phper know that PHP is a single thread, Is it possible to implement multiple processes, of course, but the performance is very poor, the current market, the most used in web development is PHP, the future trend is certainly PHP, has been the ASP now use less people, as a beginner of the overall design of the PHP program is not a whole idea? What a programmer has, I a buddy Taobao, before doing Java, do C + +, a day can be done PHP, on one day, that these people why so powerful, why can a day to do it, I have some buddies, they learn Java, learn C + + and have been doing for many years, Have done a lot of what enterprise management system Ah, what school book system Ah, what system ah, seems to be very good, but why learn PHP when the chaos, the reason is very simple, no idea, thought, please remember today, any language is not a problem, the problem is that you have no idea of a need, language is not important, A lot of requirements can be used in PHP, can use Python, can use C + +, can use Java and so on can be realized, then these things, and then how to cross the boundary, quick learning, and quickly transferred to a new technology, then is the process of finishing design ideas, Well, let's talk about it today. The overall design idea of the PHP program:

1. People-oriented, what it means, any technology is for the service, do not forget, do not think that Bill Gates is because of writing a system, so the rich, because they meet the needs.

2. When I get a PHP program need, do not blindly start to do this contraption, but to think about how to do it, how to do this to consider some of the first carefully read it again, if you do not understand the need for this place mody, if there is, immediately with the demand side of the communication, ask clearly, do not do when the time to ask, Or you're going to be sad. The 2nd, block of requirements, each function a block, on the same type can be grouped

3. According to the function to create a table, such as I need a user center, then I would like to create a corresponding table, such as member This is my table, if I have a function is authority management, I might, give him a user group table, such as Member_group and so on, If my demand has a product display, I will give it a prodcut table, to store my product information, and so on ...

4. Table I set up, I started to do, I analyze these features when I have ready-made, and can immediately integrate into your project, rapid development, no one can be developed, after the end of each function to do a package, backup down, for future use

The above is just a whole development process, that has not talked about the design idea, that idea is above it, analysis requirements-> determine function-> function block/group-> function Build Table-> Modular Development/packaging-> completion requirements

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.