Go Back   GameTavern > House Specials > Video Gaming
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next

Re: Programming Thread
Old 04-02-2005, 02:22 AM   #19
gekko
Knight
 
gekko's Avatar
 
gekko is offline
Now Playing:
Posts: 3,890
Default Re: Programming Thread

Quote:
Originally Posted by Vampyr
Can someone give me a definition of what exactly a "database" is?

Like is it located on my server space or on my computer, and what is it used for? I just don't understand *what* it is exactly.
A collection of data arranged for ease and speed of search and retrieval.

A database is a metheod of storing information, that can be accessed externally. Generally, everything is stored in tables, but if you get more advanced you'll find you can store images and all that crap in them to, for better or worse.

Anyway, take this forum as an example. The database will store the information in multiple columns, ie.

Thread ID = 1234
Post ID = 164917
User ID = 15
Post title = Programming Thread
Post icon = 5
post contents = Blah blah blah

Anyway, the information can all be searched and easily recalled.

So when this is posted, it puts the reply under thread 1234, it knows user 15 posted it, so it'll grab his information for the side bar, then it puts the title that you entered into the proper spot, as well as any icon you chose, and the contents of the post.

If you wanted to do this another way, you would have write a script that physically created and deleted text files to store the same information, which is a lot slower and (IMO) more complicated.

Yada, yada, yada...
  Reply With Quote
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump



All times are GMT -4. The time now is 03:56 AM.


vBulletin skin developed by: eXtremepixels
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
GameTavern