vcherubini
Programmer
Hey guys:
My friend and I were kinda having this argument about HTML and storing it in a database for a site. I think that the data should be stored in there seeing as it is static, and does not need to change. I also think that the HTML for my site should be stored in there because it makes having themes for the site easier. Would you agree? If you have 5 different themes and you store the HTML for them in a database, then when a user logs in, the script can call a get_template() type of function to pull the theme that the user specifies. Is this the best way to do something or am I missing something about database programming. (I'm probably missing a lot since I have not been doing it that long. ).
Is there a better way to do this theming thing?
Any help to put an end to this argument is appreciated.
Thanks,
-Vic vic cherubini
vikter@epicsoftware.com
====
Knows: Perl, HTML, JavScript, C/C++, PHP, Flash, Director
====
My friend and I were kinda having this argument about HTML and storing it in a database for a site. I think that the data should be stored in there seeing as it is static, and does not need to change. I also think that the HTML for my site should be stored in there because it makes having themes for the site easier. Would you agree? If you have 5 different themes and you store the HTML for them in a database, then when a user logs in, the script can call a get_template() type of function to pull the theme that the user specifies. Is this the best way to do something or am I missing something about database programming. (I'm probably missing a lot since I have not been doing it that long. ).
Is there a better way to do this theming thing?
Any help to put an end to this argument is appreciated.
Thanks,
-Vic vic cherubini
vikter@epicsoftware.com
====
Knows: Perl, HTML, JavScript, C/C++, PHP, Flash, Director
====