Answer the question
In order to leave comments, you need to log in
What is the best way to make a REST API in conjunction with 1s 8.2?
Good afternoon! First encountered.
There is a base in 1s 8.2. It is necessary to make a REST API for integration with other services (Internet stores, etc.). I plan to do this:
1. Use RabbitMQ to transport data between 1s and the rest of the service.
2. To exchange with rabbitmq and 1c, create an external component.
3. To implement the REST API itself, use Yii2.
Now what the REST API should do:
1. Authorization (this is already clear).
2. Receiving data and processing accordingly i.e. if the data needs to be sent to 1s then transfer everything to rabbitmq.
2. Data transfer at the request of customers.
Make the client part in AngularJS and make all sorts of csv xml pdf on the client.
How correct and reliable (correct, convenient, or are there other easier ways) to implement?
Answer the question
In order to leave comments, you need to log in
What is your task? Do you need stability or just want to learn new technologies?
If you just need to connect the 1C database and the online store, then you need to do this using either the experience of exchanging with Bitrix in typical trading configurations, or connecting 1C to the site API, or connecting the site to API 1C. The more entities you introduce into the architecture of the future solution, the more "thin" places you will have and the more dependence on heterogeneous technologies:
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question