I was wondering which of these two methos would be the fastest, most stable etc.
Each user has all their own settings stored in database where they are read from. After that template will be parsed.
Each user has their own static templates which are stored in one directory. All user's settings are saved to template so there is no need to read them from database.
Thanks for your help.
Would go with number 1.. Might be slower but easier to maintain/change.. Especially if you have say 20+ users.
Method 1.
if you use method 2 you will just end up writing a databaseinterface to the templates, which makes no sense.
(plus, imagine you have 50k users and you need to change the template...)
I agree with 1.
if not why do u use a template for?