Best way to store non-essential data in web development?

Viewed 49

I'm making a form to register books, and one of the fields is book's genre. The user will be able to choose the genre with a select, but I have no idea what to use to 'fill' this select: a XML file, JSON. I pretend to avoid a column or table in database.

1 Answers

It is better to use JSON. In future it will be useful, if you want it to be dynamic. You can create REST API or store it in database as well

Related