![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Aug 2012
Posts: 929
|
Would you store words in SQL database or on file?
which is better? seo + site performance?
For example the word "HELLO" is it more efficient to store that in an sql database and call it or just leave it in the .php file itself? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 | |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,075
|
Quote:
If you can hardcode the word into the program as a literal then that is quickest. If it is a short list of words then using an array in the php program could be a good way to go depending on what you want to do with them. So, if you can say what it is you are trying to do with the words, it would help. .
__________________
All cookies cleared! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Aug 2012
Posts: 929
|
building a dating site
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,075
|
That answer is probably 100% correct but is totally useless. ;p
How are you trying to use this list of words? If you can give a description/example of what you are trying to do with it, it would help. If you feel that gives too much of a secret away then hit me up in icq and we can yak about it there. .
__________________
All cookies cleared! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,075
|
Quote:
I had taken what you were asking as being a list of words that you are using in some dynamic fashion such as using Mr. when you encounter a male gender versus using Ms. when you encounter a female gender. I had a whole big post written up about the storing of the html page components but I read through it and it contains a lot of very newb type info in it so I didn't want to post it. .
__________________
All cookies cleared! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
|
For seo perfomance,it's completely irrevelant how do you store it as output is always same.For speed performance,it depend what kind of data is-if it's fixed,a constant then it's better to store into file,if it changes a lot,then into database.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Too lazy to wipe my ass
Industry Role:
Join Date: Aug 2002
Location: A Public Bathroom
Posts: 38,556
|
i store mine in moms closet, upstairs... (in the REAL house bit)
Considering hardly anyone is allowed up there (Not Even Me...) Its prob pretty safe.... |
![]() |
![]() ![]() ![]() ![]() ![]() |