V
V
Vladimir Golub2015-12-30 08:41:20
1C
Vladimir Golub, 2015-12-30 08:41:20

Creating a site with a database for 1s instead of mysql?

Hello. I am a student. Sent to the company for practice. They were given the task to create a personal account for clients on the company's website. So that they can view their orders, their statuses, and so on. The enterprise uses 1s: enterprise 8.3. For example, a department manager launches a virtual machine with Windows on his PC, and works with 1s there. Previously, I developed sites, but all of them were linked to MySQL. After reading everything on the Internet, I realized that there is 1s Bitrix. Yes, it is available for the enterprise, although the version is not the one that can connect with 1C enterprise (cheaper). Where to start development? Are there any related materials? Thank you.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
T
thepry, 2015-12-30
@RazerVG

The best option is to create web services in 1C and access them from under php. 1C has long had SOAP services that work with XML, and 8.3.5 can already work with the REST interface. The platform can generate some of the methods itself.
A faster (if there is a person who knows 1C) and dangerous way is to use the 1C web interface, creating a special role for viewing and creating users for your clients. This is a more dangerous way, because. you can make a mistake and not restrict access to actions and data that you want to hide from the user. But on the other hand, you can use all the features of 1C: lists, forms.
You can also write direct queries to the DBMS if the database is server-based, but this is not at all the best practice.

M
Mikhail Lyalin, 2015-12-30
@mr_jok

1/ personal account on the site with 1C within the company is not connected in any way
2/ 1C Bitrix and 1C = habrahabr.ru/post/244727 and habrahabr.ru/post/246429

I
Ivan Prilepsky, 2015-12-30
@Prilepsky

What configuration is used?
1. Create a personal account in 1s on managed forms and publish it on a web server. Then, configure port forwarding, etc.
2. Write a web service in 1s and pull data from it that you will display on the site (and do the site as you please).

M
mergenich, 2015-12-30
@mergenich

1C can work through a browser. You can create a user with rights to view certain documents and publish the database on a web server. You don't even have to program: create a user, set permissions, set up a web server, and you're done.
You can exchange data with the site: 1C uploads data to an xml file and uploads it to the server, and the site already parses data from this file.
It’s easy to connect a user with a counterparty, but you need to clarify what “order status” means, and how to find out each of these statuses in 1C (these can be acts of work performed, payment orders, there can be completely different documents in CRM systems).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question