Articles database
 
 
Web AnyArticles.com
Browse by Category:
  Internet and Businesses Online >
  Subcategories
Affiliate Revenue Affiliate Revenue (725)
Auctions Auctions (490)
Audio Streaming Audio Streaming (59)
Blogging RSS Blogging RSS (535)
Domain Names Domain Names (189)
E Books E Books (244)
Ecommerce Ecommerce (395)
Email Marketing Email Marketing (496)
Forums Forums (81)
Internet Marketing Internet Marketing (1737)
Podcasting Podcasting (59)
PPC Advertising PPC Advertising (461)
Security Security (418)
SEO SEO (1482)
Site Promotion Site Promotion (461)
Spam Blocker Spam Blocker (179)
Traffic Building Traffic Building (621)
Video Streaming Video Streaming (41)
Web Design Web Design (1015)
Web Development Web Development (599)
Web Hosting Web Hosting (413)


  Categories :
 
  Arts and Entertainment
  Automotive
  Business
  Communications
  Computers and Technology
  Finance
  Food and Drink
  Health and Fitness
  Home and Family
  Home Based Business
  Internet and Businesses Online
  Kids and Teens
  Legal
  News and Society
  Recreation and Sports
  Reference and Education
  Self Improvement
  Shopping and Product Reviews
  Travel and Leisure
  Womens Interests
  Writing and Speaking
  Random Category
  Supplements
  Books
  Funny stuff
Web Development article : Internet Basics: A Database-Driven Website is Like a Sandwich Machine
 

Internet and Businesses Online > Web Development > Internet Basics: A Database-Driven Website is Like a Sandwich Machine

0 Reviews [ add review ], Article rating : 0.00, 0 votes. Author : Grant Pasay

Ever come across one of those sandwich machines when you’re hungry? You know, it’s like a soda machine except it sells sandwiches.

There’s all these different kinds of sandwiches just sitting in the machine waiting to be picked – rows and rows of sandwiches, each in its own little area.

While you’re deciding whether to get corned beef or tuna, someone else comes along and selects egg salad. The egg salad sandwich pops out the slot at the bottom of the machine. Finally, you pick tuna. The tuna sandwich pops out the slot at the bottom. Same slot. Different sandwich.

That’s what a database-driven website is like.

It has webpages that have slots in them. The slots are empty. But when you come to the site and choose this or that option, the slots get filled with whatever you picked, just like the tuna sandwich. Same webpage. Same slots. Different content.

And just like the individual sandwiches in the sandwich machine, the content is stored in rows with each piece of information in its own little area in what’s called a database. A database is just a big sandwich holder, except it can hold other things too, like username/password combinations, license numbers, names, ages, dates, photos, and so on.

And with a database-driven website, a single webpage can have its empty slots filled with this bit of info, or that bit of info, or the next bit of info. Each time the page loads, it looks different – it’s the same page with the same slots, just filled up with different stuff from the database each time.

The alternative is to have a specific webpage for each piece of information, but that can be very inefficient. That’s like having an egg salad sandwich machine, and a corned beef sandwich machine, and a tuna sandwich machine, and so on. Then when you wanted to get a sandwich, you’d have to go to the right machine, instead of one machine offering you all you want and more. Same with a database-driven website. One page can deliver multiple offerings. Yummy!

And that’s why a database-driven website is like a sandwich machine.

Copyright (c) Grant Pasay 2005. All rights reserved. You may forward this article in its entirety to anyone you wish.

Grant Pasay is a writer, musician, moviemaker, and author of the new eBook, “The Internet Is Like A Refrigerator: And Other Weird Comparisons That Make it Easy to Understand Everything From AOL to Zip Files.”

Check out Grant's free/brandable ebook at: http://grantpasay.com/refrigerator

Check out Grant at: http://grantpasay.com


0 Reviews [ add review ], Article rating : 0.00, 0 votes. Author : Grant Pasay
Rate this story : and read/post review(s)


Article reviews



Post your review
[ Note : no HTML/URLs - will removed automatically ]
Your name
Your comments


More articles from Internet and Businesses Online > Web Development

Add article | Manage Articles | Top Rated articles | Most Reviewed articles | Contact us | Links