Reputation
1,931
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
1 9 13
Newest
 Yearling
Impact
~136k people reached

  • 0 posts edited
  • 1 helpful flag
  • 26 votes cast
Jun
6
awarded  Yearling
May
28
comment Storing values in SQL whose types are determined in runtime
This sounds like an inner-platform effect problem. Depending on the details, consider allowing the GUI to execute ALTER TABLE statements (with certain limits, of course) and add fields to the actual table.
May
28
comment Identifier vs domain object as a method parameter
Could you edit your question with a bit more context? It's not clear what othe scenario is. I'm going to guess that you're talking about objects which are managed by an ORM system (like Hibernate) and that by "mini-class" you mean a lazy-loading proxy-object.
Apr
17
awarded  Guru
Oct
30
comment DDD: storing additional data with the model
It this a SaaS thing? Are you trying to support multiple totally-independent customers with the same domain?
Oct
30
comment DDD: placement of method whose behavior may be implemented with single database query
Perhaps there's a new concept to unearth here. Do libraries have "Book Visibility Policies"?
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?