Comments (7)
each domin must be a more complex layout to have more store and logic
from service.
My domain, like accounting, is more complicated than the user ,It is a complete program ,It has several different stores and has a complex logic
from service.
I would not do it. I would experiment with layering. That's all a module is, a new firewall. So find a layering structure that works for you. Under core you could layer at a module level.
from service.
in your opinion we can be complex in each core ?
for example can i add more than 4 store in one domin and 20 func for the accounting to be a part of a big program
how can i divided domins properly ?
my app is flight booking app
in my app i have a company and site each conpany can have multi site and each site have multi users ,i have a flight suplier and the supliers must convert to the one struct for sell flight ticket ,and the accounting section for each company,and the payment gateways The app is multilingual and supports multiple currencies.
from service.
The domains are related to data. So you need to start there. Understand the data models and where the firewalls need to be related to the data. Then you build the core business packages around that. If a core business package can have 4 different ways to persist and retrieve data, that's not a problem. You will have 4 different packages under the stores layer for that core business package.
You might be trying to break the domains down to granular. Stop and look at the data you are managing. Look to see where you want to place the vertical firewalls. What data could be in its own schema or DB.
Stop for 30 minutes and ask yourself these questions. Not every table needs to be in its own domain. At the same time, the entire schema can't be in a single domain.
Understand the data better, and you will understand how to solve the problem.
I can work on this with you if you like.
from service.
I would greatly appreciate it if you could work with me on this.How can we do it?
from service.
We just need to schedule an hour. Send me an email to [email protected]. I have time on this Friday.
from service.
Related Issues (20)
- refine make built-in function allocates add len HOT 2
- usertoken HOT 1
- pass in dbtest tokenv1 HOT 1
- user role question HOT 4
- More complicated role HOT 2
- Unit test HOT 5
- layer called userapp! HOT 4
- error when run multiple instances HOT 1
- Why, when we want to edit a field or change its type, the changes are not applied in the database with the migration command. HOT 7
- Tests HOT 5
- Question: Respond before commit transaction HOT 3
- Add account verification link HOT 3
- Transaction error 500 when testing transaction with validation error 400 HOT 2
- Code generates HOT 1
- Question: API integration HOT 2
- It is suggested to improve the naming of returned errors from the database layer HOT 1
- Question about vproduct domain HOT 2
- Support nullable types in DB schema HOT 3
- Question about pointer semantic HOT 1
- Question about logger HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from service.