Use case
To integrate HP WallArt Platform API in a web site we will follow a use case in which the final user can choose elements to integrate (backgrounds and objects). The following steps are taken by the final user:
- Choose in the E-commerce site the images for backgrounds and objects. These objects can be owned by the web service integrating or be an external asset, like hosted in Fotolia, BigStockPhoto, etc.
- Create an account in the integrating web site with login and password
- Access designer of HP WallArt with all these elements
- Customize the project in designer. Two options:
- Save the project for further edition.
- Purchase the product in the ecommerce site, with its own shopping cart.
- Receive the purchased product at home and install it.
The communication between E-commerce site and HP WallArt designer can be done by an API with the OAUTH library for PHP:
https://code.google.com/p/oauth-php/