Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Ubiquitous Language as a Driving Force of the P...

Marek Matulka
September 18, 2014

Ubiquitous Language as a Driving Force of the Project

Short talk about combining BDD and DDD together using ubiquitous language as a driving force for both communication and code.

https://www.youtube.com/watch?v=g0SDY4MuFWE

Marek Matulka

September 18, 2014
Tweet

More Decks by Marek Matulka

Other Decks in Programming

Transcript

  1. Domain code example { "require": { "mopa/bootstrap-bundle": "1.0" } }

    class Order { ... public function approveByRetailBuyer(RetailBuyer $buyer) { $this->approvedByRetailBuyer = $buyer; $this->status = OrderStatus::forApproval(); $this->attachOrderUpdate(OrderUpdateType::approved()); $this->wasEdited(); } }