What is the difference in expanding and adding to Hybris

I believe that the default value Extensioncan encapsulate business logic, type definitions, configurations, and additions.

I know that is Add Onalso a type Extensionsthat extends normal extensions.

I also know that Add Ons Extend Functionality, without touching the CODE base.

Any inputs from Hybris experts are highly appreciated.

+4
source share
3 answers

An extension is an encapsulated piece of Hybris Commerce Suite that can contain business logic, type definitions, a web application, or the configuration of a Hybris Management Console (hMC).

Hybris , , yempty, yaddon, ycockpit, ybackoffice ycommercewebservices.

Addon , Accelerator StoreFront. , , CMS , , - .

, . , , .

ant addoninstall -Daddonnames="customaddon"  -DaddonStorefront.yacceleratorstorefront="customstorefront"

customstorefront customaddon storeinfo extensioninfo.xml, web- spring.xml, customaddon project.properties. - .

ant all , JSP customstorefront /web/webroot/WEB-INF/views/addons/customaddon/desktop/cms.

, .

+5

. ( ant modulegen) . , . ( ), (-), ( ) ..

, - . - . , , , .

, ,...

Thus, Addon will be the best choice, because it is convenient and can fulfill any required role. (for example, it has * -items.xml for adding or changing Hybris types, you can write controllers for display windows, you can write your own services or facades or cms component). I hope you find this helpful.

+1
source

Source: https://habr.com/ru/post/1613019/


All Articles