This article discusses the foundational code construct called Domain Primitive. Domain Primitives are the smallest building block in your domain model, and a key concept to understand for creating code that is Secure by Design. If you want to, you can save 37% off Secure by Design with code fccsecure at manning.com. |
Showing posts with label Secure by Design. Show all posts
Showing posts with label Secure by Design. Show all posts
September 21, 2017
Domain Primitives - the key to creating secure code
This article is an excerpt of topics discussed in the book Secure by Design that I'm currently writing together with Dan Bergh-Johnsson and Daniel Deogun.
May 9, 2017
Entities and Security: identity matters
This article is an excerpt of topics discussed in the book Secure by Design that I'm currently writing together with Dan Bergh-Johnsson and Daniel Deogun.
This article discusses the properties of the model objects known as entities and how they function inside the domain model. Knowing about fundamental Domain Driven Design (DDD) concepts such as entities is a great way to start your Secure by Design journey – here is what you need to know to be ready to dive in. If you want to, you can save 37% off Secure by Design with code fccsecure at manning.com. |
Entities
Each part of your domain model has certain characteristics and a certain meaning. Entities are one type of model object with distinct properties. What makes an entity special is that:- It has an identity that defines it and makes it distinguishable from others.
- It has an identity which is consistent during its lifecycle.
- It can contain other objects, such as other entities or value objects.
- It’s responsible for the coordination of operations on the objects it owns.
Labels:
DDD,
Domain-Driven Design,
Entities,
Secure by Design,
Security,
Software Security
Subscribe to:
Posts (Atom)