A
A
alexvis2020-02-14 08:34:46
C++ / C#
alexvis, 2020-02-14 08:34:46

How to organize work with databases in a C++ application?

There is a prototype application in QT and C ++ to take into account the tasks of a technical support specialist. In fact, the data is stored there while the application is running. It is proposed to deploy a MariaDB database on the server and write to it. But I doubt that it makes sense, because the application is used by 1 person. How can you imagine data storage? Or is it better to use SQL right away? If the modified prototype suits the authorities, other specialists will also use it.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Korotenko, 2020-02-14
@alexvis

Use MariaDB and any ORM. You yourself said if you like it, it will go into the series.
Another question is why a desktop and not a web application.
And most importantly, why write YATS 100500 times? There are literally thousands of them on the market.

A
Andrew, 2020-02-14
@deepblack

It is proposed to deploy a MariaDB database on the server and write to it. But I doubt that it makes sense, because the application is used by 1 person.

If you don't want to bother with a database server, then use SQLite with ORM , then if you need to migrate to PostgreSQL or MariaDB.
But I think it's better to use a normal DBMS right away.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question