Domain Modeling is a programming approach in which real world entities, and the relationships between them, are described and modeled as a web of interconnected objects, thus collectively describing the problem domain space.
Have you ever struggled to place a method that seems like it belongs equally well in either of two different classes? In this screencast you'll learn an approach to resolve …
Use an obscure feature of Ruby integers to efficiently store large matrices of boolean data.
In this long-requested episode, guest chef Justin Weiss returns to teach you how to integrate the Whole Value pattern into Rails applications.
If you've done much Rails coding, you've probably heard the guideline: “skinny controller, fat model”. But achieving this can be easier said than done. Especially when your controllers are bloated with …
Learn how to model a system where an object may only exist in one collection at a time.
When is a Value Object not a Value Object?
Some domain concepts are easier to spot than others. Today we deal with one of most slippery concepts of all.
Having model attributes at different levels of abstraction can quickly complicate an application. In this episode, we'll level the playing field.
In this sequel to #430, we apply a powerful pattern for encapsulating problem values.
In which we examine some of the pitfalls of handling badly-formed user input for Whole Value fields.