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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 04-21-2013, 08:55 PM   #1
lakerslive
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?
lakerslive is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-21-2013, 08:59 PM   #2
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,075
Quote:
Originally Posted by lakerslive View Post
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.

.
__________________
All cookies cleared!

Last edited by sarettah; 04-21-2013 at 09:14 PM..
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-21-2013, 09:09 PM   #3
lakerslive
Confirmed User
 
Industry Role:
Join Date: Aug 2012
Posts: 929
building a dating site
lakerslive is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-21-2013, 09:13 PM   #4
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,075
Quote:
Originally Posted by lakerslive View Post
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.

.
__________________
All cookies cleared!
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-21-2013, 10:50 PM   #5
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,075
Quote:
Originally Posted by lakerslive View Post
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.

.
__________________
All cookies cleared!

Last edited by sarettah; 04-21-2013 at 10:52 PM..
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-21-2013, 11:23 PM   #6
Klen
 
Klen's Avatar
 
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.
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2013, 01:44 AM   #7
CurrentlySober
Too lazy to wipe my ass
 
CurrentlySober's Avatar
 
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....
__________________


👁️ 👍️ 💩
CurrentlySober is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.