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!