Modelling by Example is a set of practices that combine BDD (Behaviour Driven Development) and DDD (Domain Driven Design) techniques to create a workflow that directly drives code from a starting point of user requirements. We will see how a simple feature can be defined via conversation with stakeholders, captured as automatable requirements, and expressed directly in the object model using tools such as Behat and PhpSpec.

Comments

Comments are closed.

Rated 5

Brad Bird at 14:34 on 17 Feb 2017

Awesome talk. Heard about BDD and the Cucumber stuff before but this has really made me want to incorporate it into projects now.

Thanks for the talk Ciaran, I found the OO examples particularly useful. I already used Behat but actually doing it like TDD - from the tests first, changed my mindset a bit. There's always one talk at a conference that I go away learning something decent from and I believe this was the one for me at PHP UK :-)

Rated 5

David Yell at 14:47 on 17 Feb 2017

Incredibly coherent and organised talk with a super example running through the session.

Rated 5

Davo Smith at 20:29 on 17 Feb 2017

Great talk with so many helpful examples that I'm going to have to re-read the slides a few times to make sure I've taken it all in.

Extremely well delivered talk, calm and collected speaker. The BDD & DDD connection with the examples showing you can use Behat examples with proper Domain language in the scenarios and using that to then dive deeper into Unit Tests meant that this approach covered all the necessary topics for a successful project. Something that definitely inspires me to want to use this approach. Thank you Ciaran.

Rated 5

Jakub Zalas at 08:55 on 20 Feb 2017

Very good, calm delivery and engaging at the same time. Great as always :)

You can tell Ciaran is an experienced trainer - just the right level of material for the crowd, presenting confidently at exactly the right pace. Still reckon it should be called BDDDD though...

Rated 5

Ayan Ozturk at 09:45 on 21 Feb 2017

excellent talk. thank you.

Rated 5

Luis Lopes at 16:02 on 24 Feb 2017

Another very well organised and helpful talk from Ciaran. :+1: Thank you.

Rated 5

Greg Bell at 07:16 on 21 Apr 2017

I've been using a methodology, including the wonderful Behat and PHPspec, that's very close to this, and I've been very happy with it. Thanks for the carefully considered presentation, great advice and tips Ciaran.