All posts tagged ‘Programming’

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
File Under: Glossary

Operator


An expression tells JavaScript what to do with the data it gets, and within each expression are operators and operands. Operands are the data or data types the expression gets, and operators are the shorthand characters that tell the expression what to do with the operand. JavaScript has arithmetic (+,-,*,/), assignment (=), bitwise (&, |), comparison (>, <,), logical (&, ||, !), special (., []), and string (+) operators. Operators are a feature of many programming and scripting languages. At first there were a relatively limited menu of operators to use in JavaScript, but version 1.2 allowed for the support of regular expressions and a group of operators large enough to compare to other scripting languages.