All posts tagged ‘Programming’

File Under: Glossary

Loop

A loop is like a programming thought. Say you’re a police officer using a radar gun to catch speeding motorists. If the speed limit is 55 miles per hour, you might say to yourself: “If a car makes my radar gun display a higher value than 55, I’ll pull them over, but until then I will continue to take readings. And perhaps snack on this cruller.” In programming, the statement of this loop would be the action (firing up your motorcycle and chasing the speeder), and the expression would be the evaluation of whether or not the passing car made your radar gun read higher than 55. This is an example of a “while” loop:

  while (carSpeed < 55) {

  carSpeed = readRadar();

  // note:readRadar() should return the latest carSpeed

}



pullEmOver();  // this will only execute once carSpeed is >= 55

File Under: Glossary

Object dHTML

In object-oriented programming, an object is a self-contained entity that consists of both data and manipulation procedures.

Similarly, HTML 4.0 includes the <OBJECT> element to extend HTML in order to make it more dynamic. <OBJECT> allows an author to download external data or programs into the current page. This element can be used to gather other pieces of information, including Java applets, ActiveX controls, and possibly dHTML. The long-term goal of the World Wide Web Consortium (W3C) is for the <OBJECT> element to become the only way to embed data, replacing the <APPLET> and <IMG> elements.

File Under: Glossary

Object JavaScript

An object is a self-contained hunk of JavaScript that includes properties, other objects, and associated functions. The associated functions of an object (typically functions that describe what the object is supposed to do) are known as the object’s methods. JavaScript terms such as method and object are derived from the world of object-oriented programming.

File Under: Glossary

Routine

Routines are instructions written in programming code interpreted to perform a particular task in the course of the program’s operation.

Several routines make up modules. A routine can also be referred to as a procedure, function or subroutine.

File Under: Glossary

Hexadecimal

The hexadecimal (base 16) number system used for Web-page design consists of 16 unique symbols:0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and F.

For example, the decimal number 15 is equal to the hexadecimal number F. In HTML, an RGB color can be designated by
RRGGBB
with the first two numerals representing the amount of red, the second two the amount of green, and the last two the amount of blue. If you wanted your background to be red, you could write the code for a body background color as
<body bgcolor="#FF0000">
Black is the absence of all color and white is the presence of all color, so in hexadecimal, black is at the bottom of the system (no red, green, or blue:
#000000
and white is at the top (the maximum amount of red, green, and blue:
#FFFFFF