I want to make a static web without mariadb and php, as it states here and here it's a bad idea to treat an XML file as a database.
But I think what I am going to do is not really a database, it's just to read and overwrite a pageview counter, the file only for one line code that only contain a number such as <pageview>2</pageview>
.
Edit : This is intended so my visitors could also see the statistic of the page.
- From the security and performance perspective is that save to do it with an XML file (around 200 site pages and 200 XML files for each page, the pageview for the site could be around 100K/day)?
- Is there any alternative for this without making my site dynamic?