We are planning to developing a software following Domain Driven Design inspiring by the Red (EE) and Blue (VV) ddd books. The business is not that complicated. It is possible to avoid inheritances for all concrete classes. The goal is to feel the importance of Domain Model. So is it OK to use POCO classes which will be inherited from Entity? Or It will be better to create the domain model and use DTO or repository to transfer values to domain model?
POCO can be used as domain model
250 Views Asked by MJK At
1
There are 1 best solutions below
Related Questions in ARCHITECTURE
- Where to store secret token for an embeddable web widget?
- Separation of Students and Users in NestJS Microservice architecture
- What's the right ZMQ architecture for my scenario?
- Javers in microservice architecture
- How to prevent users from creating custom client apps?
- How to manage different repositories for different clients with the same project?
- Adding users file storage feature to my application
- Transform Load pipeline for a logs system: Apache Airflow or Kafka Connect?
- Shoulld I decode JWT only on auth server?
- How to stored last ~1500 events in Sorted Set in Redis
- Should data be standardized on the backend or the client (front-end, mobile app)?
- Can I treat CNN channels separately to make placement predictions?
- How to handle sync distributed transaction in microservices?
- Database design, authentication and authorization in a microservices ticketing system
- Is there any example or design of a queue system in microservices?
Related Questions in DOMAIN-DRIVEN-DESIGN
- How to use Interfaces in Domain Modelling DDD
- Domain driven design CQRS with multiple aggregates and bounded context
- Need more parameters in subclass overridden method
- Domain Driven Design: Aggregates Creating Aggregates
- How to deal with objects creation per request with high RPM node applications
- Async integration events needed sync
- In DDD where to handle interaction with external services that is part of business logic? In Domain Model or in Command Handler?
- How to split large time-related aggregates in DDD?
- One column with foreign key to multiple tables inf EntityFramework Core
- DDD & Clean Architecture: Why not define repositories in the application layer?
- Domain driven design: How to add a new database entry for an Aggregate?
- Integrate a versioning in aggregate
- when to pass args to the constructor of a service in ts?
- ASP.NET boilerplate module's dbcontext recreate abp main tables
- What's wrong with multiple entities in multiple bounded contexts pointing to the same identity?
Related Questions in POCO
- Poco HTTP upload file, HTTP header written in file
- C++ Poco ODBC issue with setting char type in sql
- c++ Poco::JSON::Array error in method stringify (Can not convert to std::string)
- Poco::Data::Session how create file database?
- How to get a POSIX formatted timezone string in c++
- Error Compile poco-lib 1.12.5 with make and arm cross-compiler arm-linux-g++
- Create a POCO from a model for a SendGrid template
- Swipe screen Xiaomi Poco 5X remotely
- Is there a way to reassign used SSL certificates without restarting the HTTPServer using C++ Poco?
- How to debug SignalR in order to find what prevent an instance of a class from being transfered from the server to a C# client (WPF here)
- Poco XML does not compile with XML_UNICODE_WCHAR_T - How to compile Poco C++ v1.12.4 to support Unicode
- Meson not detecting Poco
- Parsing Fhir json response into a simple object
- POCO http server with custom thread pool (to have custom, expensive thread data)
- Entity framework The 'Week' property could not be mapped to the database type 'JSONB' because database provider doesn't support mapping to 'JSONB'
Related Questions in ANEMIC-DOMAIN-MODEL
- Migrating from a database centered application to DDD based application
- Persistence and Domain layers separation within a Rich Domain Model application
- Adding business logic to JPA entities
- Is this considered as procedural programming (or anemic pattern)?
- Architecture downside of putting service reference inside domain model? (java)
- DDD vs Anemic Domain Model
- Entity Framework - Persistence Model different from Domain Model
- Application Architecture - User.CreatePost(Post) or PostsService.CreatePost(Post, User)?
- Are DTO anemic model/anemic value object?
- How to make the best of an Anemic Domain Model given no other choice
- anemic domain model in case of entity frameworks
- How to deal with updating Entity (CRUD) and Domain Events using DDD?
- Circular reference between the services using the Anemic domain model
- Role of services in domain driven design
- Effort to enhance
Related Questions in RICH-DOMAIN-MODEL
- Encapsulation in DDD
- Rich Domain Model entity being big because of too many methods
- How to properly build rich domain models
- Unable to resolve service for type 'System.Int32'
- Persistence and Domain layers separation within a Rich Domain Model application
- Is there a elegant way of putting domain validations inside domain layer?
- Error in form POST: Model bound complex types must not be abstract or value types and must have a parameterless constructor
- What if value needs to be corrected?
- Using app-level settings in rich domain models
- Entity Framework - Persistence Model different from Domain Model
- How to handle Persistence with Rich Domain Model
- Understanding rich domain models and dependencies
- Rich Domain Model and form mapping
- Unity Of Work + Rich domain
- Domain driven design: How to deal with complex models with a lot of data fields?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
If your goal is to "experience" DDD, then you should probably create domain objects instead of relying on Entities.
This is especially true if you are looking to extend any learnings from this process into other code bases that are more complex and can't take this shortcut.