Category: 

What is Dynamic Data?

Article Details
  • Written By: Vanessa Harvey
  • Edited By: A. Joseph
  • Last Modified Date: 23 September 2016
  • Copyright Protected:
    2003-2016
    Conjecture Corporation
  • Print this Article
Free Widgets for your Site/Blog
The atmosphere of Jupiter's moon Io collapses every time it is eclipsed by the planet.   more...

September 29 ,  2008 :  The Dow Jones Industrial Average experienced its largest one-day drop in history.  more...

"Data" in the field of computer science is a term that simply refers to information that is in an electronic form and that usually is stored in a database. "Dynamic" denotes change, and when the word is used to describe data — as in "dynamic data" — it refers to electronic information that changes as needed or desired. There are many reasons why data would need to be dynamic. For example, large electronic commerce web sites that offer many different products for sale almost always have to keep track of inventory. Product information is stored in a database and is retrieved and updated in real time.

If one visitor purchases the last of a product, a "sold out" notice might be programmed to display to subsequent visitors. The electronic information displayed would reflect the changes in the database that were made as a result of the purchasing activities of cyberspace customers. This is a prime example of dynamic data in the real world.

Most websites are database driven or simply data driven. This means that the content of such sites is created on the fly, based on ever-changing conditions. For example, typing in the web address of a site and landing on the home page is a condition for which a web developer might program the display of dynamic data to occur.

Ad

The developer might want the content of the home page to be displayed in a random order so that the page appears different each time it is called. He or she might also might want to do something like displaying the most recent content added to the database or even allowing visitors to customize, to some extent, their visitor experience. Personal preferences of each visitor would determine what content is displayed and how that content appears to them. This is another real-world example of the generation of dynamic data.

Web developers use programming languages for the coding of scripts to achieve dynamic data. If a website is data driven, the developer will have to work with a database. The developer can write queries to add, update, delete and combine information in the database to create dynamic data that will be displayed for all possible scenarios.

A database is not always what is behind data that is dynamic. The time changes from minute to minute, and the date changes each day. Simple scripts can be written to achieve the display of the current time and date on a website that consists of static or unchanging data.

Ad

You might also Like

Recommended

Discuss this Article

Post your comments

exception 'Exception' with message 'error writing captcha: Duplicate entry '2147483647' for key 'PRIMARY'' in /ssd/www/wisegeek/public_html/_core/classes/public/Captcha.php:44
Stack trace:
#0 /ssd/www/wisegeek/public_html/_core/controls/public/ControlDiscussionPostBox.php(324): Captcha->createCaptcha()
#1 /ssd/www/wisegeek/public_html/framework/classes/Control.php(104): ControlDiscussionPostBox->preRender(false)
#2 /ssd/www/wisegeek/public_html/framework/classes/Control.php(149): Control->render()
#3 /ssd/www/wisegeek/public_html/tpl/default-nocustom-lu/pages/public/article/article.htm(526): Control->__toString()
#4 /ssd/www/wisegeek/public_html/framework/classes/Control.php(300): require('/ssd/www/wisege...')
#5 /ssd/www/wisegeek/public_html/framework/classes/Control.php(309): Control->requireTpl('pages/public/ar...', Object(PageArticleCom), true)
#6 /ssd/www/wisegeek/public_html/framework/classes/Control.php(131): Control->renderTpl('pages/public/ar...', Object(PageArticleCom))
#7 /ssd/www/wisegeek/public_html/framework/classes/FormDataControl.php(87): Control->renderTemplate()
#8 /ssd/www/wisegeek/public_html/framework/classes/Control.php(109): FormDataControl->renderTemplate()
#9 /ssd/www/wisegeek/public_html/framework/classes/ScriptPage.php(50): Control->render(false)
#10 /ssd/www/wisegeek/public_html/framework/classes/Control.php(149): ScriptPage->render()
#11 /ssd/www/wisegeek/public_html/framework/classes/Page.php(97): Control->__toString()
#12 /ssd/www/wisegeek/public_html/_core/classes/public/PublicFrontController.php(443): Page->processRequest()
#13 /ssd/www/wisegeek/public_html/_core/classes/public/PublicFrontController.php(7): PublicFrontController->renderPage()
#14 /ssd/www/wisegeek/public_html/index.php(11): PublicFrontController::run()
#15 {main}