GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Would you store words in SQL database or on file? (https://gfy.com/showthread.php?t=1107194)

lakerslive 04-21-2013 08:55 PM

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?

sarettah 04-21-2013 08:59 PM

Quote:

Originally Posted by lakerslive (Post 19590452)
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?

Depends on how many words you are storing and the logic required in using them.

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.

.

lakerslive 04-21-2013 09:09 PM

building a dating site

sarettah 04-21-2013 09:13 PM

Quote:

Originally Posted by lakerslive (Post 19590464)
building a dating site

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.

.

sarettah 04-21-2013 10:50 PM

Quote:

Originally Posted by lakerslive (Post 19590452)
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?

I might have misunderstood what you were asking. Are you asking about the best way to store your html info (header, footer, etc) ?

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.

.

Klen 04-21-2013 11:23 PM

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.

CurrentlySober 04-22-2013 01:44 AM

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....


All times are GMT -7. The time now is 10:02 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123