Creating the Twitter Follower Model using Doctrine

A very common requirement of social consumer web applications is the ability for users to “follow” other users. This is typically in the form of Twitter’s follower model where a user can follow another user without reciprocation. This social functionality has become such a common aspect of consumer web applications that new applications are almost […]

Continue reading...

Design Inspiration #164

Design Inspiration from Nubank, Chickenbot, Circles Company, Robin and Swipes! Design Inspiration is a weekly post that showcases examples of some of the best new web design from around the internet. Nubank https://www.nubank.com.br Chickenbot http://www.chickenbot.it Circles Company http://circlesco.com Robin https://robinpowered.com Swipes http://swipesapp.com

Continue reading...

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...

Supported by