Grant delivered the "Writing and Editing for the Web" course as part of Simon Fraser University's Writing and Publishing Program.
May 2006
Grant Pasay - Website Copywriter, Advertising Copywriter, SEO Copywriter
 
Call Grant in Vancouver
778-327-7943 or email copy@grantpasay.com for your next website copywriter or advertising copywriter.
 
 
Lately...Grant co-authored 101 Great Ways To Improve Your Life, Vol. 3 with Ken Blanchard, Les Brown, Mark Victor Hansen, and other leading authors. Learn more...
Grant co-authored with Ken Blanshard, Les Brown, Mark Victor Hansen, and other leading authors
 
Home > Free Articles > Internet Basics: A Database-Driven Website is Like a Sandwich Machine

Internet Basics: A Database-Driven Website is Like a Sandwich Machine

By 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 © Grant Pasay 2005. All rights reserved. You may forward this article in its entirety (including author bio/links) to anyone you wish.

Grant Pasay is a professional website copywriter, advertising copywriter, SEO copywriter, and author of the FREE eBook, "The Internet Is Like A Refrigerator."

For copy that captures your business message without any of the hassle, go to http://grantpasay.com/

Check out Grant's FREE eBook at http://grantpasay.com/refrigerator/

top of page | articles list

---------------------------------------------

Call Grant today in Vancouver at 778-327-7943 or email copy@grantpasay.com for your website copywriter or advertising copywriter needs.

Copyright © 2005 - 2008 Jampact Business Solutions Incorporated, 1505-1146 Harwood St., Vancouver, BC, Canada V6E 3V1
Grant Pasay: Website Copywriter, Advertising Copywriter, SEO Copywriter serving Vancouver and everywhere.