1,723 reputation
1713
bio website
location
age
visits member for 3 years, 4 months
seen Oct 15 at 18:23

Oct
15
answered Do objects with validation logic in their domain really represent their real world counterparts?
Aug
8
comment What does 'stage' mean in git?
Ditto. Also, "a point, period, or step in a process or development."
Aug
8
answered PHP class data implementation
Jul
30
comment Phone Number based Login
How do you tell the difference between an accidental collision and an intentional match? If I'm on vacation in Germany, and I enter my US local phone number which happens to match the German local phone number of another user...
Jul
30
revised Phone Number based Login
added 211 characters in body
Jul
30
revised Phone Number based Login
added 211 characters in body
Jul
30
answered Phone Number based Login
Jul
17
answered Where to put format validation in a CQRS “stylish” domain model?
Jun
6
awarded  Yearling
May
23
comment How does a search functionality fit in DDD with CQRS?
I was thinking more about classes like CalendarEventSpecification, which could be both part of a searching scheme and also part of some business rules.
May
22
comment How does a search functionality fit in DDD with CQRS?
The first question to answer is whether your search-tools (especially if they are complex) should be part of the same domain, or whether it needs to have its own separate one. One reason to merge them might be if the same kinds of specification used for searching also be used to accomplish certain business rules. In other words, how heavy-weight is this search feature?
May
13
revised How to debug weak references?
Added section on subclassing
May
13
comment How to debug weak references?
SoftReference does not guarantee data about the object is still available. The Weak/Soft distinction is about performance, not about correctness. If you absolutely need data about the object that has been queued for garbage-collection, you need to handle that in some other way.
May
13
comment How to debug weak references?
@Neil Don't you mean the reverse? Why would you bother using a ReferenceQueue for a single reference?
May
12
revised How to debug weak references?
added 79 characters in body
May
12
answered How to debug weak references?
May
7
comment In event sourcing, is it ok to introduce a dependency in my message class?
Also, in large systems, it's quite possible that your events will need to be consumed by another piece of software on another computer running a completely different language. Another good reason why events should be pure immutable data-holders.
May
6
comment How Add/Create* commands should be handled in CQRS + Event Sourcing architecture
I suspect Udi's post-title is misleading. IMHO it sounds like his real objective is that freshly-made ARs should always be reachable from some other place, in a way that captures context about why/how/who decided that the new AR needed to be created. Everything else is about how a particular implementation (NHibernate?) could make it easier to manage.
May
4
comment How to unit-test for PHP implicit conversion errors?
Could you detail the kind of testing you have in mind? Ideally whatever code consumes the POST data would have its own validation logic.
Mar
24
awarded  Nice Answer