I am going to create a new project with ZF2 . In fact I'll have to upgrade a project ZF1 but I decided to start from scratch.
My project is very large and has already been translated into 10 different languages by volunteers from all parts of the world.
The difficulty I am having is the analysis of the structure of the modules that ZF2 tells me to follow.
The software allows SMEs in the world of ISPs to manage their customer database , services, orders, invoices , domains , technical assistance , ecommerce, kb, and much more.
Assuming that ZF2 encourages programmers to create small modules reusable in other applications , and that in all cases we try to simplify and abstract as much as possible the structure of classes , many tables in the database of the project are connected to each other through various foreign keys and i can not understand how to create independent modules with their own files of entities and at the same time being disconnected from the project without causing a crash .
For example :
My application runs :
- Customers
- Orders
- Invoices
- Payments
- Messages
- Private Notes
Here is a screenshot of the web interface of the Project :
As you can see the project shows as much as possible an overview of the law and order situation by embedding various sections of the same project . Initially I thought of creating a single module but I need some advice from you.
What strategy would you advise me to adopt a structure of a large project?
http://programmers.stackexchange.com