+ 1

What is the standard structure of the blog on the website? [closed]

I want to know how to implement a blog on a site. My main question is where should the long text of articles be stored? Should it be stored in a database or in a file? Is there a problem with writing HTML code in the main text of the article or is it standard?

29th Aug 2021, 7:13 PM
Ali Yazdanifar
Ali Yazdanifar - avatar
1 ответ
+ 3
It's fine to store them in a database, I've seen people store html codes with content in it If you want to store them in a file you can consider using SQLite, this way you don't need to connect your database to a domain name server, you'll need to do some research on how to retrieve/update/insert data though if you choose to store them in a database Hope this helps 👍
29th Aug 2021, 7:18 PM
Tim
Tim - avatar