Learn PHP the right way: http://www.phptherightway.com

twitter: @songoko20000

Jan
27
awarded Good Question
Jan
24
awarded Constituent
Jan
23
awarded Popular Question
Jan
19
awarded Caucus
Jan
16
asked Integration between services in a SOA
Jan
12
awarded Yearling
Jan
12
awarded Yearling
Jan
2
awarded Critic
Dec
17
comment Maximum nesting for loops and conditionals?
+1 for Clean code reference.
Dec
15
awarded Caucus
Dec
10
awarded Famous Question
Dec
8
awarded Popular Question
Dec
5
awarded Popular Question
Dec
4
awarded Notable Question
Nov
26
awarded Yearling
Nov
26
awarded Nice Question
Nov
26
awarded Yearling
Nov
16
accepted Why does time flow differently on Miller's planet?
Nov
14
asked Why does time flow differently on Miller's planet?
Nov
12
comment DDD and edit of Aggregate's descendants
well it depends :) Validation is a nasty topic which depends on the context. Why are you validating the order? Normally I would validate the aggregate in the constructor or in a dedicated factory class if the validation logic is complex enough. A validator is a service which may change implementation at some time and I hate injecting service s inside entities. It all depends on the complexity of the validation.
1 2 3 4 5