I
I
iwfyb2011-01-03 18:45:46
PHP
iwfyb, 2011-01-03 18:45:46

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

13 answer(s)
I
Iskander Giniyatullin, 2011-01-03
@rednaxi

Hello.
I advise you to find hosting with mysql and use it.

S
SwampRunner, 2011-01-03
@SwampRunner

mysql, for convenient and secure use, you can use godb pyha.ru/go/godb/

D
Denis Safronov, 2011-01-03
@mcdb

filesDataStorage

G
gro, 2011-01-03
@gro

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.

S
Shvonder, 2011-01-03
@Shvonder

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.

H
Hizof, 2011-01-03
@Hizof

Have you looked at XML files?

I
iwfyb, 2011-01-03
@iwfyb

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.

H
homm, 2011-01-03
@homm

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
iwfyb, 2011-01-04
@iwfyb

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.

K
Khurshed Nurmatov, 2011-01-04
@Hoorsh

use fopen in that case :)

I
iwfyb, 2011-01-03
@iwfyb

what he asks should work on free hosting

I
impass, 2011-01-03
@impass

Is this for hosting doorways or what? :)

R
Ramzeska, 2011-01-04
@Ramzeska

MooSQL habrahabr.ru/blogs/php/89298/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question