Notifications
Clear all
Topic starter
In a store, stock items are synced from an internal database that is configured on a separate server. Store owner decided to use a third-party remote inventory management system called OrangeCompany because it can provide more features like web API, multi-warehouse, order fulfillment, etc.
What should be the module design pattern to connect the store with remote system OrangeCompany, keeping upgradability in mind?
- A . Use service contract design pattern, and create webapi.xml file to configure API endpoints.
B. Use singleton design pattern and create webapi.xml file to configure API endpoints.
C. Use ORM design pattern and create model, resourcemodel and collection to save data in the store, then create REST API call using curl to connect with API endpoint.
D. All of these.
Suggested Answer: A
Posted : 31/01/2023 6:29 am