Domain-Driven Design in PHP
Domain-Driven Design in PHP
$24.99
Minimum
$34.99
Suggested
Domain-Driven Design in PHP

This book is 100% complete

Completed on 2016-10-07

About the Book

Since 2012 and after two years reading and working with Domain-Driven Design approaches, in 2014, Christian and Carlos went to Berlin to get trained by Vaughn Vernon, author of "Implementing Domain-Driven Design" book. The training was fantastic, all the concepts that were going around on their minds up to that moment, got stuck into the ground in the 3 days IDDD workshop. However, they were the only two PHP developers there in a room full of Java and .NET. That was quite funny. On March, 2015, Vaughn Vernon was giving its workshop in Barcelona thanks to Christian and Carlos support.

Domain-Driven Design has arrived to the PHP community with lots of talk but no real code detailing how to implement Tactical DDD patterns or how to integrate Bounded Contexts with REST and/or messaging strategies. Without being in a Training session and no PHP real examples, learning DDD can be challenging.

Inspired by "Implementing Domain-Driven Design", aka, the Red Book of DDD, and "Domain-Driven Design: Tackling complexity in the Heart of Software" by Eric Evans, Carlos, Christian, and Keyvan show, with tons of details and examples, how to properly design Entities, Value Objects, Services, Domain Events, Aggregates, Factories, Repositories, Services and Application Services with PHP. They show how to apply Hexagonal Architecture within your application whether you use an open source framework or your own. They show how to integrate Bounded Contexts using REST frameworks and messaging strategies.

No theorical part, you are supposed to know the basic concepts of DDD in order to understand their implementations in PHP. Just code.

Tags: DDD, Doctrine, Redis, Silex, Symfony, RESTBundle, RabbitMQ, Hexagonal Architecture, CQRS.

About the Authors

Carlos Buenosvinos
Carlos Buenosvinos

PHP Extreme Programmer working as CTO at Atrapalo.com, board member of the PHP Barcelona User Group, Agile Coach, Valu’s father, and Vanessa’s husband. He has worked in ecommerce (Atrapalo.com and Ebay International), payment processing (Vendo), and classifieds (Emagister.com) platorms. He likes developing for mobile, Raspberry Pi, and games. Follow him on Twitter or GitHub.

Christian Soronellas
Christian Soronellas

Pasionate software developer. Software Journeyman and craftsman apprentice. Extreme Programmer soul. Over 10 years of experience in web development. Zend PHP 5.3 Certified Engineer. Zend Framework Certified Engineer. SensioLabs Certified Symfony Developer. He has worked as a freelance, at Privalia, Emagister, and currently is working as a Software Architect at Atrapalo.

Keyvan Akbary
Keyvan Akbary

Polyglot Developer. Loves fundamentals, Craftsmanship, XP, SOLID, Clean Code, OO Patterns and Testing. Casual functional explorer. He sees technology as a medium for providing value. He's worked as a contractor, VOD (Youzee), Online Marketplace (MyBuilder), founded a crowdfunding company (Funddy), currently working in FinTech as a Lead Developer in TransferWise.

About the Contributors

Edd Mann
Edd Mann

Addicted to software development, who loves to share the knowledge he learns with others. Enjoys exploring many areas of the field, ranging from algorithms to software architectural design. Co-hosts a weekly development podcast found at ThreeDevsandAMaybe.com. Has worked in an agency setting, freelance and now at MyBuilder.

Reader Testimonials

Raúl Araya (@nubeiro)
Raúl Araya (@nubeiro)

Lead Developer at NordPay Financial

Last part of the book should be called “developer p0rn”. I really enjoyed the contents. Looking forward to see it actually finished.

Axxon (@PhronimaAxxon)
Axxon (@PhronimaAxxon)

Coder and Musician

Thanks for that practical guide about EventStore in PHP. Just need to play with it now!

Paulo Victor (@Pv_Fusion)
Paulo Victor (@Pv_Fusion)

Open Source Developer

Currency and Money its great practical example on @dddbook #DDDinPHP

Ignacio Sánchez (@isholgueras)
Ignacio Sánchez (@isholgueras)

Front-end and Drupal Developer

I bought it yesterday, awesome book. Highly recommended! Thanks guys!

Tim Glabisch (@timglabisch)
Tim Glabisch (@timglabisch)

Developer at SensioLabs Deutschland

I bought it yesterday and read all the night. Awesome #book, every #php dev should read!

Fernando Arconada (@farconadaT3)
Fernando Arconada (@farconadaT3)

Author of “Testing for Symfony 2 Applications”

It's an awesome book

The Leanpub Unconditional, No Risk, 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms

Write and Publish on Leanpub

Authors and publishers use Leanpub to publish amazing in-progress and completed ebooks, just like this one. You can use Leanpub to write, publish and sell your book as well! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub