Failing Domain Rules and Validating User Input

An interesting predicament that all applications will face is, how do you validate incoming data, and how do you communicate errors back to the user interface? As we’ve seen over the last couple of weeks, we can encapsulate Domain related rules and logic inside of the Entities, Value Objects and Specifications of our application. These […]

Continue reading...

Design Inspiration #163

Design Inspiration from Rest, Boomerang, Q Ideas, Schnapps and Glassy Pro! Design Inspiration is a weekly post that showcases examples of some of the best new web design from around the internet. Rest https://getrest.co Boomerang http://www.weareboomerang.com Q Ideas http://qideas.org Schnapps http://schnappsformac.com Glassy Pro https://glassy.pro

Continue reading...

What is the Domain Model in Domain Driven Design?

If you have been following along with my Building Cribbb series you will probably already be aware of the fact that Domain Driven Design has a lot of terminology. To understand Domain Driven Design, you really need to understand the terminology. However, I often find that terminology in the absence of real world context is […]

Continue reading...

Creating and Using a Command Bus

There are three different layers to Domain Driven Design applications, each with their own roles and responsibilities within the application stack. Over the past couple of weeks we’ve been looking at mainly the Domain and Infrastructure layers of our applications. Whilst the Domain and Infrastructure layers are important, we are missing one important component of […]

Continue reading...

Design Inspiration #162

Design Inspiration from Zirtual, Simply Gum, Risotteria Melotti, IMM and Soundslice! Design Inspiration is a weekly post that showcases examples of some of the best new web design from around the internet. Zirtual https://www.zirtual.com Simply Gum http://www.simplygum.com Risotteria Melotti http://www.risotteriamelottinyc.com IMM http://imm.com Soundslice http://www.soundslice.com

Continue reading...

Implementing Domain Driven Design [Review]

Last week I wrote a review of Eric Evans’ Domain-driven Design: Tackling Complexity in the Heart of Software. Evans was the first person to coin the term Domain Driven Design and his book pioneered a new approach to application development. “The Blue Book” (as it is informally known) was one of the first to put […]

Continue reading...

Creating your own Domain Event Dispatcher

A couple of weeks ago we looked at implementing Domain Events. Domain Events form a crucial building block in Domain Driven Design by allowing us to effectively decouple our application using the Publish-subscribe pattern. Whilst the vast majority of the time I will be the first to advocate using an existing Open Source package, I […]

Continue reading...

Design Inspiration #161

Design Inspiration from Sharp & Savory, Dang & Blast, Bonobos, Divshot and Dragone! Design Inspiration is a weekly post that showcases examples of some of the best new web design from around the internet. Sharp & Savory http://www.sharpandsavory.com Dang and Blast http://www.dangblast.com Bonobos https://bonobos.com Divshot https://divshot.com Dragone http://dragone.com

Continue reading...

Building a Password Reminder Domain Service

Last week we looked at writing the registration component of Cribbb as a Domain Service. The registration process is going to be a very important part of Cribbb and so I decided to model it as a Domain Service. Registering new users into a new application is fairly straight forward and fits nicely into the […]

Continue reading...

Supported by