I have a website where user can select themes, customize background,text and many more.
I want to save all the changes.
Which one would be a better read?? a database read or a file read.
any suggestions?
Thanks in advance !!!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
By far a database will give you the best possible control, security and flexibility for the content your users will be customizing, in this case being CSS. You are far better off putting together the programming back-end for a database layout from the get-go, for I can’t really see any positives in going with a flat-file based customization system. As for reading, once again the database will give you the best speed and reliability performance hands-down.