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
249 Views Asked by MJK At
1
There are 1 best solutions below
Related Questions in ARCHITECTURE
- Is it recommended to use Node.js for an online room booking web application?
- Defining Callbacks for custom Javascript Functions
- iOS: app doesn't pass the upload for the architecture
- What is the value of multiple Hybris extensions?
- os kern error : "ld: symbol(s) not found for architecture x86_64"
- How to avoid context in business layer
- Libgdx: Objects creating other objects
- Do software engineers in general have no idea about Software Architecture Design?
- Java generic class that contains an instance of implementation of generic interface
- Web application architecture, N-tiers, 3 tiers or multi-layer
- Is having 3 layers Controller, BO and DAO a standard way? why not just Controller and DAO?
- Architecture for creating a JavaScript framework
- Symfony2 proper use for services
- Refactor some calls on each Zf2 controller action
- Architecture - Task Scheduling (Data File Processing) - Windows Service
Related Questions in DOMAIN-DRIVEN-DESIGN
- Should i take DateTime.Now from Database?
- How to avoid anemic data model? Can repositories be injected into entities?
- Defining aggregate roots when invariants exist within a list
- Is it okay to create a DTO counterpart of a table in a database assuming its persistent ignorant domain model and the DTO is in the repository?
- Should i do authorization on my Domain Services?
- Should i validate if related entity exists before insert?
- Using framework event dispatcher to raise domain event
- How to temporarily circumvent domain object's creation contracts when restoring application from backup?
- Domain Driven Design for Rails App: Implementing a service in a basic example
- DDD\CQRS\Event Sourcing and request historical data
- Is it possible to properly use DDD with all building blocks in monolith application?
- Replicate property size from domain to fluent api and viewmodel
- DDD aware of existance of an entity outside the context?
- Is there a way to access a private property in a where clause?
- Should I unite business domains into one business layer
Related Questions in POCO
- MVC5 Scaffolding Dropdowns Out the Box
- POCO C++ SAX parser: If the xml document encoding is ANSI then next statement is not reading and throwing encoding error exception
- persistence ignorance with ASP.NET identity framework and EF code first
- SQL search strings every possible way
- Table-per-type inheritance with the Entity Framework Reverse POCO Generator
- How to set custom name of ICollection property in automatically generated POCO entity, using Entity Framework
- Deserialize nested JSON Response with RestSharp Client
- Poco AsyncChannel does not exit on forked process exit
- Live555 client streaming memory leak
- "No such file/directory" for each include when using POCO E-Mail
- Visual Studio 2013 - C++ Errors
- What's an example of an object that is NOT a POCO, and why isn't it a POCO?
- Suggestion on Model Design
- Problems linking to POCO libraries in ARM Linux crosscompile environment
- Poco::WindowsConsoleChannel doesn't show a console in VS2008
Related Questions in ANEMIC-DOMAIN-MODEL
- Rich domain model. Anti anemic domain model
- Should you use Entity Beans for Domain Model
- Is this a proper implementation of n-layer architecture?
- Is this considered as procedural programming (or anemic pattern)?
- How Single Responsibility Principle relates to anemic/rich domain model?
- Scala, Spring and ActiveRecord with decoupled persistence
- how to avoid anemic domain model?
- anemic domain model versus domain model
- Can I use a rich domain model with WCF?
- Architecture downside of putting service reference inside domain model? (java)
- From anemic domain to domain driven
- Entity Framework - Persistence Model different from Domain Model
- How to make the best of an Anemic Domain Model given no other choice
- Are DTO anemic model/anemic value object?
- Effort to enhance
Related Questions in RICH-DOMAIN-MODEL
- Unit Testing Rich Domain Model
- Using app-level settings in rich domain models
- Entity Framework - Persistence Model different from Domain Model
- Is there a elegant way of putting domain validations inside domain layer?
- How to properly build rich domain models
- How to handle Persistence with Rich Domain Model
- Persistence and Domain layers separation within a Rich Domain Model application
- Error in form POST: Model bound complex types must not be abstract or value types and must have a parameterless constructor
- Understanding rich domain models and dependencies
- Rich vs Anemic Domain Model
- Unable to resolve service for type 'System.Int32'
- What if value needs to be corrected?
- Domain driven design: How to deal with complex models with a lot of data fields?
- Unity Of Work + Rich domain
- How to set business logic that require data from DB in Domain Driven Design
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 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.