Course of Hexagonal Architecture

Javier FerrerRafa Gómez

By Javier Ferrer y Rafa Gómez Software Design and Architecture

Domain-Driven Design relies on Hexagonal Architecture as one of its technical pillars. Learn how to implement it with CodelyTV!

💸 First lesson available without registration!

When we need our Software Architecture to allow continued growth without our system becoming chaotic, we must have the rules of the game clearly defined.

Hexagonal Architecture helps us precisely in that regard; it defines a series of constraints that assist us in terms of maintainability, modifiability, testability, and scalability of code.

What we will cover in this course:

  • What is Hexagonal Architecture. Brief introduction to concepts such as its layers and dependency rule
  • Ports and Adapters or Dependency Inversion Principle. We will revisit some SOLID principles on which the architecture is built
  • Modeling our domain and publishing events. We will see some examples of how we model the core layer of our architecture, the glorious domain 🙂
  • Application Services vs. Domain Services. We will directly tackle one aspect that generated a lot of doubts for us and explain how we approach it today.
  • Testing! One of the main benefits of Hexagonal Architecture (or DIP) is that it greatly facilitates the testing of our application. We will see in several lessons how we define our testing strategy and some examples of it.

This course is agnostic of the programming language; however, to avoid remaining in pure theory, we will look at implementation examples in PHP and Scala.

This course delves into one of the aspects that is briefly touched upon in the CQRS course. Therefore, we recommend that you take this course first and then jump to the CQRS course.

Here is the course trailer to give you an idea of the content quality 😬

Related courses

See full catalogue

Pay according to your needs

lite (only monthly)

19 €
per month
  • Access to a subset of courses to lay the foundation for maintainable, scalable, and testable code
  • Company invoice
Popular

standard

24,92 €
Save 121
Annual payment of 299
per month
  • Full course catalog
  • Design and architecture challenges
  • Highlighted solutions videos for challenges
  • Receive job offers verified by Codely
  • Company invoice

premium

41,58 €
Save 89
Annual payment of 499
per month
  • Everything above
  • More benefits coming soon

We won’t increase the price while your subscription is active