Tip Bank

DevX

Use External JavaScript Files

If you have the same JavaScript program appearing on several different Web pages, you might want to consider using an external file. That way all the pages can refer to

DevX

Creating Files Using FileOutputStream

You accomplish basic file I/O in Java using data streams. The most basic file I/O operations in Java use the functionality offered by these classes: FileInputStreamFileOutputStream If you’re new to

DevX

The Underlying Representation of NULL

C and C++ define NULL differently: #define NULL 0; // A typical definition of NULL in C++ #define NULL ((void*)0) // C defines NULL this way Why is it defined

DevX

Creating an HTML Directory in ASP

Although most Web servers give you the option of allowing users to view the list of files in a Web site directory, you may not want to show some types

DevX

Nested Namespaces Reduce Name Clashes

Nested namespaces are useful in large-scale projects, whereby every development team gets a dedicated namespace within the project’s namespace. Nested namespaces reduce the likelihood of name clashes among different teams

DevX

Quick and Dirty Tickmarks

The JSlider component can be customized so that its labels, track, and tickmarks (or any combination of the three) are hidden. Unfortunately, there’s no way to turn off the slider