What is the value of multiple Hybris extensions?

629 views Asked by At

This is a question about web based software architecture. I am a Hybris newbie, but as I understand it, you can create a full Spring MVC app in one Hybris extension. What is the value of breaking out components of that app into multiple Hybris extensions? Are there web app features or architectural value (e.g. maintainability, extensibility, performance, etc...) that you can only realize by using multiple extensions?

Thanks!

1

There are 1 answers

2
Grinch91 On

So Hybris is based on the concept of being flexible and modular, allowing new functionality to be plugged in where needed via extensions. An extensions is an encapsulated piece of the Hybris Suite that can contain whatever you need it to contain, I.E. storefront, hMC, backoffice, etc. By default extensions are completely independent, however you can create dependencies between extensions no problem.

Say you're building an application that you want to have a section in the hMC, a frontend and some functionality in the backoffice too. In general you would have 4 extensions here:

  • a core extension for the model, services, interceptors, etc
  • hMC extension
  • frontend extension, pluggable frontend
  • backoffice extension

The real value of extensions is they allow hybris to be flexible and modular allowing for easy migration from one version of hybris to another.