Answer the question
In order to leave comments, you need to log in
Where is the best place to store content?
Let's say the site has a bunch of articles (separate html), and it turns out article = 100 html files, how best to organize the storage of these articles, since I heard that storing entire pages in the database is stupid, plus updating content is much more difficult to do than through CMS.
Answer the question
In order to leave comments, you need to log in
if you have a completely static site with html pages, then store them in them.
If (judging by the tags in the question) you have a dynamic site in php, then store the articles themselves in the database, and then display them.
make a request to the database that receives the articles, then loop them out with not 100 html files, but 1 php
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question