We are an award-winning tech entrepreneurship website where trusted experts can provide value globally.

Since 1998, DevX has helped people start businesses, build websites, and provide enterprise technology to people globally. Interviewing the likes of Microsoft’s co-founder, Steve Ballmer, the publication brings comprehensive, reliable, and accessible insights to the Internet.

devxlogo

Trusted for 26 years

Over 30K Articles

1M+ Readers

Expert-reviewed

10K+ Tech Terms

As seen in:

microsoft logo
business_insider_logo
wired_logo
berkley
arstechnica_logo
hackernoon

The Latest

DevX

Show a Footer for All ASP .NET Pages in a Site

This tip is useful for displaying a uniform footer in all your site’s pages, including any pages served from the site’s subdirectories. In this case, assume you want to display

DevX

Silverlight-Enabled Live Search

any web services offer clients a variety of ways to communicate with them, including SOAP and REST, and can often return either XML or JSON. Silverlight can communicate with any

DevX

Using LINQ to Manage File Resources and Context Menus

anguage Integrated Query, or LINQ, is a new Microsoft technology introduced with the .NET 3.5 framework. This Microsoft quote describes its purpose succinctly: “Traditionally, queries against data are expressed as

DevX

Developing a DSL Abstract Syntax with Eclipse

omain-specific languages (DSLs) and model-driven development (MDD) offer developers powerful new ways to improve productivity, enhance quality, and insulate systems from rapid technological change. The Eclipse Modeling Project allows developers

DevX

Writing a Parameterized SQL Query in EJB 3.0

protected EntityManager manager;…String ejbqlDelete = “delete from ClientTicket p where ” + “p.closed = :paramClosed and ” + “p.department = :paramDepartment and ” + “p.ticketUserID = :paramTicketUserID and ” +

DevX

Avoid Object Instantiation Within Loops

Avoid defining new objects within loop structures. Doing so hampers performance significantly, due to object creation overhead. Instead, define objects outside the loop and then use them inside the loop.

DevX

Programming Twittering with Visual Basic

ocial networking has reached critical mass. One unique social networking platform, Twitter, launched in March of 2006 and took the world by storm with its social networking and microblogging platform.

DevX

Putting a YUI Face on a Java Web Application

uilding on my previous article Yahoo’s Rich web UIs for Java Developers, which discussed how to use various Yahoo User Interface (YUI) web components for setup and design, this article

DevX

Develop Provider-Based Features for Your Applications

he ASP.NET Provider Model drives many features within the ASP.NET architecture, yet most developers associate it only with security or membership-related functionality. This article takes you deep into the provider

DevX

Measuring A Program’s Speed

The simplest way to measure the performance of a block of code (or an entire program) is to obtain the elapsed time. This tip shows you how. ‘At the top

DevX

Optimizing Loops in JavaScript

Not all JavaScript loops are identical. Try the code below by pasting the HTML in this tip into a file and then opening the file in your browser. You should

DevX

An Introduction to Variadic Templates in C++0x

f you’ve been programming in C++ for any time at all then you’re familiar with variadic functions, functions (such as printf) that can take a variable number of arguments. C99

DevX

Unzipping an Archive from a Servlet

package com.extensions;import java.io.IOException;import java.io.File;import java.io.PrintWriter;import java.io.FileOutputStream;import java.io.FileInputStream;import java.io.OutputStream;import javax.servlet.ServletException;import javax.servlet.ServletContext;import javax.servlet.http.HttpServletRequest;import javax.servlet.http.HttpServletResponse;import javax.servlet.http.HttpServlet;import javax.servlet.http.HttpSession;import org.apache.commons.logging.Log;import org.apache.commons.logging.LogFactory;import java.util.zip.ZipEntry;import java.util.zip.ZipFile;import java.util.zip.ZipInputStream;import java.util.StringTokenizer;public class ExtractZipsServlet extends HttpServlet { protected void processRequest(HttpServletRequest request, HttpServletResponse

DevX

Automating Visual Studio Solution Builds

You can make Visual Studio build a solution automatically at certain time of the day using a batch file. In the example below, devxtry.sln is the name of the solution

DevX

If You Can’t Beat ‘Em, Join ‘Em: Think Robotics

As job losses in the U.S. mount, under pressure not only from the current economic downturn/depression, but also from foreign competition, de-unionization, outsourcing, offshoring, and imported labor (both legal and

DevX

All Java ME Goodies Consolidated into One SDK

evice fragmentation is an issue that plagues the mobile application developer. With the thousands of devices on the market, it is difficult to know which devices can host a new

DevX

Using the EXISTS Command in SQL

Suppose you wanted to retrieve the department number (deptno) and name (dname) fields for employees in an emp table. One way to get the values is with this SQL query:

DevX

New IDE Feature in VS 2008: Tracepoints

When editing in Visual Studio, you would normally write a MessageBox.Show or a Console.Writeline to log the value of a variable. But you can eliminate that work now. Instead, try