Skip to main content
  • Book
  • © 2021

Domain-Driven Laravel

Learn to Implement Domain-Driven Design Using Laravel

Apress

Authors:

  • Presents a means of achieving a domain-driven design via a standard Laravel application

  • Flattens the learning curve by providing real techniques and valuable first-hand insight

  • Build web applications in any domain using a fast and effective approach

Buy it now

Buying options

eBook USD 49.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 64.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (19 chapters)

  1. Front Matter

    Pages i-xvii
  2. An Odd Combination

    1. Front Matter

      Pages 1-1
    2. Laying the Foundation

      • Jesse Griffin
      Pages 3-28
    3. Foundational Bootcamp

      • Jesse Griffin
      Pages 29-54
    4. Domain-Driven What?

      • Jesse Griffin
      Pages 55-96
    5. Introduction to Laravel

      • Jesse Griffin
      Pages 97-159
    6. Advanced Laravel

      • Jesse Griffin
      Pages 161-191
    7. Architecting a Claim Processing System

      • Jesse Griffin
      Pages 193-220
    8. Modeling and Implementing the Domain

      • Jesse Griffin
      Pages 221-235
    9. Modularizing Laravel

      • Jesse Griffin
      Pages 237-284
  3. A Domain-Driven Approach

    1. Front Matter

      Pages 285-285
    2. A Domain-Driven Approach to Claim Submission

      • Jesse Griffin
      Pages 287-312
    3. A Domain-Driven Approach to Claim Validation

      • Jesse Griffin
      Pages 313-345
    4. Context Maps

      • Jesse Griffin
      Pages 347-361
  4. Technical Aspects of DDD

    1. Front Matter

      Pages 363-363
    2. DTOs, Entities, and Value Objects

      • Jesse Griffin
      Pages 365-408
    3. Domain Events

      • Jesse Griffin
      Pages 409-437
    4. Repositories

      • Jesse Griffin
      Pages 439-470
    5. Factories and Aggregates

      • Jesse Griffin
      Pages 471-498
    6. Services

      • Jesse Griffin
      Pages 499-518

About this book

Map concepts and ideas in domain-driven design (DDD) and transpose them into clean, testable, and quality code that is effective alongside the Laravel framework. This book teaches you how to implement the concepts and patterns present in DDD in the real world as a complete web application. With these tactics and concepts in place, you'll engage in a variety of example applications, built from the ground up, and taken directly from real-world domains.

Begin by reviewing foundational stepping stones (with small, manageable examples to show proof of concepts as well as illustrations to conceptualize the more complex topics) of both DDD and Laravel. Specifically, such topics as entities, value objects, developing an ubiquitous language, DTOs, and knowledge discovery. Next, you will dive into some more advanced topics of DDD and use these concepts as a guide to make customizations to the default Laravel installation, giving you an understanding of why these alterations are vital to the DDD and Laravel platform. Finally, you will cover the very powerful Eloquent ORM that comes stock with Laravel and understand how it can be utilized to represent entities, handle repositories, and support domain events. 

Although there is a basic coverage chapter and a setup tutorial for Laravel (along with a high level intro about the components used within it), Domain-Driven Laravel is best suited to readers who have been at least exposed to the framework and have had the opportunity to tinker around with it.

What You'll Learn

  • Utilize a blazing-fast rapid development pipeline built from DDD building blocks and facilitated with Laravel
  • Implement value objects, repositories, entities, anti-corruption layers and others using Laravel as a web framework
  • Apply enhanced techniques for quick prototyping of complex requirements and quality results using an iterative and focused approach 
  • Create a base framework (Laravel) that can serve as a template to start off any project
  • Gain insight on which details are important to a project’s success and how to acquire the necessary knowledge 

Who This Book Is For

Ideal for for frontend/backend web developers, devops engineers, Laravel framework lovers and PHP developers hoping to learn more about either Domain Driven Design or the possibilities with the Laravel framework. Those with a working knowledge of plain PHP can also gain value from reading this book. 

Authors and Affiliations

  • Spring Valley, USA

    Jesse Griffin

About the author

Jesse Griffin is a seasoned Laravel and Symfony developer who specializes in building e-commerce systems as well as add-ons for a variety of purposes and platforms related to shipping, packaging, warehouse management, inventory control, barcode systems, asset management/tracking, customer tracking as well as statistics and reporting. He has over 10 years of professional web application development experience and holds a bachelor's degree in computer science, although he’s been programming since he was 9 years old. 

Bibliographic Information

  • Book Title: Domain-Driven Laravel

  • Book Subtitle: Learn to Implement Domain-Driven Design Using Laravel

  • Authors: Jesse Griffin

  • DOI: https://doi.org/10.1007/978-1-4842-6023-4

  • Publisher: Apress Berkeley, CA

  • eBook Packages: Professional and Applied Computing, Professional and Applied Computing (R0), Apress Access Books

  • Copyright Information: Jesse Griffin 2021

  • Softcover ISBN: 978-1-4842-6022-7Published: 28 October 2020

  • eBook ISBN: 978-1-4842-6023-4Published: 27 October 2020

  • Edition Number: 1

  • Number of Pages: XVII, 616

  • Number of Illustrations: 78 b/w illustrations

  • Topics: Web Development

Buy it now

Buying options

eBook USD 49.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 64.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access