-
Notifications
You must be signed in to change notification settings - Fork 92
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.
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)
Adobe Stock Integration modules can be divided:
In 3 layers based on the depth:
- Presentation layer (
UI
suffix modules) - contain only what's needed for the UI - API layer (
Api
suffix modules) - contain only the interfaces - 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
- Image (implementation for specific asset type)
- Asset (all functionality related to Adobe Stock assets in general)
- Client (basement, the module establishing the connection between Magento code and Adobe Stock SDK code)