P
P
propovednik2011-06-11 10:06:27
PHP
propovednik, 2011-06-11 10:06:27

PHP + 1C integration. What to read?

For small and rarely updated stores, I always used the scheme “The customer exports to Excel -> Uploads to the site-> The plate is broken, updates the information in the database via mysql queries”.
Now I would like to learn more complete and humane integration (accounting for leftovers, constant updates without the need to export and upload to the site, etc.). But I can’t find information about this, okay, there are no tutorial articles, but even all the components of online stores are paid and you won’t be able to look at the source either.
I ask someone to share materials on this topic (1C database structure, data exchange, hello-world examples, etc.). Thanks in advance.

Answer the question

In order to leave comments, you need to log in

9 answer(s)
L
Lico, 2011-06-11
@propovednik

v8.1c.ru/edi/edi_stnd/131/

A
Anton, 2011-06-11
@sHinE

1C seems to have a special exchange format - CommerceML. Read about him.

M
mrsender, 2011-06-11
@mrspender

My opinion is that they did everything so that either no one figured it out, or only a few, spending a lot of time guessing on the coffee grounds.
Still, sales of 1C-Bitrix are much more important than the affairs of competing programmers.

S
Sb0y, 2011-06-11
@Sb0y

I somehow had to do integration with 1C on a small PHP project. It was necessary to solve the problem quickly, so I chose the shortest path. 1C uploads an xml file with a product catalog to the network server, autofs is installed on the web server, which mounts the cifs-share and php script, using the simplexml extension, it parses 1C's xml. It works fast enough - now there are about 8,000 titles in the catalog, with pictures, but I still rewrote this script in C ++ so that there was a performance reserve for the future.

J
jimmy_webs, 2011-06-11
@jimmy_webs

Another option for web services should be considered if I understand what it is about.

I
impass, 2011-06-16
@impass

it is better to export to XML, if possible
, there are more than enough tools for working with it in PHP, incl. you can immediately use XSLT to convert data into neat (X)HTML code

R
rtzra, 2011-06-17
@rtzra

The option to immediately write from 1C to the database (you obviously have MySQL there) is not considered?

B
Big_Shark, 2011-06-17
@Big_Shark

We did integration via SOAP, when adding or changing any item, a SOAP request is sent to me. Also, I make a SOAP request when ordering a product.

V
Vorchun, 2011-06-17
@Vorchun

1c.1c-bitrix.ru/ There is an add-on to 1C. Everything works through CML2. Links to the description of the format have already been given. On the forum 1C other information

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question