How can we reasonably plan the MVC program structure for complex business projects?

Source: Internet
Author: User
The program structure caused by complicated businesses is messy. I don't know if I have any problems with this structure? Due to unclear requirements in the early stage, the requirements for the original system to adopt PHPCMSV9 were gradually clarified. The original system was unable to support the complex business structure and later transformed the program into the following structure...The program structure caused by complicated businesses is messy. I don't know if I have any problems with this structure?

Due to unclear requirements in the early stage, the original system was transformed using PHPCMSV9.
The requirements are gradually clarified later, and the original system cannot support complex business structures.

Later, the program was transformed into the following structure:

This structure contains the original MVC and the new MVC

Original MVC Structure

New MVC Structure

I am confused about whether to continue following the original steps or other steps.
However, complicated services may cause more inconvenience.

The current business mainly has

  • Hotel system,
  • Scenic Spot system,
  • Travel route system,
  • Customized package system,
  • Mall system,
  • Content Management System,
  • Scenic supplier management system,
  • Regional Distributor Management System

Reply content:The program structure caused by complicated businesses is messy. I don't know if I have any problems with this structure?

Due to unclear requirements in the early stage, the original system was transformed using PHPCMSV9.
The requirements are gradually clarified later, and the original system cannot support complex business structures.

Later, the program was transformed into the following structure:

This structure contains the original MVC and the new MVC

Original MVC Structure

New MVC Structure

I am confused about whether to continue following the original steps or other steps.
However, complicated services may cause more inconvenience.

The current business mainly has

  • Hotel system,
  • Scenic Spot system,
  • Travel route system,
  • Customized package system,
  • Mall system,
  • Content Management System,
  • Scenic supplier management system,
  • Regional Distributor Management System

Modules is public, and different business logic is divided into separate apps. For example, admin Control backend management, web site, cron running scheduled tasks, and so on. A project structure is attached.

Do you want to split the project? Different systems are managed in different projects, and independent modules are extracted for each system to depend on.

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.