~/talk

Curing you Domain Model Anemia with Effective & Clean Tips from the Real World

Talkat Voxxed Days Singapore 2017 · on Friday, 2017-06-02· [software-architecture]
slides:none on file

Live coding shows a concrete DDD pattern: an OrderNumber value object that validates in its factory, an OrderItem embeddable stored via JPA ElementCollection, and an OrderItems wrapper returning ImmutableList to prevent external mutation. Code uses Guava utilities, Java 8 streams/functions and a JPA AttributeConverter to map custom types to DB columns. The claim is practical: push validation into constructors/factories, remove setters, fail fast to reduce NPEs, and add behaviors (discount/shipping) via an apply(Operation) pattern — the demo compiles and runs.

AI-written summary · about

  1. 0:00Introduction and background
  2. 3:52Software and domain mindset
  3. 10:47Domain-driven design concepts
  4. 15:34Live coding: Entities and values
  5. 34:06Encapsulation and API design
  6. 49:42Scaling and final thoughts
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.