The Latest

DevX - Software Development Resource

Book Excerpt: Programming in Objective-C 2.0

bjective-C has become the standard programming language for application development on the Mac OS X and iPhone platforms. A powerful?yet simple?object-oriented programming language based on the C programming language, Objective-C

DevX - Software Development Resource

Use GetBetween to Parse a String Between Two Strings

This tips shows how to use GetBetween to parse and extract a string between two strings. GetBetween returns the extracted string, if found. Public Function GetBetween(ByRef sSearch As String, ByRef

DevX - Software Development Resource

Developing a NIO-Based Client

This tip shows you how to develop a New I/O-based client. As you probably know, NIO offers many advantages such as speed and the ability to maintain a large number

DevX - Software Development Resource

An Introduction to jQuery, Part 1

k, I admit it. For many, many years I hated JavaScript. I hated writing JavaScript code, and I hated the pain that goes along with dealing with different browsers using

DevX - Software Development Resource

Turn Twitter Into Your Personal Assistant

icroblogging service Twitter has become a disruptive everyday tool. It is increasingly replacing not only instant messaging clients, but also social bookmarking sites, interest tracking applications, support forums, email, and

DevX - Software Development Resource

Use the Factory Pattern to Facilitate Dynamic Typing

ood old object-oriented programming is still alive and kicking. In many C++ frameworks and applications where inheritance and virtual functions thrive you often need to create a derived object whose

DevX - Software Development Resource

Creating and Using Databases in Android

Database support is the lifeline of every application, big or small. Unless your application deals only with simple data, you need a database system to store your structured data. Android

DevX - Software Development Resource

Nested Functions in C++

Although C++ does not allow nested function declaration, you can simulate it using a structure with a static function: void outer(){ static int v1 = 5; int v2 = 5;

DevX - Software Development Resource

Stop Users from Right-Clicking on Your Web Site

To prevent your users from performing any of the other commands available by right-clicking on a web page in Internet Explorer, simply modify the opening &ltbody&gt tag of your HTML:

DevX - Software Development Resource

Extending Spring Integration Through Channel Adapters

n the past few years, some major Java-related developments have occurred in enterprise integration and messaging solutions. Several open source Java Message Service (JMS) solutions such as OpenMQ and ActiveMQ

DevX - Software Development Resource

Developing Orientation-Aware Android Applications

ost modern, self-respecting mobile operating systems in today’s market support different screen orientations based on the position of the device. Android is no exception. While this feature is often taken

DevX - Software Development Resource

Developing a NIO Server

As you probably know, NIO offers many advantages?like speed and a large number of concurrent connections: import java.io.*;import java.net.*;import java.nio.*;import java.util.*;import java.nio.channels.*;import java.nio.charset.*;public class ServerNIO{ public static void main(String[] args){

DevX - Software Development Resource

Simplify Classic ASP Debugging in VS 2005

Like its predessor, VS 2005 does not allow you to debug classic ASP pages by default. Instead, you have to manually attach the ASP worker process (w3wp.exe). Follow these simple

DevX - Software Development Resource

Integrating Bash with PHP

his article discusses how to install and configure three Bash distributions for Windows: the GNU BASH shell for Windows, the Win-Bash Windows port, and the Cygwin tool. It also demonstrates

DevX - Software Development Resource

Comparing Oracle Query Performance for Faster Applications

he performance of queries in applications is critical. You usually can gain manifold performance improvements by just improving query efficiency, and with IT budgets being squeezed, getting the maximum performance

DevX - Software Development Resource

Programming Team Foundation Server with the TFS SDK

hen working with Team Foundation Server (TFS), teams typically work on team projects, which are source-controlled collections of projects that let a manager track and assign individual tasks, called “work

DevX - Software Development Resource

Add an AutoIncrement Column to a DataTable

Adding an AutoIncrement column to a DataTable is quite simple: When you create a DataColumn, set its AutoIncrement property to true. The following code demonstrates: DataColumn posId = table.Columns.Add(“PositionId”, typeof(int));posId.AutoIncrement

DevX - Software Development Resource

Adding Custom Attributes to HTML Elements

A custom attribute is any user-defined attribute, just like other primitive HTML element attributes. You can add custom attributes to any HTML element. For example, suppose you wanted to add

DevX - Software Development Resource

Associate a ServerSocket with a ServerSocketChannel in an NIO App

This tip shows you how to create a ServerSocketChannel, to which you’ll then associate a standard ServerSocket: //create the ServerSocketChanneltry{ serverNIO=ServerSocketChannel.open(); serverNIO.configureBlocking(false); }catch(IOException e) {System.out.println(” Error: ” + e.getMessage());}//indicate the

DevX - Software Development Resource

Reliable Sessions Made Simple with WCF

he ACME Toothpick Company recently implemented two transactional Windows Communication Foundation (WCF) services to integrate their toothpick manufacturing and log inventory applications. A third application, the ACME Manufacturing Manager (AMM),