Answer the question
In order to leave comments, you need to log in
PHP and fast database in files
Hello.
There is a PHP project that requires data storage and a fast insert/select method.
What options do you recommend?
Options with external modules ala sqlite are not suitable - hosting has a clear restriction on the minimum set of external php modules. Ideally, there should be a class that you can use in your project to work with such a database.
Answer the question
In order to leave comments, you need to log in
Hello.
I advise you to find hosting with mysql and use it.
mysql, for convenient and secure use, you can use godb pyha.ru/go/godb/
Apparently, for some reason you are not satisfied with mysql and for some reason you want to take a steam bath with the files yourself.
Outline those reasons first.
Much depends on the project. Do you need complex selections, is the base large, etc. For example, I work with small stores linked to an affiliate program. There are no more than 1000 products. A serialized array of products and categories stored in a file is quite enough for me. If the volume is large, look towards MooSQL , but it does not seem to be developed and is very limited in functionality.
Again. MySQL is not suitable. You need the ability to keep the subd in the project folder and transfer the project by simple copying. There are no root rights.
Is the customer competent in the matter and knows what he wants, or did he just hear somewhere that there are hostings without databases?
I already wrote: the customer asks for a traffic distribution system without MySQL. An important point of the TOR is the transfer of TDS by simple copying. Mirror gave a link to the correct work with the file data structure, which is more than enough to do everything on his own.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question