Skip to content

Modules

Sergii Ivashchenko edited this page Sep 22, 2019 · 14 revisions

Magento Adobe Stock Integration modules are provided via metapackage that contain Api, Implementation and Ui modules.

Modules by packages

The implementation of Adobe Stock Integration contains delivery to the main magento/adobe-stock-integration package as well as extracting reusable functionality to magento/magento2 and authentication and user profile related code to magento/adobe-ims module. We also interact with adobe/stock-api-libphp repository (astock/stock-api-libphp package)

Modules structure

Modules by layer

Adobe Stock Integration modules can be divided:

In 3 layers based on the depth:

  1. Presentation layer (UI suffix modules) - contain only what's needed for the UI
  2. API layer (Api suffix modules) - contain only the interfaces
  3. Implementation layer (all other modules) - the core, containing the Api modules implementation

In 3 layers based on how specific to particular Adobe Stock feature the module is

  1. Image (implementation for specific asset type)
  2. Asset (all functionality related to Adobe Stock assets in general)
  3. Client (basement, the module establishing the connection between Magento code and Adobe Stock SDK code)

Modules structure

Clone this wiki locally