A
A
Adik Izat2020-08-22 10:21:59
PHP
Adik Izat, 2020-08-22 10:21:59

Which way to dig when developing an online store on the OOP PHP framework integrated with 1C?

Dobrechka to all forum users! I am writing to you with an urgent need. For a very close person, you need to make an online store. I'm a PHP junior and currently out of work, so I'd like to jump on this project.

All his bookkeeping is done in 1C. I have a microframework (bicycle) that I wrote myself and know how to "take it apart piece by piece". The catch is that, in principle, I don’t have a sufficient idea of ​​\u200b\u200bhow 1C works, I just know that this is a kind of database like MySQL only in Russian and with its own interface. There are more than 1000 products in the database, so I consider integration to be necessary rather than maintaining two separate databases. The site will have instant payment by card, so integration is needed from the nose.

Questions that concern me now:
1) How to install 1C-ku for free? Do I need to request any licenses, keys, etc.?
2) Is it important where should I install 1C if I place the site on my hosting and plan to exchange data with the database? Do I need to rent a separate server for it? (Hosting does not allow you to use the terminal and remotely connect to hosting databases, for example, through WorkBench)
3) I read about 1c_exchange.php, it seems to be clear how it works (how data is exchanged, etc.) and rewrite the script in a separate class, I think is it possible or is it not?

To upload his database to my 1C, I need to ask him for a .dt file, which he will receive after uploading and import it for myself. Working with the API itself will most likely take time, but still I think I can do it. It is the question of how all this is done that worries me: how to properly organize the connection between the site and the 1c database?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Konstantin, 2020-08-23
@JaxAdam


1. here at your discretion) a license is better, of course, but ... in most cases, the initiator of the exchange is 1s. It transmits data or the initiator of some actions on the site.
3. these are your fantasies and abilities.
For the test, you can use the demo.

D
Denis Melnikov, 2020-08-22
@Mi11er

The connection between 1s and anything is configured like any other connection.
Namely
REST API, and it is possible in both directions.
Files ( txt, csv , json, XML)
The choice is yours

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question