What are the advantages and disadvantages of a single portal and multiple portals in frameworks-PHPframework?

Source: Internet
Author: User
What are the advantages and disadvantages of single and multi-entry PHPframework? What are the advantages and disadvantages of the single portal and multi-portal of PHP framework?

Reply content:

What are the advantages and disadvantages of the single portal and multi-portal of PHP framework?

The advantage of a single portal is that it is easy to control. For example, you only need to find this portal if you want to make any changes in the program flow.
If there are multiple portals, the workload for modification and testing is doubled.
In addition, PHP4 is very fast. Now PHP5 or even PHP6 is faster, so you don't have to worry about the program execution speed. Therefore, a single portal can fully satisfy various applications, there is no need for a dual portal or multiple portals.

Now that this problem has been mentioned, let me also talk about my opinion. First of all, domestic programmers cannot change their thinking because of the influence of these open-source cms and open-source frameworks in China, I understand that a single portal is a front-end display and a front-end display. In this case, the background is good. If you use this portal, your controller will be chaotic. So I suggest multiple portals, the above remarks are based on the so-called mvc. Please ignore the process-oriented process!

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.