Answer the question
In order to leave comments, you need to log in
Database or xml?
It's a product catalog. The catalog is uploaded to the server as an xml file.
There are products in the catalog, the product has properties, properties can be multiple (for example, color).
It was proposed to store catalog data in just 2 tables, as I understand it, in the form
id | product_xml_id | xmlNodeName
xmlNodeName_id | Value
id | product_xml_id | xml
id | product_xml_id | property1 | property2
id | product_id | colors
id | colors_id | sizes
Answer the question
In order to leave comments, you need to log in
There are no options. XML is a convenient format for exchanging information between fundamentally different systems (like 1C and a website, for example). This is where its advantages end, and it makes no sense to use it anywhere else.
As soon as it comes to constant data processing and the speed of this processing, it is naturally logical to do this with the help of databases specially designed for this purpose and polished for a long time better than any of your bikes.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question