Computers and Technology
Using Shared Libraries - ...namic loading.
Using Noninstalled Libraries
When you run a program, the dynamic loader usually looks in a cache (/etc/ld.so.cache,...
What are Java Listeners - ...rently occupying that area of the screen.
The most commonly used event listeners are shown below and are found in the package java.awt.eve...
Break ins - ...d any subdirectories and files therein, and so on. In most break-ins, however, the intruder's goal is not simply to reach another user's account. ...
What's a Linux Process - ...m's credentials (which user and group owned the process, for example)
The program's current directory
Which ...
Common PHP Errors - ...>
will return an error similar to the following:
Parse error: parse error, unexpected T_ECHO in c:\webserver\test2.php on lin...
POSIX Interfaces - ...16-bit machine does not have the same native word size as a 64-bit machine, and a low-level programming language should not pretend it does—...
PHP mail - ... e-mails using the mail function. The format for the mail function is as follows:
mail($to, $subject, $message, $headers);
...
Common Linux Security Holes - ...IV>
1: /* bufferoverflow.c */
2: 3: #include <limits.h>
4: #include <stdio.h>
5: #include <string.h>
6: ...
Java EE Platform - ...pment. The runtime environment is widely used in Web browsers to run small applications known as applets. The development kit is used to compile and d...
Java EE Architecture - ...rnal integration. The following is a list of major technologies provided by Java EE.
Enterprise Applications and Transactions
Compone...
About Ipods and Iphones - ...an be recalled and listened while commuting places.
Ipods actually stormed the music industry and created followers of young breed of music ...
Relational SQL Databases - ...te also that every row of data in the primary key must be unique to one another. Here is the statement required to create our database (called gam...
SQL Data Import Methods - ...we use \N to specify a field that contains NULL and an extra tab is required after each row of data to signify the end of that row. We have saved ...
Install MySQL on Windows - ...eed to select the option MySQL 3.23 Production release (recommended). This will take you to a new page where you can select the package to ...
Emax vs. vi Unix text editors - ...environment of its own. vi is small and is designed to be one piece of the Unix environment. Many clones and alternative versions of each editor h...
Running a Linux Program as a Daemon - ...the program and a meaningful exit code to be returned. This type of work includes parsing configuration files and opening sockets.
...
PHP Date and Time - ...eplaced with the date or time section that they represent. For example:
<?php echo date("d/m/Y"); ?> outputs 11/02/2003
&...
PHP Random Password - ...rd($length) {
$possibleCharacters = "abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ";
$characterLength = strlen($possibleCharac...
Importing Java Packages - ...end of the package name. This means that it will include all of the classes within the package (i.e., the asterisk is used as a wildcard).
Ano...
Joining SQL Tables - ...them (although when the statement is executed the actual data is compared).
For an example of how we can use joining, let's look back to the...
Linux Console Capabilities - ...ape character signals the beginning of an escape sequence and changes the processing mode to escape mode.
For example, consider the fo...
What is a Java Package - ...e of the name of a variable.
The following table shows some of the main packages that are include...
Variable Scope - ...this code block
inside = outside;
}
outside = 5;
// inside cannot be accessed here
The variable inside cannot be access...
AJAX and JavaScript
Page# 1 (last added articles shown first)
AJAX Fundementals: The historical past the definition and how it can be utilized (09/10/2010)
(...)
Cascading fashion sheets are also very essential to AJAX as they're a extremely mutable method to show the information received through the HTML and XML codes. JavaScript is really a scripting language which is used to allow access to objects within other codes, and is most generally utilized to add a small bit of spice to a website. Finally, AJAX uses XMLHTTPRequest, which brings it all collectively by enforcing the asynchronous exchange of data between JavaScript, XML and HTTP (also recognized as hypertext transfer protocol), and therefore establishing a seamless connection between the server and the client sides of a web page. (...)
5 Benefits Obtained through Ruby on Rails Web Development (06/19/2010)
(...) These pages pop up as per the visitor's needs and service them accordingly.
Ruby on rails web development facilitates the user with the feature of scalability and robustness. However ruby on rails development in pretty much slower compared to other technologies. (...)
JavaScript Lives in a Web Page (12/27/2008)
(...)
The most dynamic elements in HTML, beside the link, are event-related attributes. For example, onClick is one of the event-related attributes of HTML. The HTML attribute launches a script when the user clicks on a portion of the page sensitive to a mouse-click action set up by the HTML. (...)
JavaScript Literals (12/27/2008)
(...) With numbers other than decimal values or very large numbers, special requirements exist.
Scientific Notations
If you need scientific notations or are returned a value written in a scientific notation, you will be glad to know that they are written in standard format. For example, you might see the value 9. (...)
JavaScript Variables (12/27/2008)
(...) The following are typical examples:
var item;
var price= 33.44;
var wholeThing= 86.45 + (20 *7);
var name="Willie B. (...)
JavaScript Operators (12/27/2008)
(...) All negative numbers are assigned using a unary operator. For example, the following little script uses a unary operator to create a variable with a negative value:
<html>
<head>
<script language="JavaScript">
var posNum=85;
var negNum= -posNum;
document.write(negNum);
</script>
</head>
<body bgcolor="honeydew">
</body>
</html>
The return of the script is -85 because the minus (-) unary operator defined the variable negNum as the negation of the variable posNum. (...)
JavaScript Arrays (12/27/2008)
(...) However, an array element can be called forth in any order and used just like a variable.
The data and data types that can be assigned to an array element are identical to the data and data types that you can assign to variables. You will also find that you can assign objects the same kinds of data. (...)
Loops in JavaScript (12/27/2008)
(...) A typical use for a loop is to examine characters in a string. The length of the string is used as the termination condition, and each character is based on its linear position in the string.
<html>
<head>
<title>For Loop</title>
<script language="JavaScript">
var found = "Email address is missing @ symbol. (...)
Types of operators in JavaScript (12/25/2008)
(...) The variable bolts is divided by the value of the variable lot, and the remainder (modulo) is assigned to the variable bolts. It would be the same as writing this:
var bolts = bolts % lot;
However, instead of taking two operations, one does the trick of assignment and operation.
Comparison Operators
Probably the area of most mistakes in JavaScript with operators is confusing (or just forgetting) the difference between assignment operators and comparison operators. (...)
Conditional Structures (11/30/2008)
(...) The following script contains a single condition that resolves as false so that the conditional statement is not executed.
<html>
<head>
<title>False Condition</title>
<script language="JavaScript">
var alpha="High";
var beta="Low";
var message="The condition is not met";
if(alpha > beta) {
message="The condition is met";
}
document.write(message);
</script>
</head>
<body bgcolor="mediumspringgreen">
</body>
</html>
The expression found to be false is the condition that the variable alpha is greater than the variable beta. (...)
The ''with'' Statement (11/04/2008)
(...) formName,elementName.value
A typical form could include several different elements, such a first name, last name, address, city, state, ZIP code, Social Security number, and all other kinds of property details. Using the with statement, you can specify the object name once and then follow it with all of the properties and their values in this format:
with (object) {
statements with properties only
}
The statements are typically property values. (...)
Nested Loops, label and continue Statements (10/22/2008)
(...) When one loop resides inside another loop, it's called a nested loop.
In JavaScript, labels are not statements, but rather identifiers. If you have ever programmed in Basic, in which line numbers or labels are used to reference a line of code, you know what labels are. (...)
Enter page# 1 (last added articles shown first)