The Latest

DevX - Software Development Resource

Posting Forms Programmatically

Posting forms in Java is easy. All you need is just a HTML code snippet. Here’s an example: Your Email : * Message : *

DevX - Software Development Resource

A Multiple Getter/Setter Implementation

Suppose you’ve got a user interface class with many user options that you need to set/get at the same time. Here’s one way to implement this: class CUI{public: CUI() :

DevX - Software Development Resource

How to Write, Use, and Test a Singleton Class

class Mysingleton{ private Mysingleton objsingleton = null; private Mysingleton() { } //single way to get its instance. public Mysingleton getInstance() { if(objsingleton == null) { objsingleton = new Mysingleton(); }

DevX - Software Development Resource

Get Separate Records for the Comma Delimited Values of One Field (TSQL)

Use this code: if object_id(‘tblTemp’)0 drop table tblTempCreate Table tblTemp (Field1 varchar(5),Field2 Varchar(100))insert into tblTempselect ‘C1’ Field1, ‘Value1,Value2’ Field2Unionselect ‘C2’ Field1, ‘Value3,Value4’ Field2 if object_id(‘tblTempOutPut’)0 drop table tblTempOutPutselect * into

DevX - Software Development Resource

Getting Started with Modeling Maturity Levels

odeling, and especially UML, is becoming more and more important in software development. After you’ve participated in a number of software projects, you will realize that developers use models in

DevX - Software Development Resource

Remove Margins from the Browser

Suppose you want to put the contents of a page right up against the edges of the browser’s viewport. While you can force this using absolute positioning, there is a

DevX - Software Development Resource

Use Oracle Obfuscation to Encrypt Data Securely

Sometimes you need to encrypt certain data stored in your database?data like passwords and other condfidential information. Oracle Obfuscation is a technique in which data is encrypted or decrypted using

DevX - Software Development Resource

X12 EDI: It’s Not Dead Yet

n an article published last week on DevX entitled “Why EDI Must Die“, the author, Jeremy Jones, gives several reasons why he believes XML is superior to the X12 format

DevX - Software Development Resource

A Taste of XQuery for the DBA

n all the excitement about SQL Server 2005 (formerly codenamed Yukon), most people tend to focus on the .NET integration. But the native support for XML might turn out to

DevX - Software Development Resource

Data Access with Microsoft Application Blocks

icrosoft recently launched the Microsoft Patterns and Practices section of their Web site, offering several complete architectural and design application blocks, complete with source code, that you can use in

DevX - Software Development Resource

Write Eclipse JUnit Tests in Jython

he Python language has a few characteristics that make it great for unit testing: It integrates very well with the platform it runs on, so you can write tests that

DevX - Software Development Resource

Why EDI Must Die

lectronic Data Interchange (EDI), a data format used for inter-business messaging, has been partially responsible for reducing costs and increasing productivity in the manufacturing and services industries. Over the years,

DevX - Software Development Resource

Draw a Rectangle Around the Toolbar Button

The following code draws a rectangle around the toolbar button when a user moves their mouse over it. This looks better if the Appearance property of the toolbar is set

DevX - Software Development Resource

Using the ostream_iterator()

The ostream_iterator() is useful for reading the elements of a container to the standard output or to a file. However, because this iterator works in conjunction with STL algorithms, it

DevX - Software Development Resource

Unit Testing in .NET

ou could create a new Windows Forms application using a default form. Then you could add several controls, a lot of code to instantiate your objects and call methods, and

DevX - Software Development Resource

Creating Your First Flash Animation

ost Flash tutorials you’ve looked at are tool-centric, focusing on Flash’s individual features and how to use them (an approach that can quickly become tedious), whereas this innovative, engaging, and

DevX - Software Development Resource

Using the count_if() Algorithm

You can use the count_if() algorithm to count the number of elements in a container based on any condition. count_if() takes three arguments. The first and second argument areinput iterators

DevX - Software Development Resource

Keeping Secrets Secret: Steganography with .NET

teganography, literally “hidden writing,” is nowadays most often associated with embedding data in some form of electronic media. Data is hidden by adding or altering insignificant bits of information of

DevX - Software Development Resource

Drag Once DataBinding with Custom Controls

n this article, I’ll explain how the Data Sources Window in Visual Studio 2005 will enable you to extend the list of controls supported for Drag Once Databinding. I’ll show

DevX - Software Development Resource

Simplify Java Object Persistence with Hibernate

toring and retrieving information for most applications usually involves some form of interaction with a relational database. This has presented a fundamental problem for developers for quite some time since

DevX - Software Development Resource

Sybase’s DataWindow .NET: Way Beyond the .NET DataGrid

ybase’s DataWindow .NET provides a powerful tool for creating data driven applications with capabilities far beyond the native DataGrid. With it, you can develop flexible, high performance, visually appealing applications

DevX - Software Development Resource

Enforcing Compile-time Constraints

eneric containers and algorithms often impose certain restrictions on the objects that they manipulate. For example, the std::sort() algorithm requires that the elements on which it operates shall define the