great book, I enjoyed it very much! Looking forward to reading the missing 40%.
I found a couple of typos, however.
3.4.5 Replaceability
If Carlos then changes the month in his hire date to May, Christian’s hire date changes totoo.
3.4.6 Side-Effect-Free Behaviour
Code free of side-effects is easy to understand, easy to test and less error proneerror-prone.
3.5 Basic Types
Although $a and $b are different variables, stored low-level in different memory locationlocations...
3.7.1.1 Embedded Value with an ad-hoc ORM
However, everything is not as easy as it seems, let’s. Let's try to fetch the persisted Product with...
An Entity should be created with the new operator just once in its lifelifetime. (or lifecycle)
3.7.3.1 PostgreSQL and JSONB
Well, now you can, a _. As of PostgreSQL version 9.4**,**_ support for JSONB¹⁹ has been added.
3.8 Wrap-up
In order to handle persistence within ana DDD application...
4.1 Introduction
A person has always an identity and it’s always the same regarding it’stheir name, or
document identifier.
An order in an e-commerce system. In that context every new order created has it’sits own
identity and it’s the same over time
4.2 Objects vs Primitive t_T_ypes
Most of the time the identity of an entity it’sis represented as a primitive type
With value objects, equality operationoperations can be modelled and encapsulated on itsin their own classclasses, making concepts go from implicit to explicit.
4.5 Testing entities
private function __construct($anStatus)
4.6.1 Attribute Validation
Some people understand validation as the process where-bywhereby...
if (is_emptyempty($username)) {
4.7 Wrap-up
We’ve showedshown several ways of providing identity
Sometimes the I_i_dentity fits a domain concept an_d_ you could model it inside your domain
5.1 Introduction
Operate on onlyonly on types belonging to the domain
5.3 Domain Services
Throughout conversation_s_ with...
Domain services don’t hold any kind of state by itselfthemselves...
5.6 Anemic Domain Models vs Rich Domain Models
Or in the case to updateof updating an order amount
5.7 Wrap-up
As we’_'_ve seen
6.2.1 Short s_S_tory
6.7.1 Messaging
We’ll see _this_ in more detail this in the “Integrating Bounded Contexts” chapter.
7.1 Structuring Code in Modules
As Evans point onpoints out in the blue book, Modules are a way to communicate...
(The blue book probably referrers to Domain-Driven Design: Tackling Complexity in the Heart of Software?)
7.1.1 Modules in the Infrastructure Layer
...will rot fast and becomingbecome a mess...
7.1.1.1 Mixing Different Technologies
Our general advice here, is that this kind of situations are ana smell...
Hey guys,
great book, I enjoyed it very much! Looking forward to reading the missing 40%.
I found a couple of typos, however.
3.4.5 Replaceability
totoo.3.4.6 Side-Effect-Free Behaviour
error proneerror-prone.3.5 Basic Types
locationlocations...3.7.1.1 Embedded Value with an ad-hoc ORM
, let’s. Let's try to fetch the persisted Product with...lifelifetime. (or lifecycle)3.7.3.1 PostgreSQL and JSONB
, a_. As of PostgreSQL version 9.4**,**_ support for JSONB¹⁹ has been added.3.8 Wrap-up
ana DDD application...4.1 Introduction
it’stheir name, or document identifier.it’sits own identity and it’s the same over time4.2 Objects vs Primitive
t_T_ypesit’sis represented as a primitive typeoperationoperations can be modelled and encapsulatedon itsin their ownclassclasses, making concepts go from implicit to explicit.4.5 Testing entities
nStatus)4.6.1 Attribute Validation
where-bywhereby...is_emptyempty($username)) {4.7 Wrap-up
showedshown several ways of providing identityI_i_dentity fits a domain concept an_d_ you could model it inside your domain5.1 Introduction
on onlyonly on types belonging to the domain5.3 Domain Services
itselfthemselves...5.6 Anemic Domain Models vs Rich Domain Models
to updateof updating an order amount5.7 Wrap-up
’_'_ve seen6.2.1 Short
s_S_tory6.7.1 Messaging
thisin the “Integrating Bounded Contexts” chapter.7.1 Structuring Code in Modules
point onpoints out in the blue book, Modules are a way to communicate...(The blue book probably referrers to Domain-Driven Design: Tackling Complexity in the Heart of Software?)
7.1.1 Modules in the Infrastructure Layer
becomingbecome a mess...7.1.1.1 Mixing Different Technologies
ana smell...8.1 Introduction
,_._Keep up the good work! 👍