I'm coding a programs where will be a lot of templates and I started to think how should I code it.
Registered users (can be thousands) can choose outlook from templates which administrator has created or create their own template. And here comes the dilemma: should I code the programs to use templates from database or from files?
And if the file based is best choice how should I build it? Something like this:
templates
|- users_own_templates
| |- user1
| |- user2
| |- user3
|- systems_own_template1
|- systems_own_template2
I hope someone figures out what I'm trying to tell 🙂
Thanks for your help