H
H
hbrmdc2015-06-09 08:35:44
Database
hbrmdc, 2015-06-09 08:35:44

Is it possible to make a site with a catalog without a database?

Is it possible to make a site with a catalog and filters for it (not necessarily with a basket), without being tied to any database?
Let there be up to 1000 positions in the catalog, each with a description of a dozen characteristics + text ~ 500 characters.
What happens if I just load them into a json file?
User authorization and other ordinary interactions with the database are not required.
Why: curiosity in the first place, I expect to get lightning-fast website response speed and maximum ease and speed of development.
I'm making a site on ReqctJS + Flux, if it's important

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Ukolov, 2015-06-09
@hbrmdc

You will not get lightning-fast response speed, or maximum simplicity and speed of development, but you will get a bunch of bicycles. But it can be done. In fact, you will have a database (json file), you will need to write an interface for it with the necessary functionality (what has already been done in standard databases).
On the other hand, it can be a good exercise in application architecture - to abstract all the work with the database so that you can easily change the file database to a relational one or any other. In most conventional applications, this is not required (the architecture is beautiful, but from a practical point of view, it makes little sense - no one changes the database), but it is within the framework of self-learning - completely.

E
Evgeny Petrov, 2015-06-09
@Petroveg

You can look towards CouchDB .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question